Fix settings page

Adds post, page to skip, adds margin to checkbox label
This commit is contained in:
Robin Cornett
2016-03-31 12:39:35 -04:00
parent 4223fcb55b
commit 916b5e2b02
2 changed files with 6 additions and 3 deletions
@@ -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;