From af288e6ae1b8bd53493942552c3ede19018b8d03 Mon Sep 17 00:00:00 2001 From: Yoav Farhi Date: Sun, 5 Apr 2020 10:59:32 +0300 Subject: [PATCH] make sure the woocommerce-helper rtl css file is loaded --- includes/admin/helper/class-wc-helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/admin/helper/class-wc-helper.php b/includes/admin/helper/class-wc-helper.php index 42500a0b983..aba21fbc4d4 100644 --- a/includes/admin/helper/class-wc-helper.php +++ b/includes/admin/helper/class-wc-helper.php @@ -471,6 +471,7 @@ class WC_Helper { if ( $wc_screen_id . '_page_wc-addons' === $screen_id && isset( $_GET['section'] ) && 'helper' === $_GET['section'] ) { wp_enqueue_style( 'woocommerce-helper', WC()->plugin_url() . '/assets/css/helper.css', array(), Constants::get_constant( 'WC_VERSION' ) ); + wp_style_add_data( 'woocommerce-helper', 'rtl', 'replace' ); } }