Making WordPress.org


Ignore:
Timestamp:
06/14/2016 12:14:42 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: First pass at RTL styles.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php

    r3355 r3359  
    6767 */
    6868function scripts() {
    69     wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . '/css/style.css', array(), time() );
     69    $suffix = is_rtl() ? '-rtl' : '';
     70    wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . "/css/style{$suffix}.css", array(), time() );
    7071
    7172    wp_enqueue_script( 'wporg-plugins-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
Note: See TracChangeset for help on using the changeset viewer.