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 | modules/sub-category/widgets/sub-category.php +4 -2 3.0.53.1.4 View file →
@@ -7,8 +7,10 @@
7 7 use Elementor\Group_Control_Border;
8 8 use Elementor\Group_Control_Box_Shadow;
9 9 use Elementor\Group_Control_Image_Size;
10 10 use Elementor\Group_Control_Typography;
11 +// phpcs:disable WordPressVIPMinimum.Performance.WPQueryParams -- WordPressVIPMinimum targets the VIP platform, not the plugin directory. These exclusionary parameters come from a widget's own "exclude" control: the list is whatever the site owner picked in Elementor, applied to a bounded result set, not an unbounded catalogue scan.
12 +
11 13 // use Elementor\Utils;
12 14 use UltimateStoreKit\Base\Module_Base;
13 15 use UltimateStoreKit\Traits\Global_Terms_Query_Controls;
14 16 use UltimateStoreKit\Classes\Utils;
@@ -793,9 +795,9 @@
793 795 'usk-item'
794 796 ],
795 797 'data-settings' => [
796 798 wp_json_encode(array_filter([
797 - "autoplay" => ("yes" == $settings["thumbs_autoplay"]) ? ["delay" => $settings["thumbs_autoplay_speed"] + $index += rand(500, 1500)] : false,
799 + "autoplay" => ("yes" == $settings["thumbs_autoplay"]) ? ["delay" => $settings["thumbs_autoplay_speed"] + $index += wp_rand(500, 1500)] : false,
798 800 "loop" => ($settings["thumbs_loop"] == "yes") ? true : false,
799 801 "speed" => $settings["thumbs_slide_speed"]["size"],
800 802 "fadeEffect" => ['crossFade' => true],
801 803 "effect" => $settings["thumbs_effect"],
@@ -865,9 +867,9 @@
865 867 <?php
866 868 printf(
867 869 '<a href="%2$s"><span>%1$s</span><i class="usk-icon-arrow-right-8"></i></a>',
868 870 /* translators: %s: Category name */
869 - sprintf(esc_html__('All %s', 'ultimate-store-kit'), $category->name),
871 + sprintf(esc_html__('All %s', 'ultimate-store-kit'), esc_html($category->name)),
870 872 esc_url(get_term_link($category->term_id, 'product_cat'))
871 873 );
872 874 ?>
873 875 </div>