Fix early return in admin columns setup

This commit is contained in:
Robin Cornett
2015-07-24 08:13:50 -04:00
parent e5e5a187d8
commit 9f008cd210
@@ -56,7 +56,7 @@ class Display_Featured_Image_Genesis_Admin {
$post_types['page'] = 'page';
foreach ( $post_types as $post_type ) {
if ( ! post_type_supports( $post_type, 'thumbnail' ) ) {
return;
continue;
}
add_filter( "manage_edit-{$post_type}_columns", array( $this, 'add_column' ) );
add_action( "manage_{$post_type}_posts_custom_column", array( $this, 'custom_post_columns' ), 10, 2 );