From 2da12cb5cb2043da8a4e7103ec4eeb5665051c99 Mon Sep 17 00:00:00 2001 From: Robert Anderson Date: Tue, 30 Nov 2021 10:49:14 +1100 Subject: [PATCH] Apply class-wp-theme-json-resolver.php patch --- src/wp-includes/class-wp-theme-json-resolver.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-theme-json-resolver.php b/src/wp-includes/class-wp-theme-json-resolver.php index 6a7e6a5bf924..cfa1c6cd5238 100644 --- a/src/wp-includes/class-wp-theme-json-resolver.php +++ b/src/wp-includes/class-wp-theme-json-resolver.php @@ -230,7 +230,6 @@ public static function get_theme_data( $deprecated = array() ) { * @param array $post_status_filter Filter Optional. custom post type by * post status. ['publish'] by default, * so it only fetches published posts. - * * @return array Custom Post Type for the user's origin config. */ public static function get_user_data_from_custom_post_type( $theme, $should_create_cpt = false, $post_status_filter = array( 'publish' ) ) { @@ -333,8 +332,8 @@ public static function get_user_data() { /** * There are three sources of data (origins) for a site: - * default, theme, and user. The user's has higher priority - * than the theme's, and the theme's higher than core's. + * default, theme, and custom. The custom's has higher priority + * than the theme's, and the theme's higher than default's. * * Unlike the getters {@link get_core_data}, * {@link get_theme_data}, and {@link get_user_data},