Changeset 3497149
- Timestamp:
- 04/02/2026 03:02:01 AM (13 hours ago)
- Location:
- woocommerce-products-slider/trunk
- Files:
-
- 6 edited
-
includes/functions-builder.php (modified) (2 diffs)
-
includes/functions-layout-element.php (modified) (3 diffs)
-
includes/functions-rest.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
templates/wcps-slider/wcps-slider-hook.php (modified) (1 diff)
-
woocommerce-products-slider.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-products-slider/trunk/includes/functions-builder.php
r3422759 r3497149 1 1 <?php 2 2 if (! defined('ABSPATH')) exit; // if direct access 3 add_action('wp_footer', 'wcps_builder_global_scripts', 999); 3 4 5 add_action('wp_footer', 'wcps_builder_global_scripts'); 4 6 5 7 function wcps_builder_global_scripts() … … 16 18 wp_enqueue_style('WCPSBuilderCss'); 17 19 18 19 wp_add_inline_style('WCPSBuilderCss', $WCPSBuilderCss); 20 $sanitized_css = wp_strip_all_tags($WCPSBuilderCss); 21 22 //var_dump($sanitized_css); 23 24 25 wp_add_inline_style('WCPSBuilderCss', $sanitized_css); 20 26 } 21 27 -
woocommerce-products-slider/trunk/includes/functions-layout-element.php
r3422655 r3497149 53 53 $link_to = isset($elementData['link_to']) ? $elementData['link_to'] : ''; 54 54 55 $product = wc_get_product($product_id);56 55 57 56 … … 62 61 } elseif ($link_to == 'external_product_url') { 63 62 64 if ($product->is_type('external')) { 63 if(function_exists('wc_get_product')){ 64 $product = wc_get_product($product_id); 65 if ($product->is_type('external')) { 65 66 $permalink = get_post_meta($product_id, '_product_url', true); 66 } else { 67 } 68 } 69 70 else { 67 71 $permalink = get_permalink($product_id); 68 72 } … … 426 430 //$wrapper_html = isset($elementData['cart_text']) ? $elementData['cart_text'] : ''; 427 431 428 $product = wc_get_product($product_id);429 432 430 433 $cart_html = do_shortcode('[add_to_cart show_price="false" quantity="1" id="' . $product_id . '"]'); -
woocommerce-products-slider/trunk/includes/functions-rest.php
r3422655 r3497149 125 125 'methods' => 'POST', 126 126 'callback' => array($this, 'get_posts'), 127 'permission_callback' => '__return_true', 128 127 'permission_callback' => function () { 128 return current_user_can('manage_options'); 129 }, 129 130 ) 130 131 ); -
woocommerce-products-slider/trunk/readme.txt
r3422759 r3497149 5 5 Requires at least: 3.8 6 6 Tested up to: 6.9 7 Stable tag: 1.13.6 07 Stable tag: 1.13.62 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 142 142 == Changelog == 143 143 144 = 1.13.62 = 145 * 2026-04-02 fix - Security issue fixed. 146 147 = 1.13.61 = 148 * 2026-01-12 fix - Builder CSS style issue fixed. 149 144 150 = 1.13.60 = 145 151 * 2025-12-18 fix - Broken Style issue fixed. … … 148 154 * 2025-12-17 fix - Escaping issue fixed. 149 155 * 2025-12-17 fix - Latest WP compatibility issue checked. 150 151 = 1.13.58 =152 * 2025-11-13 fix - Updated template library server URL153 154 = 1.13.57 =155 * 2025-06-21 update - Improved create new view type156 * 2025-06-21 update - Improved Builder layout editor157 * 2025-06-16 update - Improved Builder style generation158 159 = 1.13.56 =160 * 2025-05-21 update - Advacned React Based Builder added.161 162 = 1.13.55 =163 * 2024-11-03 fix - Slider issue for categories and dokan vendor fixed.164 165 = 1.13.54 =166 * 2024-09-22 fix - Fixes some slider options issue.167 168 = 1.13.53 =169 * 2024-09-19 fix - Remove slick slider and replaced by splidejs170 * 2024-09-19 fix - Slider option booliean type saving issue fixed.171 172 = 1.13.52 =173 * 2024-09-16 fix - Slider options not saving issue fixed.174 175 = 1.13.51 =176 * 2024-08-20 fix - XSS security issue fixed.177 178 = 1.13.50 =179 * 2024-05-11 fix - Thumbnail lazy load issue fixed180 * 2024-05-11 fix - WooCommerce High-Performance order storage feature support added181 182 = 1.13.49 =183 * 2023-10-18 add - Some http:// url replaced by https://184 185 = 1.13.48 =186 * 2023-09-13 add - Query orderby date modified added.187 * 2023-09-13 add - Catalog visibility query added.188 189 = 1.13.47 =190 * 2023-09-09 fix - Layout builder element custom html wrapper output issue fixed191 192 = 1.13.46 =193 * 2023-08-27 fix - navigation icon single quotes issue fixed194 * 2023-08-27 fix - SEO optimized195 196 = 1.13.45 =197 * 2023-07-10 fix - Wrapper html output not dislaying when empty198 199 200 201 = 1.13.44 =202 * 2023-03-07 fix - Settings page conflict issue fixed.203 204 = 1.13.43 =205 * 2023-03-07 fix - Font awesome icon issue for next-prev button206 * 2023-03-07 fix - Container padding margin conflict issue fixed.207 208 209 = 1.13.42 =210 * 2023-01-17 fix - Escape issue fixed.211 * 2023-01-17 fix - Layout screenshot issue fixed.212 213 214 = 1.13.41 =215 * 2023-01-15 fix - Thumnbnail max width size issue fixed.216 * 2023-01-15 fix - Slider navigation dots color issue fixed.217 * 2023-01-15 fix - Query products on-sale query set to no check.218 219 220 221 = 1.13.40 =222 * 2023-01-15 fix - Escape issue fixed.223 224 = 1.13.39 =225 * 2022-12-13 fix - default empty layout issue fixed.226 227 = 1.13.38 =228 * 2022-09-26 fix - jQuery UI tabs missing issue fixed.229 230 = 1.13.37 =231 * 2022-08-10 fix - Scripts file loading issue fixed.232 233 = 1.13.36 =234 * 2022-07-16 add - Minor PHP error issue fixed.235 236 237 = 1.13.35 =238 * 2022-05-16 add - Slider option Slides to scroll issue fixed.239 240 = 1.13.34 =241 * 2022-05-16 add - Slider option swipe and swipeToSlide added for mobile device.242 243 244 = 1.13.33 =245 * 2022-03-25 fix - term thumbnail size issue fixed.246 247 248 = 1.13.32 =249 * 2022-03-06 fix - slider timeout and speed issue fixed.250 251 = 1.13.31 =252 * 2022-02-18 removed - Remove tiny-slider.js and replaced by slick.js253 * 2022-02-07 add - Remove slides gutter replaced by margin.254 * 2022-02-07 add - Remove Auto play timeout.255 * 2022-02-07 add - Remove Slider rewind.256 257 258 = 1.13.30=259 * 2022-02-08 remove - Navigation slide speed, due to incompatibility with tiny-slider.js260 * 2022-02-08 add - Dots slide speed, due to incompatibility with tiny-slider.js261 262 263 264 = 1.13.29=265 * 2022-02-07 remove - Remove slides margin.266 * 2022-02-07 add - Add slides gutter.267 268 269 270 = 1.13.28=271 * 2022-01-14 fix - Multiple slider conflict issue fixed for navigation272 273 274 = 1.13.27=275 * 2022-01-14 fix - Responsive slider column ocunt issue fixed.276 277 = 1.13.26 =278 * 2022-01-10 removed - Remove owl.carousel.js and replaced by tiny-slider.js279 280 = 1.13.25 =281 * 2021-08-13 FIX - $(…).Lazy is not a function282 283 = 1.13.24 =284 * 2021-04-20 FIX - Minor security issue updated285 286 = 1.13.23 =287 * 2021-04-15 remove - unnecessary file removed288 * 2021-04-15 fix - minor security issue fixed.289 290 = 1.13.22 =291 * 2021-04-13 fix - security issue fixed.292 293 = 1.13.21 =294 * 2020-08-28 fix - layout not saved issued fixed.295 296 = 1.13.20 =297 * 2020-08-08 add - item wrapper custom height298 299 = 1.13.19 =300 * 2020-07-19 fix - thumbnail lazy loading issue fixed.301 302 = 1.13.18 =303 * 2020-07-18 fix - thumbnail lazy loading issue fixed.304 305 306 = 1.13.17 =307 * 2020-07-05 fix - navigation display issue fixed.308 309 310 = 1.13.16 =311 * 2020-07-05 fix - Layouts editor saving issue fixed.312 313 314 = 1.13.15 =315 * 2020-07-02 fix - navigation text saving issue fixed.316 317 = 1.13.14 =318 * 2020-07-01 remove - remove import layout notice.319 * 2020-07-02 add - free and pro layouts filter at import layout page.320 * 2020-07-02 add - Search by keyword added at import layout page.321 322 323 = 1.13.13 =324 * 2020-07-01 add - added layouts library.325 326 = 1.13.12 =327 * 2020-05-17 update - Minor css update328 * 2020-05-17 update - Variable sanitization issue fixed329 * 2020-05-17 fix - Textdomain issued330 331 = 1.13.11 =332 * 2020-04-10 add - "Easy digital downloads" plugin downloads slider333 * 2020-04-10 add - add element "EDD price" under layout builder334 * 2020-04-10 add - add element "EDD add to cart" under layout builder335 * 2020-04-10 add - add element "EDD categories" under layout builder336 * 2020-04-10 add - add element "EDD tags" under layout builder337 338 339 340 = 1.13.10 =341 * 2020-04-05 add - Customer Orders slider342 * 2020-04-05 add - Categories slider343 * 2020-04-05 add - Dokan vendors slider344 * 2020-04-05 add - add element "Term title" under layout builder345 * 2020-04-05 add - add element "Term thumbnail" under layout builder346 * 2020-04-05 add - add element "Term description" under layout builder347 * 2020-04-05 add - add element "Term slug" under layout builder348 * 2020-04-05 add - add element "Term post count" under layout builder349 * 2020-04-05 add - add element "Order date" under layout builder350 * 2020-04-05 add - add element "Order customer name" under layout builder351 * 2020-04-05 add - add element "Order customer thumbnail" under layout builder352 * 2020-04-05 add - add element "Order country" under layout builder353 * 2020-04-05 add - add element "Order payment method" under layout builder354 * 2020-04-05 add - add element "Order total" under layout builder355 * 2020-04-05 add - add element "Order items" under layout builder356 * 2020-04-05 add - add element "Order discount total" under layout builder357 * 2020-04-05 add - add element "Dokan store name" under layout builder358 * 2020-04-05 add - add element "Dokan store address" under layout builder359 * 2020-04-05 add - add element "Dokan store city" under layout builder360 * 2020-04-05 add - add element "Dokan store country" under layout builder361 * 2020-04-05 add - add element "Dokan store phone" under layout builder362 * 2020-04-05 add - add element "Dokan store banner" under layout builder363 * 2020-04-05 add - add element "Dokan store avatar" under layout builder364 * 2020-04-05 add - add element for "Wishlist" plugin under layout builder365 * 2020-04-05 add - add element for "WPC Smart Wishlist" plugin under layout builder366 * 2020-04-05 add - add element for "WPC Smart Quick View" plugin under layout builder367 * 2020-04-05 add - add element for "WPC Smart Compare" plugin under layout builder368 * 2020-04-05 add - add element for "WPC Countdown Timer" plugin under layout builder369 * 2020-04-05 add - add element for "TI WooCommerce Wishlist" plugin under layout builder370 * 2020-04-05 add - compatibility check for "WooCommerce Wholesale Prices" plugin371 * 2020-04-05 add - add element for "Wish List for WooCommerce" plugin under layout builder372 373 374 375 = 1.13.9 =376 * 2020-04-05 add - add support for "YITH WooCommerce Badge Management"377 * 2020-04-05 add - add element for "YITH WooCommerce Quick View" under layout builder378 * 2020-04-05 add - add element for "YITH WooCommerce Wishlist" under layout builder379 * 2020-04-05 add - add element for "YITH WooCommerce Brands" under layout builder380 * 2020-04-05 add - add element for "YITH WooCommerce Compare" under layout builder381 * 2020-04-05 update - product featured image update.382 383 384 = 1.13.8 =385 * 2020-03-31 fix - product short description remove html issue fixed.386 * 2020-03-31 fix - Custom CSS issue fixed.387 388 = 1.13.7 =389 * 2020-03-28 fix - Product title link issue fixed.390 * 2020-03-28 fix - Product thumbnail link issue fixed.391 * 2020-03-28 fix - Product excerpt read more link issue fixed.392 393 394 = 1.13.6 =395 * 2020-03-27 add - Product content source short-description added.396 * 2020-03-27 add - Import default layouts notice added.397 * 2020-03-27 add - Display warning to create layout first.398 * 2020-03-27 add - Tutorials links added under help & support section.399 400 401 402 = 1.13.5 =403 * 2020-03-17 add - query only featured, on-sale, in-stock products.404 405 = 1.13.4 =406 * 2020-03-17 fix - default thumbnail missing issue fixed.407 408 = 1.13.3 =409 * 2020-03-14 fix - Invalid Post Type – WCPS410 411 412 = 1.13.2 =413 * 2020-03-05 add - New Layout element Product ID added414 * 2020-03-05 fix - autoplay speed issue fixed.415 416 417 = 1.13.1 =418 * 2020-03-05 fix - Data import ribbon issue fixed.419 * 2020-03-05 fix - Text domain issue fixed.420 * 2020-03-05 add - Layout element Featured mark, On sale mark padding added421 * 2020-03-05 add - New Layout element Product ID added422 423 424 = 1.13.0 =425 * 2020-03-04 add - Layout builder added.426 * 2020-03-04 add - Navigation custom icon/text427 * 2020-03-04 add - Navigation style428 * 2020-03-04 add - Navigation position429 * 2020-03-04 add - Taxonomy relation430 * 2020-03-04 update - Query orderby431 * 2020-03-04 update - Orderby meta key432 * 2020-03-04 update - Ribbon text433 * 2020-03-04 update - Ribbon background color434 * 2020-03-04 update - Ribbon text color435 * 2020-03-04 update - Ribbon width436 * 2020-03-04 update - Ribbon height437 * 2020-03-04 update - Ribbon position438 439 440 = 1.12.24 =441 * 2020-02-05 fix - Slider pagination at bottom option issue fixed442 443 444 = 1.12.23 =445 * 18/12/2019 add - added lazy load446 447 = 1.12.22 =448 * 21/10/2019 update - update slider settings.449 * 21/10/2019 add - product query by categories added450 * 21/10/2019 add - Product display by Product IDs451 * 21/10/2019 add - Product Thumbnail link target added452 * 21/10/2019 add - Items Category separator453 454 455 = 1.12.21 =456 * 16/05/2018 fix - remove last comma on categories.457 458 = 1.12.20 =459 * 20/02/2018 fix - PHP error issue fixed.460 461 = 1.12.19 =462 * 12/01/2017 add - WooCommerce 3.0+ compatibility.463 * 12/01/2017 update - Ribbon option update.464 465 = 1.12.18 =466 * 21/11/2017 fix - tag error fixed.467 468 = 1.12.17 =469 * 17/10/2017 Update - Some CSS issue updated.470 471 = 1.12.16 =472 * 14/09/2017 fix - remove comment from scripts that prevent work slider properly.473 474 = 1.12.15 =475 * 25/07/2017 fix - Issue fixed cart button for cloned item.476 477 = 1.12.14 =478 * 04/07/2017 add - Product query for Catalog visibility.479 480 = 1.12.13 =481 * 01/07/2017 add - Slider Auto Play Timeout update issue fixed.482 483 = 1.12.12 =484 * 01/06/2017 add - Auto slide speed added.485 * 01/06/2017 add - Auto play timeout added.486 487 = 1.12.11 =488 * 23/05/2017 add - display tags on slider.489 * 23/05/2017 add - display SKU on slider.490 * 23/05/2017 add - Query orderBy menu order.491 492 = 1.12.10 =493 * 11/05/2017 remove - removed global $wp_query variable to avoid conflict.494 495 = 1.12.9 =496 * 11/05/2017 update - exclude or include featured product.497 * 11/05/2017 update - exclude or include out of stock product.498 499 = 1.12.8 =500 * 11/05/2017 fix - Hide out of stock - 3.0.0.501 502 = 1.12.7 =503 * 12/03/2017 fix - Featured product quesry compatible with WC - 3.0.0.504 505 = 1.12.6 =506 * 09/03/2017 update - Admin settings update, added new tab Elements.507 * 09/03/2017 add - on sale product display.508 509 = 1.12.5 =510 * 17/11/2016 update - update owl js & css files version 2.0.1 aseets.511 512 = 1.12.4 =513 * 26/08/2016 – fix - ribbon none.png missing issue fixed.514 515 = 1.12.3 =516 * 15/03/2016 – license warning issue fixed.517 518 = 1.12.2 =519 * 15/03/2016 – Image zoom box added.520 * 15/03/2016 -Sale marker icon changed.521 * 15/03/2016 -Featured Marked Icon changed.522 523 = 1.12.1 =524 * 01/02/2016 - fix -License issue fixed.525 526 = 1.12.0 =527 * 31/01/2016 - add -Shortcode issue fixed.528 529 = 1.11 =530 * 11/12/2015 - fix -Shortcode issue fixed.531 532 = 1.10 =533 * 25/10/2015 Translation ready.534 535 = 1.9 =536 * 17/10/2015 fix - sale marker issue fixed.537 538 = 1.8 =539 * 17/10/2015 fix - ssl issue fixed.540 541 = 1.7 =542 * 30/09/2015 add - admin notice license issue fixed.543 544 = 1.6 =545 * 30/09/2015 add - Slider Column Number for mobile and tablet & small desktop.546 * 30/09/2015 add - Slider Navigation Position.547 * 30/09/2015 add - custom Slider Ribbon.548 * 30/09/2015 add - Product items sorting.549 550 = 1.5 =551 * 09/05/2015 add - added ribbons.552 553 = 1.4 =554 * 23/02/2015 fix - Fixed issue with infinite loop.555 556 = 1.3 =557 * 31/01/2015 add - default empty thubnail.558 * 31/01/2015 fix - slider comlumn number fix for desktop.559 560 = 1.2 =561 * 10/12/2015 Remove featured marker update as text.562 * 10/12/2015 Update flat theme.563 * 10/12/2015 Removed some features.564 * 26/08/2014 javascripts conflit fixed.565 * 26/08/2014 query post error fixed.566 567 = 1.1 =568 * 24/08/2014 Update plugin description.569 * 24/08/2014 Update Live Demo.570 * 24/08/2014 Added Video Tutorial.571 572 = 1.0 =573 * 22/08/2014 Initial release. -
woocommerce-products-slider/trunk/templates/wcps-slider/wcps-slider-hook.php
r3422655 r3497149 263 263 264 264 if ($on_sale == 'no') { 265 if(function_exists('wc_get_product_ids_on_sale')){ 265 266 $wc_get_product_ids_on_sale = wc_get_product_ids_on_sale(); 266 267 $query_args['post__not_in'] = $wc_get_product_ids_on_sale; 268 } 267 269 } 268 270 -
woocommerce-products-slider/trunk/woocommerce-products-slider.php
r3422759 r3497149 4 4 Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/ 5 5 Description: Fully responsive and mobile ready Carousel Slider for your WooCommerce product. unlimited slider anywhere via short-codes and easy admin setting. 6 Version: 1.13.6 06 Version: 1.13.62 7 7 Author: PickPlugins 8 8 Text Domain: woocommerce-products-slider … … 24 24 define('wcps_plugin_dir', plugin_dir_path(__FILE__)); 25 25 define('wcps_plugin_name', 'PickPlugins Product Slider'); 26 define('wcps_plugin_version', '1.13. 58');26 define('wcps_plugin_version', '1.13.61'); 27 27 define('wcps_server_url', 'https://demo.pickplugins.com/woocommerce-products-slider/'); 28 28 // define('wcps_server_url', 'http://localhost/wp/');
Note: See TracChangeset
for help on using the changeset viewer.