Changeset 1619 for sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php
- Timestamp:
- 05/24/2015 09:47:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php
r1617 r1619 1 1 <?php 2 2 3 wp_enqueue_style( 'rosetta', get_stylesheet_uri(), array(), 17, 'screen' ); 3 $stylesheet = get_stylesheet_uri(); 4 if ( is_rtl() ) { 5 $stylesheet = str_replace( '.css', '-rtl.css', $stylesheet ); 6 } 4 7 5 if ( is_rtl() ) { 6 wp_enqueue_style( 'rosetta-rtl', get_locale_stylesheet_uri(), array( 'rosetta' ), 2, 'screen' ); 7 } 8 wp_enqueue_style( 'rosetta', $stylesheet, array(), 17 ); 8 9 9 10 if ( is_locale_css() ) { … … 12 13 13 14 require WPORGPATH . 'header.php'; 14
Note: See TracChangeset
for help on using the changeset viewer.