Fix post type description check

This commit is contained in:
Robin Cornett
2019-05-19 07:07:06 -04:00
parent bf4442c098
commit 6b0bebe40b
@@ -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 );