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:
John Blackbourn 2016-02-25 21:26:26 +00:00
parent d0044e1644
commit cfc503e921
2 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ class WP_Dependencies {
* *
* @param string $handle Name of the item. Should be unique. * @param string $handle Name of the item. Should be unique.
* @param string $list Property name of list array. * @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' ) { public function query( $handle, $list = 'registered' ) {
switch ( $list ) { switch ( $list ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.