Docs: Various docblock corrections for code added in 5.8.

Props johnbillion.
See #53461.

git-svn-id: https://develop.svn.wordpress.org/trunk@51221 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2021-06-23 19:04:51 +00:00
parent 10111200c9
commit 3073bb0f19
13 changed files with 98 additions and 113 deletions

View File

@@ -265,7 +265,7 @@ class WP_Theme_JSON_Resolver {
*
* @since 5.8.0
*
* @param array $theme_support_data Theme support data in theme.json format.
* @param array $theme_support_data Theme support data in theme.json format. Default empty array.
* @return WP_Theme_JSON Entity that holds theme data.
*/
public static function get_theme_data( $theme_support_data = array() ) {
@@ -318,7 +318,9 @@ class WP_Theme_JSON_Resolver {
/**
* Whether the current theme has a theme.json file.
*
* @return boolean
* @since 5.8.0
*
* @return bool
*/
public static function theme_has_support() {
if ( ! isset( self::$theme_has_support ) ) {