mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-17 05:23:22 +09:00
Only check update if term_meta is supported
This commit is contained in:
@@ -41,6 +41,9 @@ class Display_Featured_Image_Genesis_Settings extends Display_Featured_Image_Gen
|
||||
add_action( 'load-appearance_page_displayfeaturedimagegenesis', array( $this, 'help' ) );
|
||||
|
||||
$this->displaysetting = $this->get_display_setting();
|
||||
if ( ! function_exists( 'get_term_meta' ) ) {
|
||||
return;
|
||||
}
|
||||
$updated = get_option( 'displayfeaturedimagegenesis_updatedterms', false );
|
||||
if ( $updated ) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user