YITH WooCommerce Catalog Mode - Version 2.16.0

Version Description

Last Stable Tag 2.16.0

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Catalog Mode
Version 2.16.0
Comparing to
See all releases

Code changes from version 2.15.0 to 2.16.0

init.php CHANGED
@@ -5,10 +5,10 @@
5
  * Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
  * Author: YITH
7
  * Text Domain: yith-woocommerce-catalog-mode
8
- * Version: 2.15.0
9
  * Author URI: https://yithemes.com/
10
- * WC requires at least: 6.8.0
11
- * WC tested up to: 7.0.x
12
  *
13
  * @package YITH WooCommerce Catalog Mode
14
  */
@@ -61,7 +61,7 @@ function ywctm_install_free_admin_notice() {
61
  <?php
62
  }
63
 
64
- ! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.15.0' );
65
  ! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
66
  ! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
67
  ! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
5
  * Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
  * Author: YITH
7
  * Text Domain: yith-woocommerce-catalog-mode
8
+ * Version: 2.16.0
9
  * Author URI: https://yithemes.com/
10
+ * WC requires at least: 6.9.0
11
+ * WC tested up to: 7.1.x
12
  *
13
  * @package YITH WooCommerce Catalog Mode
14
  */
61
  <?php
62
  }
63
 
64
+ ! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.16.0' );
65
  ! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
66
  ! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
67
  ! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
languages/yith-woocommerce-catalog-mode.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Catalog Mode 2.15.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
8
- "POT-Creation-Date: 2022-10-04 14:34:33+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Catalog Mode 2.16.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
8
+ "POT-Creation-Date: 2022-11-04 15:24:38+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
plugin-fw/includes/class-yit-ajax.php CHANGED
@@ -241,7 +241,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
241
  die();
242
  }
243
 
244
- $terms = yith_get_terms( $args );
245
 
246
  if ( 'id' !== $args['term_field'] ) {
247
  $temp_terms = $terms;
@@ -252,6 +252,7 @@ if ( ! class_exists( 'YIT_Ajax' ) ) {
252
  }
253
  }
254
 
 
255
  wp_send_json( $terms );
256
  }
257
  }
241
  die();
242
  }
243
 
244
+ $terms = get_terms( $args );
245
 
246
  if ( 'id' !== $args['term_field'] ) {
247
  $temp_terms = $terms;
252
  }
253
  }
254
 
255
+ $terms = apply_filters( 'yith_plugin_fw_json_search_found_terms', $terms, $args );
256
  wp_send_json( $terms );
257
  }
258
  }
plugin-fw/templates/components/action-button.php CHANGED
@@ -46,7 +46,7 @@ $link_class = implode( ' ', array_filter( $link_classes ) );
46
  <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
-
50
  href="<?php echo esc_url( $url ); ?>"
51
  <?php if ( $the_title ) : ?>
52
  data-tip="<?php echo esc_attr( $the_title ); ?>"
46
  <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
+ aria-label="<?php echo esc_attr( $the_title ); ?>"
50
  href="<?php echo esc_url( $url ); ?>"
51
  <?php if ( $the_title ) : ?>
52
  data-tip="<?php echo esc_attr( $the_title ); ?>"
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
 
3
  Contributors: yithemes
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
- Requires at least: 5.8
6
- Tested up to: 6.0
7
- Stable tag: 2.15.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,12 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
131
 
132
  == Changelog ==
133
 
 
 
 
 
 
 
134
  = Version 2.15.0 - Released: 04 October 2022 =
135
 
136
  * New: support for WooCommerce 7.0
@@ -516,7 +522,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
516
 
517
  == Upgrade Notice ==
518
 
519
- Last Stable Tag 2.15.0
520
 
521
  == Suggestions ==
522
 
2
 
3
  Contributors: yithemes
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
+ Requires at least: 5.9
6
+ Tested up to: 6.1
7
+ Stable tag: 2.16.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
 
132
  == Changelog ==
133
 
134
+ = Version 2.16.0 - Released: 04 November 2022 =
135
+
136
+ * New: support for WordPress 6.1
137
+ * New: support for WooCommerce 7.1
138
+ * Update: YITH plugin framework
139
+
140
  = Version 2.15.0 - Released: 04 October 2022 =
141
 
142
  * New: support for WooCommerce 7.0
522
 
523
  == Upgrade Notice ==
524
 
525
+ Last Stable Tag 2.16.0
526
 
527
  == Suggestions ==
528