mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Fix static front page check
This commit is contained in:
@@ -436,7 +436,7 @@ class Display_Featured_Image_Genesis_Common {
|
|||||||
private static function has_static_front_page() {
|
private static function has_static_front_page() {
|
||||||
$frontpage = get_option( 'show_on_front' );
|
$frontpage = get_option( 'show_on_front' );
|
||||||
|
|
||||||
return (bool) 'page' === $frontpage;
|
return (bool) ( 'page' === $frontpage );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user