Ticket #58673: 58673.diff
File 58673.diff, 683 bytes (added by , 19 months ago) |
---|
-
src/wp-includes/class-wp-theme-json-resolver.php
418 418 * @return array Custom Post Type for the user's origin config. 419 419 */ 420 420 public static function get_user_data_from_wp_global_styles( $theme, $create_post = false, $post_status_filter = array( 'publish' ) ) { 421 // Block themes are unavailable during installation. 422 if ( wp_installing() ) { 423 return array(); 424 } 425 421 426 if ( ! $theme instanceof WP_Theme ) { 422 427 $theme = wp_get_theme(); 423 428 }