Ticket #53792: 53792.diff
File 53792.diff, 1.2 KB (added by , 23 months ago) |
---|
-
src/wp-includes/functions.wp-styles.php
225 225 * 'suffix' string Optional suffix, used in combination with RTL. 226 226 * 'alt' bool For rel="alternate stylesheet". 227 227 * 'title' string For preferred/alternate stylesheets. 228 * 'path' string The absolute path to a stylesheet. Used to opt-in 229 * to loading styles inline. 228 230 * 229 231 * @see WP_Dependencies::add_data() 230 232 * 231 233 * @since 3.6.0 234 * @since 5.8.0 Added 'path' as an official value for $key. 235 * See {@see wp_maybe_inline_styles()}. 232 236 * 233 237 * @param string $handle Name of the stylesheet. 234 238 * @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'. 236 240 * @param mixed $value String containing the CSS data to be added. 237 241 * @return bool True on success, false on failure. 238 242 */