Merge pull request #25835 from woocommerce/add-rtl-style-to-obw

Add RTL style to the onboarding wizard
This commit is contained in:
Rodrigo Primo 2020-03-06 12:01:12 -03:00 committed by GitHub
commit 709d3f64a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ class WC_Admin_Setup_Wizard {
);
wp_enqueue_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), $version );
wp_enqueue_style( 'wc-setup', WC()->plugin_url() . '/assets/css/wc-setup.css', array( 'dashicons', 'install' ), $version );
wp_style_add_data( 'wc-setup', 'rtl', 'replace' );
wp_register_script( 'wc-setup', WC()->plugin_url() . '/assets/js/admin/wc-setup' . $suffix . '.js', array( 'jquery', 'wc-enhanced-select', 'jquery-blockui', 'wp-util', 'jquery-tiptip', 'backbone', 'wc-backbone-modal' ), $version );
wp_localize_script(