Changeset 32898
- Timestamp:
- 06/21/2015 07:34:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class.wp-styles.php
r32657 r32898 85 85 * 86 86 * @since 2.6.0 87 * @since 4.3.0 Introduced the `$href` parameter. 87 88 * 88 89 * @param string The link tag for the enqueued style. 89 90 * @param string $handle The style's registered handle. 91 * @param string $href The stylesheet's source URL. 90 92 */ 91 $tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle );93 $tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle, $href ); 92 94 if ( 'rtl' === $this->text_direction && isset($obj->extra['rtl']) && $obj->extra['rtl'] ) { 93 95 if ( is_bool( $obj->extra['rtl'] ) || 'replace' === $obj->extra['rtl'] ) { … … 99 101 100 102 /** This filter is documented in wp-includes/class.wp-styles.php */ 101 $rtl_tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-rtl-css' $title href='$rtl_href' type='text/css' media='$media' />\n", $handle );103 $rtl_tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-rtl-css' $title href='$rtl_href' type='text/css' media='$media' />\n", $handle, $rtl_href ); 102 104 103 105 if ( $obj->extra['rtl'] === 'replace' ) {
Note: See TracChangeset
for help on using the changeset viewer.