PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.1.13
ShopBuilder – WooCommerce Builder For Elementor v2.1.13
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Controllers/AssetsController.php +10 -21 2.2.12.1.13 View file →
@@ -349,19 +349,9 @@
349 349 * Styles.
350 350 */
351 351 wp_register_style( 'rtsb-admin-app', rtsb()->get_assets_uri( 'css/backend/admin-settings.css' ), '', $this->version );
352 352 wp_register_style( 'rtsb-fonts', rtsb()->get_assets_uri( 'css/frontend/rtsb-fonts.css' ), '', $this->version );
353 -
354 - $current_screen = get_current_screen();
355 -
356 - if ( 'edit-rtsb_builder' === $current_screen->id ) {
357 - if ( ! function_exists( 'woocommerce_get_asset_url' ) ) {
358 - include_once WC_ABSPATH . 'includes/wc-template-functions.php';
359 - }
360 -
361 - wp_deregister_style( 'select2' );
362 - wp_register_style( 'select2', plugins_url( 'assets/css/select2.css', WC_PLUGIN_FILE ) ); // phpcs:ignore WordPress.WP.EnqueuedResourceParameters.MissingVersion
363 - }
353 + // wp_register_style( 'rtsb-admin-global', rtsb()->get_assets_uri( 'css/backend/admin-global.css' ), '', $this->version );
364 354 wp_register_style( 'rtsb-templatebuilder', rtsb()->get_assets_uri( 'css/backend/template-builder.css' ), '', $this->version );
365 355
366 356 /**
367 357 * Scripts.
@@ -427,18 +417,17 @@
427 417 wp_localize_script(
428 418 'rtsb-admin-app',
429 419 'rtsbParams',
430 420 [
431 - 'ajaxurl' => esc_url( self::$ajaxurl ),
432 - 'homeurl' => home_url(),
433 - 'adminLogo' => rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ),
434 - 'restApiUrl' => esc_url_raw( rest_url() ),
435 - 'rest_nonce' => wp_create_nonce( 'wp_rest' ),
436 - 'nonce' => wp_create_nonce( rtsb()->nonceText ),
437 - 'sections' => Settings::instance()->get_sections(),
438 - 'pages' => Fns::get_pages(),
439 - 'hasPro' => rtsb()->has_pro() ? 'yes' : 'no',
440 - 'updateRates' => esc_html__( 'Update All Rates', 'shopbuilder' ),
421 + 'ajaxurl' => esc_url( self::$ajaxurl ),
422 + 'homeurl' => home_url(),
423 + 'adminLogo' => rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ),
424 + 'restApiUrl' => esc_url_raw( rest_url() ),
425 + 'rest_nonce' => wp_create_nonce( 'wp_rest' ),
426 + 'nonce' => wp_create_nonce( rtsb()->nonceText ),
427 + 'sections' => Settings::instance()->get_sections(),
428 + 'pages' => Fns::get_pages(),
429 + 'hasPro' => rtsb()->has_pro() ? 'yes' : 'no',
441 430 ]
442 431 );
443 432 } else {
444 433 $current_screen = get_current_screen();