Changeset 3102485
- Timestamp:
- 06/13/2024 08:06:59 PM (22 months ago)
- Location:
- belingogeo
- Files:
-
- 49 added
- 4 edited
-
tags/1.10.2 (added)
-
tags/1.10.2/belingoGeo.php (added)
-
tags/1.10.2/css (added)
-
tags/1.10.2/css/belingoGeo.css (added)
-
tags/1.10.2/css/select2.min.css (added)
-
tags/1.10.2/examples (added)
-
tags/1.10.2/examples/all_cities_rf.csv (added)
-
tags/1.10.2/examples/example1.csv (added)
-
tags/1.10.2/images (added)
-
tags/1.10.2/images/logo_mini_20x20.png (added)
-
tags/1.10.2/includes (added)
-
tags/1.10.2/includes/admin (added)
-
tags/1.10.2/includes/admin/functions.php (added)
-
tags/1.10.2/includes/admin/settings.php (added)
-
tags/1.10.2/includes/ajax-functions.php (added)
-
tags/1.10.2/includes/belingogeo-city-class.php (added)
-
tags/1.10.2/includes/core-functions.php (added)
-
tags/1.10.2/includes/functions.php (added)
-
tags/1.10.2/includes/hooks.php (added)
-
tags/1.10.2/includes/shortcodes.php (added)
-
tags/1.10.2/includes/sitemaps.php (added)
-
tags/1.10.2/integrations (added)
-
tags/1.10.2/integrations/woocommerce.php (added)
-
tags/1.10.2/integrations/yoast.php (added)
-
tags/1.10.2/js (added)
-
tags/1.10.2/js/belingoGeo.js (added)
-
tags/1.10.2/js/belingoGeoAdmin.js (added)
-
tags/1.10.2/js/select2.min.js (added)
-
tags/1.10.2/languages (added)
-
tags/1.10.2/languages/belingogeo-ru_RU.mo (added)
-
tags/1.10.2/languages/belingogeo-ru_RU.po (added)
-
tags/1.10.2/languages/belingogeo.pot (added)
-
tags/1.10.2/readme.txt (added)
-
tags/1.10.2/templates (added)
-
tags/1.10.2/templates/after_cities_list.php (added)
-
tags/1.10.2/templates/before_cities_list.php (added)
-
tags/1.10.2/templates/cities_addon_contacts.php (added)
-
tags/1.10.2/templates/city_in_list.php (added)
-
tags/1.10.2/templates/popup_select_city.php (added)
-
tags/1.10.2/templates/question_city.php (added)
-
tags/1.10.2/templates/select_city.php (added)
-
tags/1.10.2/templates/selector.php (added)
-
tags/1.10.2/uninstall.php (added)
-
tags/1.10.2/vendor (added)
-
tags/1.10.2/vendor/SxGeo (added)
-
tags/1.10.2/vendor/SxGeo/SxGeo.php (added)
-
tags/1.10.2/vendor/SxGeo/SxGeoCity.dat (added)
-
tags/1.10.2/vendor/SxGeo/index.php (added)
-
tags/1.10.2/vendor/SxGeo/license.txt (added)
-
trunk/belingoGeo.php (modified) (2 diffs)
-
trunk/includes/admin/settings.php (modified) (3 diffs)
-
trunk/includes/core-functions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
belingogeo/trunk/belingoGeo.php
r3080530 r3102485 6 6 * Author URI: https://belingo.ru 7 7 * Author: Belingo llc 8 * Version: 1.10. 18 * Version: 1.10.2 9 9 * Text Domain: belingogeo 10 10 * Domain Path: /languages … … 37 37 require_once 'integrations/yoast.php'; 38 38 39 define("BELINGO_GEO_VERSION", '1.10. 1');39 define("BELINGO_GEO_VERSION", '1.10.2'); 40 40 41 41 add_action('template_redirect', 'belingoGeo_init_city'); -
belingogeo/trunk/includes/admin/settings.php
r3077769 r3102485 34 34 echo '<p>'.__('In this section, you can manage prices in WooCommerce for each city separately.').'</p>'; 35 35 if (is_plugin_active('belingogeopro/belingoGeoPro.php')) { 36 belingogeopro_woo_price_func(); 36 if(function_exists('belingogeopro_woo_price_func')) { 37 belingogeopro_woo_price_func(); 38 }else{ 39 echo '<p style="color:red;">'.__('You need to update the Pro extension to version 1.10 or higher', 'belingogeo').'</p>'; 40 } 37 41 }else{ 38 42 echo '<p style="color:red;">'.__('Only available for Pro version', 'belingogeo').'</p>'; … … 53 57 echo '<p style="color:red;">'.__('Attention! Loading all cities at once can be difficult and depends on the settings and limitations of your hosting provider. In this case, we recommend splitting the file into several parts.', 'belingogeo').'</p>'; 54 58 if (is_plugin_active('belingogeopro/belingoGeoPro.php')) { 55 belingogeopro_import_func(); 59 if(function_exists('belingogeopro_import_func')) { 60 belingogeopro_import_func(); 61 }else{ 62 echo '<p style="color:red;">'.__('You need to update the Pro extension to version 1.9 or higher', 'belingogeo').'</p>'; 63 } 56 64 }else{ 57 65 echo '<p style="color:red;">'.__('Only available for Pro version', 'belingogeo').'</p>'; … … 66 74 echo '<h1 class="wp-heading-inline">'.__('Export', 'belingogeo').'</h1>'; 67 75 if (is_plugin_active('belingogeopro/belingoGeoPro.php')) { 68 belingogeopro_export_func(); 76 if(function_exists('belingogeopro_export_func')) { 77 belingogeopro_export_func(); 78 }else{ 79 echo '<p style="color:red;">'.__('You need to update the Pro extension to version 1.9 or higher', 'belingogeo').'</p>'; 80 } 69 81 }else{ 70 82 echo '<p style="color:red;">'.__('Only available for Pro version', 'belingogeo').'</p>'; -
belingogeo/trunk/includes/core-functions.php
r3086288 r3102485 485 485 } 486 486 if($belingo_geo_exclude_all_posts) { 487 if($term->taxonomy == 'category' || $term->taxonomy = 'post_tag') {487 if($term->taxonomy == 'category' || $term->taxonomy == 'post_tag') { 488 488 $is_exclude = true; 489 489 } -
belingogeo/trunk/readme.txt
r3080530 r3102485 4 4 Requires at least: 4.4.2 5 5 Tested up to: 6.5.2 6 Stable tag: 1.10. 16 Stable tag: 1.10.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 34 34 35 35 == Changelog == 36 = 1.10.2 = 37 * Fixed incorrect condition in exceptions 38 * Fixed fatal errors when using new versions of the plugin with old pro extensions 39 * Fixed exception if the current city is not in the list. Fixed sitemap when all regular entries are excluded. 40 * Fixed a fatal error in the sitemap when there are no excluded taxonomies. 41 36 42 = 1.10.1 = 37 43 * Fixed WC cache when changing prices for goods and when changing cities
Note: See TracChangeset
for help on using the changeset viewer.