Changeset 3011611
- Timestamp:
- 12/18/2023 11:29:31 PM (2 years ago)
- Location:
- bonus-plus-wp
- Files:
-
- 33 added
- 4 edited
-
tags/2.7 (added)
-
tags/2.7/LICENSE (added)
-
tags/2.7/README.md (added)
-
tags/2.7/assets (added)
-
tags/2.7/assets/account.js (added)
-
tags/2.7/assets/api (added)
-
tags/2.7/assets/api/request.js (added)
-
tags/2.7/assets/loader.css (added)
-
tags/2.7/assets/qrcodejs (added)
-
tags/2.7/assets/qrcodejs/qrcode.js (added)
-
tags/2.7/assets/qrcodejs/qrcode.min.js (added)
-
tags/2.7/assets/qrcodejs/script.js (added)
-
tags/2.7/assets/qrcodejs/style.css (added)
-
tags/2.7/bonus-plus-wp.php (added)
-
tags/2.7/functions.php (added)
-
tags/2.7/inc (added)
-
tags/2.7/inc/ApiHelper.php (added)
-
tags/2.7/inc/ClientProfile.php (added)
-
tags/2.7/inc/CustomerBalance.php (added)
-
tags/2.7/inc/Logger.php (added)
-
tags/2.7/inc/MenuSettings.php (added)
-
tags/2.7/inc/WooAccount.php (added)
-
tags/2.7/inc/WooProductCatExport.php (added)
-
tags/2.7/readme.txt (added)
-
tags/2.7/screenshots (added)
-
tags/2.7/screenshots/screenshot-1.jpg (added)
-
tags/2.7/screenshots/screenshot-2.jpg (added)
-
tags/2.7/screenshots/screenshot-3.jpg (added)
-
tags/2.7/screenshots/screenshot-4.jpg (added)
-
tags/2.7/screenshots/screenshot-5.png (added)
-
tags/2.7/screenshots/scrrnshots-6.png (added)
-
tags/2.7/templates (added)
-
tags/2.7/templates/client-account.php (added)
-
trunk/README.md (modified) (3 diffs)
-
trunk/bonus-plus-wp.php (modified) (2 diffs)
-
trunk/inc/WooProductCatExport.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bonus-plus-wp/trunk/README.md
r3004945 r3011611 5 5 * Tags: bonus, woocommerce, sync, integration 6 6 * Requires at least: 4.0 7 * Tested up to: 6. 1.18 * Stable tag: 2. 69 * Requires PHP: 7.17 * Tested up to: 6.4.2 8 * Stable tag: 2.7 9 * Requires PHP: 8.1 10 10 * License: GPLv2 or later 11 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 ## Какие минимальные требования? 77 77 78 WordPress 5.079 PHP 7.1 (Рекомендуем 8.0 и выше)78 WordPress 6.0 79 PHP Рекомендуем 8.0 и выше 80 80 81 81 ## Будет работать без WooCommerce? … … 92 92 93 93 # Changelog 94 95 ## 2.7 96 - устранение бага с экспортом товаров и категорий https://github.com/evgrezanov/bonus-plus-wp/issues/50 94 97 95 98 ## 2.6 -
bonus-plus-wp/trunk/bonus-plus-wp.php
r3004945 r3011611 12 12 * License: GPLv2 or later 13 13 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 14 * PHP requires at least: 7.015 * WP requires at least: 5.016 * Tested up to: 6. 1.117 * Version: 2. 614 * PHP requires at least: 8.1 15 * WP requires at least: 6.0 16 * Tested up to: 6.4.2 17 * Version: 2.7 18 18 */ 19 19 namespace BPWP; … … 28 28 public static function init() 29 29 { 30 define('BPWP_PLUGIN_VERSION', '2. 6');30 define('BPWP_PLUGIN_VERSION', '2.7'); 31 31 32 32 require_once __DIR__ . '/functions.php'; -
bonus-plus-wp/trunk/inc/WooProductCatExport.php
r2975143 r3011611 257 257 } 258 258 259 // TODO добавить обработку остальных типов товаров 259 260 } 260 261 } … … 284 285 $products = apply_filters('bpwp_filter_export_products', self::bpwp_api_products_data_prepare()); 285 286 $product = array_merge($product_cat, $products); 286 /*287 usort($product, function ($a, $b) {288 return $a['id'] - $b['id'];289 });290 */291 287 } 292 288 … … 295 291 if (empty($store) || empty($product)) { 296 292 self::$lastExport['message'] = __('Экспорт невозможен, параметры переданы неверно', 'bonus-plus-wp'); 293 do_action( 294 'bpwp_logger_error', 295 $type = __CLASS__, 296 $title = __('Экспорт товаров в Бонус+, невозможен', 'bonus-plus-wp'), 297 $desc = __('Параметры название магазина или список продуктовпереданы неверно', 'bonus-plus-wp'), 298 ); 297 299 } 298 300 … … 340 342 printf('<h2>%s</h2>', __('Экспорт товаров и категорий', 'bonus-plus-wp')); 341 343 342 printf('<a href="%s" class="button button-primary">Экспортировать</a>', add_query_arg('a', 'products_cats_export', admin_url('admin.php?page=bpwp- settings')));344 printf('<a href="%s" class="button button-primary">Экспортировать</a>', add_query_arg('a', 'products_cats_export', admin_url('admin.php?page=bpwp-connection'))); 343 345 } 344 346 -
bonus-plus-wp/trunk/readme.txt
r3004945 r3011611 4 4 Tags: bonus, woocommerce, sync, integration 5 5 Requires at least: 4.0 6 Tested up to: 6. 1.17 Stable tag: 2. 68 Requires PHP: 7.16 Tested up to: 6.4.2 7 Stable tag: 2.7 8 Requires PHP: 8.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 76 76 = Какие минимальные требования? = 77 77 78 WordPress 5.079 PHP 7.1 (Рекомендуем 8.0 и выше)78 WordPress 6.0 79 PHP Рекомендуем 8.0 и выше 80 80 81 81 = Будет работать без WooCommerce? = … … 92 92 93 93 == Changelog == 94 95 = 2.7 = 96 - устранение бага с экспортом товаров и категорий https://github.com/evgrezanov/bonus-plus-wp/issues/50 94 97 95 98 = 2.6 =
Note: See TracChangeset
for help on using the changeset viewer.