Skip to content

Commit

Permalink
Removed is_rtl check
Browse files Browse the repository at this point in the history
Unnecessary
  • Loading branch information
Carrie Dils committed Nov 8, 2014
1 parent b141ae0 commit d1b3a74
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,8 @@ function in_the_beginning_enqueue_assets() {
// Load Google fonts
wp_enqueue_style( 'in-the-beginning-fonts', in_the_beginning_fonts_url(), array(), null );

// Check if the current locale is RTL script
if ( is_rtl() ) {

// Replace style.css with style-rtl.css for RTL languages
wp_style_add_data( 'in-the-beginning', 'rtl', 'replace' );
}
// Replace style.css with style-rtl.css for RTL languages
wp_style_add_data( 'in-the-beginning', 'rtl', 'replace' );
}

/**
Expand Down

0 comments on commit d1b3a74

Please sign in to comment.