Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:53:43 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #49572.

File:
1 edited

Legend:

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

    r48586 r48591  
    8181 * @since 1.5.1
    8282 *
    83  * @param int|object $category Category ID or Category row object
    84  * @param string     $output   Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
    85  *                             which correspond to a WP_Term object, an associative array, or a numeric array,
     83 * @param int|object $category Category ID or category row object.
     84 * @param string     $output   Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which
     85 *                             correspond to a WP_Term object, an associative array, or a numeric array,
    8686 *                             respectively. Default OBJECT.
    8787 * @param string     $filter   Optional. How to sanitize category fields. Default 'raw'.
     
    117117 * @param string $category_path URL containing category slugs.
    118118 * @param bool   $full_match    Optional. Whether full path should be matched.
    119  * @param string $output        Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
    120  *                              which correspond to a WP_Term object, an associative array, or a numeric array,
     119 * @param string $output        Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which
     120 *                              correspond to a WP_Term object, an associative array, or a numeric array,
    121121 *                              respectively. Default OBJECT.
    122122 * @return WP_Term|array|WP_Error|null Type is based on $output value.
     
    330330 *
    331331 * @param int|WP_Term|object $tag    A tag ID or object.
    332  * @param string             $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N,
    333  *                                   which correspond to a WP_Term object, an associative array, or a numeric array,
     332 * @param string             $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which
     333 *                                   correspond to a WP_Term object, an associative array, or a numeric array,
    334334 *                                   respectively. Default OBJECT.
    335335 * @param string             $filter Optional. How to sanitize tag fields. Default 'raw'.
     
    372372 * @access private
    373373 *
    374  * @param array|object|WP_Term $category Category Row object or array
     374 * @param array|object|WP_Term $category Category row object or array.
    375375 */
    376376function _make_cat_compat( &$category ) {
Note: See TracChangeset for help on using the changeset viewer.