Changeset 1594 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 05/20/2015 09:21:00 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r1578 r1594 41 41 } 42 42 43 wp_enqueue_style( 'wporg-themes', get_stylesheet_uri(), array(), '1' ); 43 $stylesheet = get_stylesheet_uri(); 44 if ( is_rtl() ) { 45 $stylesheet = str_replace( '.css', '-rtl.css', $stylesheet ); 46 } 47 wp_enqueue_style( 'wporg-themes', $stylesheet, array(), '1' ); 44 48 45 49 if ( ! is_singular( 'page' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.