mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 14:33:32 +09:00
Fix settings page
Adds post, page to skip, adds margin to checkbox label
This commit is contained in:
@@ -413,6 +413,11 @@ class Display_Featured_Image_Genesis_Settings extends Display_Featured_Image_Gen
|
||||
$new_value['post_type'][ $post_type ] = $this->validate_image( $new_value['post_type'][ $post_type ], $old_value, $label, $size_to_check );
|
||||
$new_value['fallback'][ $post_type ] = $this->one_zero( $new_value['fallback'][ $post_type ] );
|
||||
}
|
||||
$built_ins = array( 'post', 'page' );
|
||||
$post_types = array_merge( $built_ins, $this->post_types );
|
||||
foreach ( $post_types as $post_type ) {
|
||||
$new_value['skip'][ $post_type ] = $this->one_zero( $new_value['skip'][ $post_type ] );
|
||||
}
|
||||
|
||||
return $new_value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user