WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/21/2019 04:26:47 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct type for the $deprecated argument of get_terms().

Props itowhid06.
Fixes #47915.

File:
1 edited

Legend:

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

    r45797 r45872  
    11271127 * @internal The `$deprecated` parameter is parsed for backward compatibility only.
    11281128 *
    1129  * @param string|array $args       Optional. Array or string of arguments. See WP_Term_Query::__construct()
     1129 * @param array|string $args       Optional. Array or string of arguments. See WP_Term_Query::__construct()
    11301130 *                                 for information on accepted arguments. Default empty.
    1131  * @param array        $deprecated Argument array, when using the legacy function parameter format. If present, this
     1131 * @param array|string $deprecated Argument array, when using the legacy function parameter format. If present, this
    11321132 *                                 parameter will be interpreted as `$args`, and the first function parameter will
    11331133 *                                 be parsed as a taxonomy or array of taxonomies.
Note: See TracChangeset for help on using the changeset viewer.