Merge pull request #1841 from IanDelMar/post-thumbnails

Fix 'Trying to access array offset on value of type bool' in WP 5.0-5.2
This commit is contained in:
Brian Coords 2022-08-05 08:16:46 -07:00 committed by GitHub
commit 3769f3cf87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ if ( ! function_exists( 'understrap_setup' ) ) {
/*
* Adding Thumbnail basic support
*/
add_theme_support( 'post-thumbnails' );
add_theme_support( 'post-thumbnails', true );
/*
* Adding support for Widget edit icons in customizer