mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user