Skip to content

Commit

Permalink
Apply class-wp-theme-json-resolver.php patch
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Nov 29, 2021
1 parent b3f4e8f commit 2da12cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/wp-includes/class-wp-theme-json-resolver.php
Expand Up @@ -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' ) ) {
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 2da12cb

Please sign in to comment.