updated theme GeneratePress version 3.1.0

This commit is contained in:
2021-12-20 13:42:43 +00:00
committed by Gitium
parent d5dbb2bde7
commit bdeb131b25
94 changed files with 24875 additions and 20553 deletions

View File

@ -49,7 +49,7 @@ function generate_register_layout_meta_box() {
$blog_id = get_option( 'page_for_posts' );
// No need for the Layout metabox on the blog page.
if ( $blog_id && (int) $blog_id === (int) $post->ID ) {
if ( isset( $post->ID ) && $blog_id && (int) $blog_id === (int) $post->ID ) {
return;
}