WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:00:08 PM (20 months ago)
Author:
johnbillion
Message:

Docs: Switch to typed array notation for the docs for asset dependency functions.

Props marekdedic

See #48303

File:
1 edited

Legend:

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

    r44350 r46595  
    113113 * @param string|bool      $src    Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
    114114 *                                 If source is set to false, stylesheet is an alias of other stylesheets it depends on.
    115  * @param array            $deps   Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
     115 * @param string[]         $deps   Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
    116116 * @param string|bool|null $ver    Optional. String specifying stylesheet version number, if it has one, which is added to the URL
    117117 *                                 as a query string for cache busting purposes. If version is set to false, a version
     
    158158 * @param string           $src    Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
    159159 *                                 Default empty.
    160  * @param array            $deps   Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
     160 * @param string[]         $deps   Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
    161161 * @param string|bool|null $ver    Optional. String specifying stylesheet version number, if it has one, which is added to the URL
    162162 *                                 as a query string for cache busting purposes. If version is set to false, a version
Note: See TracChangeset for help on using the changeset viewer.