mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Fix post type description check
This commit is contained in:
@@ -47,7 +47,7 @@ class DisplayFeaturedImageGenesisSettingsImages {
|
||||
}
|
||||
$this->render_buttons( $value, $name );
|
||||
|
||||
if ( empty( $id ) || in_array( $args['id'], array( 'default', 'search', 'fourohfour', 'post' ), true ) ) {
|
||||
if ( empty( $value ) || in_array( $args['id'], array( 'default', 'search', 'fourohfour', 'post' ), true ) ) {
|
||||
return;
|
||||
}
|
||||
$this->do_cpt_description( $args );
|
||||
|
||||
Reference in New Issue
Block a user