Making WordPress.org


Ignore:
Timestamp:
05/24/2015 09:47:38 PM (11 years ago)
Author:
ocean90
Message:

Rosetta Theme: Update RTL stylesheet.

This is the LTR stylesheet run through grunt-rtlcss.

see #1049.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/header.php

    r1617 r1619  
    11<?php
    22
    3 wp_enqueue_style( 'rosetta', get_stylesheet_uri(), array(), 17, 'screen' );
     3$stylesheet = get_stylesheet_uri();
     4if ( is_rtl() ) {
     5    $stylesheet = str_replace( '.css', '-rtl.css', $stylesheet );
     6}
    47
    5 if ( is_rtl() ) {
    6     wp_enqueue_style( 'rosetta-rtl', get_locale_stylesheet_uri(), array( 'rosetta' ), 2, 'screen' );
    7 }
     8wp_enqueue_style( 'rosetta', $stylesheet, array(), 17 );
    89
    910if ( is_locale_css() ) {
     
    1213
    1314require WPORGPATH . 'header.php';
    14 
Note: See TracChangeset for help on using the changeset viewer.