Changeset 2944593
- Timestamp:
- 07/28/2023 11:27:22 AM (3 years ago)
- Location:
- woocommerce-extra-product-sorting-options/trunk
- Files:
-
- 4 edited
-
i18n/languages/woocommerce-extra-product-sorting-options.pot (modified) (6 diffs)
-
includes/class-wc-eso-customizer-checkbox-multiple.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
woocommerce-extra-product-sorting-options.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-extra-product-sorting-options/trunk/i18n/languages/woocommerce-extra-product-sorting-options.pot
r2764254 r2944593 1 # Copyright (C) 202 2SkyVerge1 # Copyright (C) 2023 SkyVerge 2 2 # This file is distributed under the GNU General Public License v3.0. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Extra Product Sorting Options for WooCommerce 2. 9.1\n"5 "Project-Id-Version: Extra Product Sorting Options for WooCommerce 2.10.0\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/woocommerce-extra-product-sorting-" 8 8 "options\n" 9 "POT-Creation-Date: 202 2-08-01 03:31:54+00:00\n"9 "POT-Creation-Date: 2023-07-28 11:26:57+00:00\n" 10 10 "MIME-Version: 1.0\n" 11 11 "Content-Type: text/plain; charset=utf-8\n" 12 12 "Content-Transfer-Encoding: 8bit\n" 13 "PO-Revision-Date: 202 2-MO-DA HO:MI+ZONE\n"13 "PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n" 14 14 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 15 15 "Language-Team: LANGUAGE <LL@li.org>\n" 16 16 17 #: woocommerce-extra-product-sorting-options.php:1 4917 #: woocommerce-extra-product-sorting-options.php:150 18 18 msgid "New Default Sorting Label" 19 19 msgstr "" 20 20 21 #: woocommerce-extra-product-sorting-options.php:15 021 #: woocommerce-extra-product-sorting-options.php:151 22 22 msgid "" 23 23 "If desired, enter a new name for the default sorting option, e.g., " … … 25 25 msgstr "" 26 26 27 #: woocommerce-extra-product-sorting-options.php:17 227 #: woocommerce-extra-product-sorting-options.php:173 28 28 msgid "Add Product Sorting:" 29 29 msgstr "" 30 30 31 #: woocommerce-extra-product-sorting-options.php:17 531 #: woocommerce-extra-product-sorting-options.php:176 32 32 #. translators: Placeholders: %1$s - <a>, %2$s - </a> 33 33 msgid "" … … 36 36 msgstr "" 37 37 38 #: woocommerce-extra-product-sorting-options.php:20 038 #: woocommerce-extra-product-sorting-options.php:201 39 39 msgid "Remove Product Sorting:" 40 40 msgstr "" 41 41 42 #: woocommerce-extra-product-sorting-options.php:20 342 #: woocommerce-extra-product-sorting-options.php:204 43 43 #. translators: Placeholders: %1$s - <a>, %2$s - </a> 44 44 msgid "" … … 47 47 msgstr "" 48 48 49 #: woocommerce-extra-product-sorting-options.php:2 6349 #: woocommerce-extra-product-sorting-options.php:246 50 50 msgid "Name: A to Z" 51 51 msgstr "" 52 52 53 #: woocommerce-extra-product-sorting-options.php:2 6453 #: woocommerce-extra-product-sorting-options.php:247 54 54 msgid "Name: Z to A" 55 55 msgstr "" 56 56 57 #: woocommerce-extra-product-sorting-options.php:2 6557 #: woocommerce-extra-product-sorting-options.php:248 58 58 msgid "Available Stock" 59 59 msgstr "" 60 60 61 #: woocommerce-extra-product-sorting-options.php:2 6661 #: woocommerce-extra-product-sorting-options.php:249 62 62 msgid "Review Count" 63 63 msgstr "" 64 64 65 #: woocommerce-extra-product-sorting-options.php:2 6765 #: woocommerce-extra-product-sorting-options.php:250 66 66 msgid "On-sale First" 67 67 msgstr "" 68 68 69 #: woocommerce-extra-product-sorting-options.php:2 8669 #: woocommerce-extra-product-sorting-options.php:269 70 70 msgid "Default sorting" 71 71 msgstr "" 72 72 73 #: woocommerce-extra-product-sorting-options.php:2 8773 #: woocommerce-extra-product-sorting-options.php:270 74 74 msgid "Sort by popularity" 75 75 msgstr "" 76 76 77 #: woocommerce-extra-product-sorting-options.php:2 8877 #: woocommerce-extra-product-sorting-options.php:271 78 78 msgid "Sort by average rating" 79 79 msgstr "" 80 80 81 #: woocommerce-extra-product-sorting-options.php:2 8981 #: woocommerce-extra-product-sorting-options.php:272 82 82 msgid "Sort by latest" 83 83 msgstr "" 84 84 85 #: woocommerce-extra-product-sorting-options.php:2 9085 #: woocommerce-extra-product-sorting-options.php:273 86 86 msgid "Sort by price: low to high" 87 87 msgstr "" 88 88 89 #: woocommerce-extra-product-sorting-options.php:2 9189 #: woocommerce-extra-product-sorting-options.php:274 90 90 msgid "Sort by price: high to low" 91 91 msgstr "" 92 92 93 #: woocommerce-extra-product-sorting-options.php:3 6493 #: woocommerce-extra-product-sorting-options.php:347 94 94 msgid "Sort by name: A to Z" 95 95 msgstr "" 96 96 97 #: woocommerce-extra-product-sorting-options.php:3 6797 #: woocommerce-extra-product-sorting-options.php:350 98 98 msgid "Sort by name: Z to A" 99 99 msgstr "" 100 100 101 #: woocommerce-extra-product-sorting-options.php:3 70101 #: woocommerce-extra-product-sorting-options.php:353 102 102 msgid "Sort by availability" 103 103 msgstr "" 104 104 105 #: woocommerce-extra-product-sorting-options.php:3 73105 #: woocommerce-extra-product-sorting-options.php:356 106 106 msgid "Sort by review count" 107 107 msgstr "" 108 108 109 #: woocommerce-extra-product-sorting-options.php:3 76109 #: woocommerce-extra-product-sorting-options.php:359 110 110 msgid "Show sale items first" 111 111 msgstr "" 112 112 113 #: woocommerce-extra-product-sorting-options.php:5 57113 #: woocommerce-extra-product-sorting-options.php:540 114 114 #. translators: Placeholders: %s - plugin name 115 115 msgid "You cannot clone instances of %s." 116 116 msgstr "" 117 117 118 #: woocommerce-extra-product-sorting-options.php:5 68118 #: woocommerce-extra-product-sorting-options.php:551 119 119 #. translators: Placeholders: %s - plugin name 120 120 msgid "You cannot unserialize instances of %s." 121 121 msgstr "" 122 122 123 #: woocommerce-extra-product-sorting-options.php:5 86123 #: woocommerce-extra-product-sorting-options.php:569 124 124 msgid "Configure" 125 125 msgstr "" 126 126 127 #: woocommerce-extra-product-sorting-options.php:5 87127 #: woocommerce-extra-product-sorting-options.php:570 128 128 msgid "FAQ" 129 129 msgstr "" 130 130 131 #: woocommerce-extra-product-sorting-options.php:5 88131 #: woocommerce-extra-product-sorting-options.php:571 132 132 msgid "Support" 133 133 msgstr "" 134 134 135 #: woocommerce-extra-product-sorting-options.php:6 60135 #: woocommerce-extra-product-sorting-options.php:643 136 136 #. translators: Placeholders: %1$s <strong>, %2$s - </strong>, %3$s - version 137 137 #. number, %4$s - opening HTML <a> link tag, %5$s - closing HTML </a> link tag, … … 143 143 msgstr "" 144 144 145 #: woocommerce-extra-product-sorting-options.php:8 44145 #: woocommerce-extra-product-sorting-options.php:827 146 146 #. translators: Placeholders: %1$s - <strong>, %2$s - <strong>, %3$s - <a>, 147 147 #. %4$s - </a> … … 152 152 msgstr "" 153 153 154 #: woocommerce-extra-product-sorting-options.php:8 68154 #: woocommerce-extra-product-sorting-options.php:851 155 155 #. translators: Placeholders: %1$s - <strong>, %2$s - <strong>, %3$s - <a>, 156 156 #. %4$s - </a> -
woocommerce-extra-product-sorting-options/trunk/includes/class-wc-eso-customizer-checkbox-multiple.php
r2764254 r2944593 20 20 * 21 21 * @author SkyVerge 22 * @copyright Copyright (c) 2014-202 1, SkyVerge, Inc.22 * @copyright Copyright (c) 2014-2023, SkyVerge, Inc. 23 23 * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0 24 24 */ -
woocommerce-extra-product-sorting-options/trunk/readme.txt
r2764254 r2944593 3 3 Tags: woocommerce, sorting, product sorting, orderby 4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@skyverge.com&item_name=Donation+for+WooCommerce+Extra+Product+Sorting 5 Requires at least: 4.46 Tested up to: 6. 0.17 Stable Tag: 2. 9.18 Requires PHP: 5.65 Requires at least: 5.6 6 Tested up to: 6.2.2 7 Stable Tag: 2.10.0 8 Requires PHP: 7.4 9 9 License: GPLv3 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 16 16 Extra Product Sorting Options for WooCommerce provides options that extend the default WooCommerce orderby options on the shop page. You can optionally set a new name for the default sorting (helpful if you've used this to create a custom sorting order), and can enable up to **5 new sorting options**: alphabetical, reverse alphabetical, on sale, review count, and availability product sorting. You can also remove core sorting options, or remove the sorting dropdown completely. 17 17 18 > **Requires: PHP 5.6, WooCommerce 3.5+ and WordPress 4.4+**18 > **Requires: PHP 7.4, WooCommerce 3.9+ and WordPress 5.6+** 19 19 20 20 = Features = … … 90 90 91 91 == Changelog == 92 93 = 2023.07.28 - version 2.10.0 = 94 * Misc - Add compatibility for WooCommerce High Performance Order Storage (HPOS) 95 * Misc - Require PHP 7.4+, WordPress 5.6+ and WooCommerce 3.9+ 92 96 93 97 = 2022.07.31 - version 2.9.1 = -
woocommerce-extra-product-sorting-options/trunk/woocommerce-extra-product-sorting-options.php
r2764254 r2944593 6 6 * Author: SkyVerge 7 7 * Author URI: http://www.skyverge.com/ 8 * Version: 2. 9.18 * Version: 2.10.0 9 9 * Text Domain: woocommerce-extra-product-sorting-options 10 10 * Domain Path: /i18n/languages/ 11 11 * 12 * Copyright: (c) 2014-202 1, SkyVerge, Inc. (info@skyverge.com)12 * Copyright: (c) 2014-2023, SkyVerge, Inc. (info@skyverge.com) 13 13 * 14 14 * License: GNU General Public License v3.0 … … 17 17 * @author SkyVerge 18 18 * @category Admin 19 * @copyright Copyright (c) 2014-202 1, SkyVerge, Inc.19 * @copyright Copyright (c) 2014-2023, SkyVerge, Inc. 20 20 * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0 21 21 * 22 * WC requires at least: 3. 5.023 * WC tested up to: 6.7.022 * WC requires at least: 3.9.4 23 * WC tested up to: 7.9.0 24 24 */ 25 25 … … 44 44 45 45 /** plugin version number */ 46 const VERSION = '2. 9.1';46 const VERSION = '2.10.0'; 47 47 48 48 /** required WooCommerce version number */ 49 const MIN_WOOCOMMERCE_VERSION = '3. 5.0';49 const MIN_WOOCOMMERCE_VERSION = '3.9.4'; 50 50 51 51 /** @var WC_Extra_Sorting_Options single instance of this plugin */ … … 88 88 $this->install(); 89 89 } 90 } 91 92 93 /** 94 * Adds Settings to WooCommerce Settings > Products page after "Default Product Sorting" setting. 95 * 96 * @since 1.0.0 97 * @deprecated 2.9.0 98 * 99 * @TODO remove this deprecated method by April 2022 or by version 3.0.0 {FN 2021-04-14} 100 * 101 * @param array $settings the current product settings 102 * @return array updated settings 103 */ 104 public function add_settings( $settings ) { 105 106 wc_deprecated_function( __METHOD__ ,'2.9.0' ); 107 108 return $settings; 90 91 // handle HPOS compatibility 92 add_action( 'before_woocommerce_init', [ $this, 'handle_hpos_compatibility' ] ); 93 } 94 95 96 /** 97 * Declares HPOS compatibility. 98 * 99 * @since 2.10.0 100 * 101 * @internal 102 * 103 * @return void 104 */ 105 public function handle_hpos_compatibility() 106 { 107 if ( class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 108 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', plugin_basename( __FILE__ ), true ); 109 } 109 110 } 110 111 … … 234 235 235 236 /** 236 * Gets the set of settings options.237 *238 * @since 2.7.0239 * @deprecated 2.9.0240 *241 * @TODO remove this method by version 3.0.0 or by April 2022 {FN 2021-04-14}242 *243 * @return array settings options244 */245 protected function get_settings_options() {246 247 wc_deprecated_function( __METHOD__, '2.9.0' );248 249 return $this->get_extra_sorting_setting_options();250 }251 252 253 /**254 237 * Gets sorting options as settings options. 255 238 *
Note: See TracChangeset
for help on using the changeset viewer.