mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
Docs: Various docblock corrections and improvements for changes introduced in 6.0.
See #54729 git-svn-id: https://develop.svn.wordpress.org/trunk@53302 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1538,10 +1538,11 @@ class WP_Theme_JSON {
|
||||
*
|
||||
* @since 6.0.0
|
||||
*
|
||||
* @param array $data The data to inspect.
|
||||
* @param bool|array $path Boolean or path to a boolean.
|
||||
* @param array $data The data to inspect.
|
||||
* @param bool|array $path Boolean or path to a boolean.
|
||||
* @param bool $default Default value if the referenced path is missing.
|
||||
* @return boolean
|
||||
* Default false.
|
||||
* @return bool Value of boolean metadata.
|
||||
*/
|
||||
protected static function get_metadata_boolean( $data, $path, $default = false ) {
|
||||
if ( is_bool( $path ) ) {
|
||||
|
||||
Reference in New Issue
Block a user