Make WordPress Core

Ticket #34765: 34765.patch

File 34765.patch, 1.2 KB (added by sebastian.pisula, 10 years ago)
  • wp-includes/class.wp-styles.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    8585                 *
    8686                 * @since 2.6.0
    8787                 * @since 4.3.0 Introduced the `$href` parameter.
     88                 * @since 4.4.0 Introduced the `$media` parameter.
    8889                 *
    8990                 * @param string $html   The link tag for the enqueued style.
    9091                 * @param string $handle The style's registered handle.
    9192                 * @param string $href   The stylesheet's source URL.
    9293                 */
    93                 $tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle, $href );
     94                $tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle, $href, $media);
    9495                if ( 'rtl' === $this->text_direction && isset($obj->extra['rtl']) && $obj->extra['rtl'] ) {
    9596                        if ( is_bool( $obj->extra['rtl'] ) || 'replace' === $obj->extra['rtl'] ) {
    9697                                $suffix = isset( $obj->extra['suffix'] ) ? $obj->extra['suffix'] : '';