Make WordPress Core


Ignore:
Timestamp:
05/30/2023 05:43:27 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous corrections and improvements to docblocks.

See #57840

File:
1 edited

Legend:

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

    r55857 r55870  
    159159 * @since 5.5.0 The `$args` parameter was added.
    160160 *
    161  * @param string $slug The slug name for the generic template.
    162  * @param string $name The name of the specialized template.
    163  * @param array  $args Optional. Additional arguments passed to the template.
    164  *                     Default empty array.
     161 * @param string      $slug The slug name for the generic template.
     162 * @param string|null $name Optional. The name of the specialized template.
     163 * @param array       $args Optional. Additional arguments passed to the template.
     164 *                          Default empty array.
    165165 * @return void|false Void on success, false if the template does not exist.
    166166 */
     
    176176     *
    177177     * @param string      $slug The slug name for the generic template.
    178      * @param string|null $name The name of the specialized template.
     178     * @param string|null $name The name of the specialized template or null if
     179     *                          there is none.
    179180     * @param array       $args Additional arguments passed to the template.
    180181     */
     
    196197     *
    197198     * @param string   $slug      The slug name for the generic template.
    198      * @param string   $name      The name of the specialized template.
     199     * @param string   $name      The name of the specialized template or an empty
     200     *                            string if there is none.
    199201     * @param string[] $templates Array of template files to search for, in order.
    200202     * @param array    $args      Additional arguments passed to the template.
Note: See TracChangeset for help on using the changeset viewer.