mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Docs: Correct the possible return types for WP_Dependencies::query()
.
See #32246 Built from https://develop.svn.wordpress.org/trunk@36713 git-svn-id: http://core.svn.wordpress.org/trunk@36680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d0044e1644
commit
cfc503e921
@ -342,7 +342,7 @@ class WP_Dependencies {
|
||||
*
|
||||
* @param string $handle Name of the item. Should be unique.
|
||||
* @param string $list Property name of list array.
|
||||
* @return bool Found, or object Item data.
|
||||
* @return bool|_WP_Dependency Found, or object Item data.
|
||||
*/
|
||||
public function query( $handle, $list = 'registered' ) {
|
||||
switch ( $list ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta1-36712';
|
||||
$wp_version = '4.5-beta1-36713';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user