Skip to content

Commit

Permalink
Add rtl support for activation.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Refael Iliaguyev committed Jul 6, 2017
1 parent cb23617 commit 40ef76c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/admin/class-wc-admin-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ public static function add_notices() {

if ( ! empty( $notices ) ) {
wp_enqueue_style( 'woocommerce-activation', plugins_url( '/assets/css/activation.css', WC_PLUGIN_FILE ) );

// Add RTL support
wp_style_add_data( 'woocommerce-activation', 'rtl', 'replace' );

foreach ( $notices as $notice ) {
if ( ! empty( self::$core_notices[ $notice ] ) && apply_filters( 'woocommerce_show_admin_notice', true, $notice ) ) {
add_action( 'admin_notices', array( __CLASS__, self::$core_notices[ $notice ] ) );
Expand Down

0 comments on commit 40ef76c

Please sign in to comment.