WordPress.org

Make WordPress Core

Changeset 36713


Ignore:
Timestamp:
02/25/2016 09:25:47 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Correct the possible return types for WP_Dependencies::query().

See #32246

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class.wp-dependencies.php

    r36604 r36713  
    343343     * @param string $handle Name of the item. Should be unique.
    344344     * @param string $list   Property name of list array.
    345      * @return bool Found, or object Item data.
     345     * @return bool|_WP_Dependency Found, or object Item data.
    346346     */
    347347    public function query( $handle, $list = 'registered' ) {
Note: See TracChangeset for help on using the changeset viewer.