PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.4.2
ShopBuilder – WooCommerce Builder For Elementor v3.4.2
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/CacheController.php +4 -4 3.4.13.4.2 View file →
@@ -58,9 +58,9 @@
58 58 [
59 59 'id' => 'clear_all_cache',
60 60 'parent' => 'shop_builder', // Set the parent to the top-level item ID.
61 61 'title' => esc_html__( 'Purge All Cache', 'shopbuilder' ),
62 - 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'all', add_query_arg( null, null ) ), rtsb()->nonceText ),
62 + 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'all', add_query_arg( [] ) ), rtsb()->nonceText ),
63 63 ]
64 64 );
65 65
66 66 if ( Fns::is_optimization_enabled() ) {
@@ -68,9 +68,9 @@
68 68 [
69 69 'id' => 'clear_asset_cache',
70 70 'parent' => 'shop_builder',
71 71 'title' => esc_html__( 'Purge Asset Cache', 'shopbuilder' ),
72 - 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'asset', add_query_arg( null, null ) ), rtsb()->nonceText ),
72 + 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'asset', add_query_arg( [] ) ), rtsb()->nonceText ),
73 73 ]
74 74 );
75 75 }
76 76
@@ -78,9 +78,9 @@
78 78 [
79 79 'id' => 'clear_object_cache',
80 80 'parent' => 'shop_builder',
81 81 'title' => esc_html__( 'Purge Object Cache', 'shopbuilder' ),
82 - 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'data', add_query_arg( null, null ) ), rtsb()->nonceText ),
82 + 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'data', add_query_arg( [] ) ), rtsb()->nonceText ),
83 83 ]
84 84 );
85 85 $wp_admin_bar->add_node(
86 86 [
@@ -86,9 +86,9 @@
86 86 [
87 87 'id' => 'clear_template_cache',
88 88 'parent' => 'shop_builder',
89 89 'title' => esc_html__( 'Purge Template Cache', 'shopbuilder' ),
90 - 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'template', add_query_arg( null, null ) ), rtsb()->nonceText ),
90 + 'href' => wp_nonce_url( add_query_arg( 'rtsb_clear_cache', 'template', add_query_arg( [] ) ), rtsb()->nonceText ),
91 91 ]
92 92 );
93 93 }
94 94