PluginProbe
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder / 3.1.4
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder v3.1.4
3.1.4 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 All 93 releases
← All changes | includes/builder/builder-widget-base.php +4 -2 3.0.33.1.4 View file →
@@ -9,8 +9,10 @@
9 9 if (! defined('ABSPATH')) {
10 10 exit;
11 11 } // Exit if accessed directly
12 12
13 +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals -- usk_ / BDTUSK_ / ultimate-store-kit- are this plugin's established public prefixes. Ultimate Store Kit Pro calls into these names, as does third-party integration code, so renaming them is a breaking change. Plugin Check only recognises prefixes derived verbatim from the slug and so reports them as unprefixed.
14 +
13 15 abstract class Builder_Widget_Base extends Widget_Base {
14 16
15 17 public $__temp_query = null;
16 18 public $__product_data = false;
@@ -59,10 +61,10 @@
59 61 }
60 62
61 63 global $post;
62 64
63 - $templateId = get_transient('ultimate_store_template_id_' . get_current_user_id());
64 - $posts = get_transient('ultimate_store_template_sample_post_' . get_current_user_id());
65 + $templateId = get_transient('ultimate_store_kit_template_id_' . get_current_user_id());
66 + $posts = get_transient('ultimate_store_kit_template_sample_post_' . get_current_user_id());
65 67
66 68 if ($posts instanceof \WP_Query && $posts->have_posts() && $templateId == $post->ID) {
67 69 foreach ($posts->posts as $post) {
68 70 $GLOBALS['post'] = $post;