Make WordPress Core

Ticket #53792: 53792.diff

File 53792.diff, 1.2 KB (added by desrosj, 23 months ago)
  • src/wp-includes/functions.wp-styles.php

     
    225225 * 'suffix'      string      Optional suffix, used in combination with RTL.
    226226 * 'alt'         bool        For rel="alternate stylesheet".
    227227 * 'title'       string      For preferred/alternate stylesheets.
     228 * 'path'        string      The absolute path to a stylesheet. Used to opt-in
     229 *                           to loading styles inline.
    228230 *
    229231 * @see WP_Dependencies::add_data()
    230232 *
    231233 * @since 3.6.0
     234 * @since 5.8.0 Added 'path' as an official value for $key.
     235 *              See {@see wp_maybe_inline_styles()}.
    232236 *
    233237 * @param string $handle Name of the stylesheet.
    234238 * @param string $key    Name of data point for which we're storing a value.
    235  *                       Accepts 'conditional', 'rtl' and 'suffix', 'alt' and 'title'.
     239 *                       Accepts 'conditional', 'rtl' and 'suffix', 'alt', 'title' and 'path'.
    236240 * @param mixed  $value  String containing the CSS data to be added.
    237241 * @return bool True on success, false on failure.
    238242 */