mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Docs: Correct the possible return types for WP_Dependencies::query().
See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@36713 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user