Permalink Manager Lite - Version 2.2.9.7

Version Description

(11/03/2021) = * Enhancement - Support for WooCommerce CSV Product Importer/Exporter added * Enhancement - Better support for relationship field (ACF) * Fix - The custom redirects are now case-insensitive

Download this release

Release Info

Developer mbis
Plugin Icon 128x128 Permalink Manager Lite
Version 2.2.9.7
Comparing to
See all releases

Code changes from version 2.2.9.6 to 2.2.9.7

README.txt CHANGED
@@ -1,13 +1,13 @@
1
  === Permalink Manager Lite ===
2
  Contributors: mbis
3
  Donate link: https://www.paypal.me/Bismit
4
- License: GPLv3
5
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
6
  Tags: permalinks, custom permalinks, url editor, permalinks, woocommerce permalinks
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.4
9
- Tested up to: 5.6.0
10
- Stable tag: 2.2.9.6
11
 
12
  Permalink Manager allows to easily change full URL addresses of posts, pages, custom post types, terms and WooCommerce links. You can also set different permalink formats per language or bulk change the URLs.
13
 
@@ -103,7 +103,15 @@ It is because Permalink Manager overwrites one of the core Wordpress functionali
103
 
104
  == Changelog ==
105
 
106
- = 2.2.9.5/2.2.9.6 =
 
 
 
 
 
 
 
 
107
  * Fix - The custom permalink is generated properly if the product is duplicated in WooCommerce dashboard
108
  * Enhancement - New settings field - "Exclude drafts"
109
  * Enhancement - Minor code improvements
1
  === Permalink Manager Lite ===
2
  Contributors: mbis
3
  Donate link: https://www.paypal.me/Bismit
4
+ License: GPLv2
5
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
6
  Tags: permalinks, custom permalinks, url editor, permalinks, woocommerce permalinks
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.4
9
+ Tested up to: 5.7.1
10
+ Stable tag: 2.2.9.7
11
 
12
  Permalink Manager allows to easily change full URL addresses of posts, pages, custom post types, terms and WooCommerce links. You can also set different permalink formats per language or bulk change the URLs.
13
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.2.9.7 (11/03/2021) =
107
+ * Enhancement - Support for WooCommerce CSV Product Importer/Exporter added
108
+ * Enhancement - Better support for relationship field (ACF)
109
+ * Fix - The custom redirects are now case-insensitive
110
+
111
+ = 2.2.9.6 (08/02/2021) =
112
+ * Fix - Hotfix for WooCommerce coupon related functions
113
+
114
+ = 2.2.9.5 (08/02/2021) =
115
  * Fix - The custom permalink is generated properly if the product is duplicated in WooCommerce dashboard
116
  * Enhancement - New settings field - "Exclude drafts"
117
  * Enhancement - Minor code improvements
includes/core/permalink-manager-admin-functions.php CHANGED
@@ -894,18 +894,10 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
894
  }
895
  }
896
 
897
- // 9. Extra discount
898
- if(self::is_pro_active() == false) {
899
- $html .= sprintf(
900
- "<div class=\"default-permalink-row save-row columns-container hidden\"><div>%s</div></div>",
901
- __('<span><strong>Need more functionalities and dedicated support?</strong> Buy Permalink Manager Pro and apply <a href="https://permalinkmanager.pro/buy-permalink-manager-pro/">PMLITE coupon code</a> to get 10% off.</a></span>', 'permalink-manager')
902
- );
903
- }
904
-
905
- // 10. Custom redirects
906
  $html .= ($element->ID) ? self::display_redirect_panel($id) : self::display_redirect_panel("tax-{$id}");
907
 
908
- // 11. Extra save button for Gutenberg
909
  if($gutenberg) {
910
  $html .= sprintf(
911
  "<div class=\"default-permalink-row save-row columns-container hidden\"><div><a href=\"#\" class=\"button button-primary\" id=\"permalink-manager-save-button\">%s</a></div></div>",
@@ -940,7 +932,7 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
940
  );
941
 
942
  $html .= "<div id=\"redirect-panel-inside\">";
943
- if(self::is_pro_active() && class_exists('Permalink_Manager_Pro_Addons')) {
944
  $html .= Permalink_Manager_Pro_Addons::display_redirect_form($element_id);
945
  } else {
946
  $html .= self::pro_text(true);
894
  }
895
  }
896
 
897
+ // 9. Custom redirects
 
 
 
 
 
 
 
 
898
  $html .= ($element->ID) ? self::display_redirect_panel($id) : self::display_redirect_panel("tax-{$id}");
899
 
900
+ // 10. Extra save button for Gutenberg
901
  if($gutenberg) {
902
  $html .= sprintf(
903
  "<div class=\"default-permalink-row save-row columns-container hidden\"><div><a href=\"#\" class=\"button button-primary\" id=\"permalink-manager-save-button\">%s</a></div></div>",
932
  );
933
 
934
  $html .= "<div id=\"redirect-panel-inside\">";
935
+ if(class_exists('Permalink_Manager_Pro_Addons')) {
936
  $html .= Permalink_Manager_Pro_Addons::display_redirect_form($element_id);
937
  } else {
938
  $html .= self::pro_text(true);
includes/core/permalink-manager-core-functions.php CHANGED
@@ -368,7 +368,11 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
368
  $query[$endpoint] = true;
369
  } else if($endpoint == 'page') {
370
  $endpoint = 'paged';
371
- $query[$endpoint] = $endpoint_value;
 
 
 
 
372
  } else if($endpoint == 'trackback') {
373
  $endpoint = 'tb';
374
  $query[$endpoint] = 1;
@@ -590,6 +594,15 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
590
  $decoded_url = urldecode($uri);
591
  $endpoint_url = "{$uri}/{$endpoint_value}";
592
 
 
 
 
 
 
 
 
 
 
593
  // Check if the URI is not assigned to any post/term's redirects
594
  foreach($permalink_manager_redirects as $element => $redirects) {
595
  if(!is_array($redirects)) { continue; }
368
  $query[$endpoint] = true;
369
  } else if($endpoint == 'page') {
370
  $endpoint = 'paged';
371
+ if(is_numeric($endpoint_value)) {
372
+ $query[$endpoint] = $endpoint_value;
373
+ } else {
374
+ $query = $old_query;
375
+ }
376
  } else if($endpoint == 'trackback') {
377
  $endpoint = 'tb';
378
  $query[$endpoint] = 1;
594
  $decoded_url = urldecode($uri);
595
  $endpoint_url = "{$uri}/{$endpoint_value}";
596
 
597
+ // Convert to lowercase to make case insensitive
598
+ $force_lowercase = apply_filters('permalink_manager_force_lowercase_uris', true);
599
+
600
+ if($force_lowercase) {
601
+ $uri = strtolower($uri);
602
+ $decoded_url = strtolower($decoded_url);
603
+ $endpoint_url = strtolower($endpoint_url);
604
+ }
605
+
606
  // Check if the URI is not assigned to any post/term's redirects
607
  foreach($permalink_manager_redirects as $element => $redirects) {
608
  if(!is_array($redirects)) { continue; }
includes/core/permalink-manager-language-plugins.php CHANGED
@@ -242,8 +242,7 @@ class Permalink_Manager_Language_Plugins extends Permalink_Manager_Class {
242
  if($detected_language_code !== $element_language_code) {
243
  // A. Display the content in requested language
244
  if($mode == 1) {
245
- $wpml_item_id = apply_filters('wpml_object_id', $element_id, $element_type);
246
- $item_id = (is_numeric($wpml_item_id)) ? $wpml_item_id : $item_id;
247
  }
248
  // C. Display "404 error"
249
  else {
242
  if($detected_language_code !== $element_language_code) {
243
  // A. Display the content in requested language
244
  if($mode == 1) {
245
+ $item_id = apply_filters('wpml_object_id', $element_id, $element_type);
 
246
  }
247
  // C. Display "404 error"
248
  else {
includes/core/permalink-manager-third-parties.php CHANGED
@@ -28,19 +28,29 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
28
  add_filter('request', array($this, 'woocommerce_detect'), 20, 1);
29
  add_filter('template_redirect', array($this, 'woocommerce_checkout_fix'), 9);
30
 
31
- if(class_exists('Permalink_Manager_Pro_Functions') && ((empty($permalink_manager_options['general']['partial_disable']['post_types'])) || !in_array('shop_coupon', $permalink_manager_options['general']['partial_disable']['post_types']))) {
32
- if(is_admin()){
33
- add_filter('woocommerce_coupon_data_tabs', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_tabs');
34
- add_action('woocommerce_coupon_data_panels', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_panel');
35
- add_action('woocommerce_coupon_options_save', 'Permalink_Manager_Pro_Functions::woocommerce_save_coupon_uri', 9, 2);
 
 
 
 
36
  }
37
 
38
- add_filter('request', 'Permalink_Manager_Pro_Functions::woocommerce_detect_coupon_code', 1, 1);
39
  add_filter('permalink_manager_disabled_post_types', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_uris', 9, 1);
40
  }
41
 
42
- add_action('woocommerce_product_import_inserted_product_object', array($this, 'woocommerce_generate_permalinks_after_import'), 9, 2);
43
- add_action('woocommerce_product_duplicate', array($this, 'woocommerce_generate_permalinks_after_import'), 9, 2);
 
 
 
 
 
 
 
44
  add_filter('permalink_manager_filter_default_post_uri', array($this, 'woocommerce_product_attributes'), 5, 5);
45
 
46
  if(wp_doing_ajax() && class_exists('SitePress')) {
@@ -208,6 +218,10 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
208
  else if(function_exists('geodir_location_page_id') && !empty($post->ID) && geodir_location_page_id() == $post->ID) {
209
  $wp_query->query_vars['do_not_redirect'] = 1;
210
  }
 
 
 
 
211
  }
212
 
213
  // WPForo
@@ -358,17 +372,17 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
358
  }
359
  }
360
 
361
- function woocommerce_generate_permalinks_after_import($object, $data) {
362
  global $permalink_manager_uris;
363
 
364
- if(!empty($object)) {
365
- $product_id = $object->get_id();
366
 
367
  // Ignore variations
368
- if($object->get_type() !== 'variation') {
369
- $permalink_manager_uris[$product_id] = Permalink_Manager_URI_Functions_Post::get_default_post_uri($product_id, false, true);
370
-
371
- update_option('permalink-manager-uris', $permalink_manager_uris);
372
  }
373
  }
374
  }
@@ -422,6 +436,59 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
422
  return $permalink;
423
  }
424
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  /**
426
  * 5. Theme My Login
427
  */
28
  add_filter('request', array($this, 'woocommerce_detect'), 20, 1);
29
  add_filter('template_redirect', array($this, 'woocommerce_checkout_fix'), 9);
30
 
31
+ if(class_exists('Permalink_Manager_Pro_Functions')) {
32
+ if(empty($permalink_manager_options['general']['partial_disable']['post_types']) || !in_array('shop_coupon', $permalink_manager_options['general']['partial_disable']['post_types'])) {
33
+ if(is_admin()) {
34
+ add_filter('woocommerce_coupon_data_tabs', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_tabs');
35
+ add_action('woocommerce_coupon_data_panels', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_panel');
36
+ add_action('woocommerce_coupon_options_save', 'Permalink_Manager_Pro_Functions::woocommerce_save_coupon_uri', 9, 2);
37
+ }
38
+
39
+ add_filter('request', 'Permalink_Manager_Pro_Functions::woocommerce_detect_coupon_code', 1, 1);
40
  }
41
 
 
42
  add_filter('permalink_manager_disabled_post_types', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_uris', 9, 1);
43
  }
44
 
45
+ // WooCommerce Import/Export
46
+ add_filter('woocommerce_product_export_product_default_columns', array($this, 'woocommerce_csv_custom_uri_column'), 9);
47
+ add_filter('woocommerce_product_export_product_column_custom_uri', array($this, 'woocommerce_export_custom_uri_value'), 9, 3);
48
+
49
+ add_filter('woocommerce_csv_product_import_mapping_options', array($this, 'woocommerce_csv_custom_uri_column'), 9);
50
+ add_filter('woocommerce_csv_product_import_mapping_default_columns', array($this, 'woocommerce_csv_custom_uri_column'), 9);
51
+ add_action('woocommerce_product_import_inserted_product_object', array($this, 'woocommerce_csv_import_custom_uri'), 9, 2);
52
+
53
+ add_action('woocommerce_product_duplicate', array($this, 'woocommerce_generate_permalinks_after_duplicate'), 9, 2);
54
  add_filter('permalink_manager_filter_default_post_uri', array($this, 'woocommerce_product_attributes'), 5, 5);
55
 
56
  if(wp_doing_ajax() && class_exists('SitePress')) {
218
  else if(function_exists('geodir_location_page_id') && !empty($post->ID) && geodir_location_page_id() == $post->ID) {
219
  $wp_query->query_vars['do_not_redirect'] = 1;
220
  }
221
+ // RankMath Pro
222
+ else if(isset($query_vars['schema-preview'])) {
223
+ $wp_query->query_vars['do_not_redirect'] = 1;
224
+ }
225
  }
226
 
227
  // WPForo
372
  }
373
  }
374
 
375
+ function woocommerce_generate_permalinks_after_duplicate($new_product, $old_product) {
376
  global $permalink_manager_uris;
377
 
378
+ if(!empty($new_product)) {
379
+ $product_id = $new_product->get_id();
380
 
381
  // Ignore variations
382
+ if($new_product->get_type() !== 'variation') {
383
+ $custom_uri = Permalink_Manager_URI_Functions_Post::get_default_post_uri($product_id, false, true);
384
+
385
+ Permalink_Manager_URI_Functions::save_single_uri($product_id, $custom_uri, false, true);
386
  }
387
  }
388
  }
436
  return $permalink;
437
  }
438
 
439
+ /**
440
+ * 4A. WooCommerce CSV Import/Export
441
+ */
442
+ function woocommerce_csv_custom_uri_column($columns) {
443
+ if(!is_array($columns)) { return $columns; }
444
+
445
+ $label = __('Custom URI', 'permalink-manager');
446
+ $key = 'custom_uri';
447
+
448
+ if(current_filter() == 'woocommerce_csv_product_import_mapping_default_columns') {
449
+ $columns[$label] = $key;
450
+ } else {
451
+ $columns[$key] = $label;
452
+ }
453
+
454
+ return $columns;
455
+ }
456
+
457
+ function woocommerce_export_custom_uri_value($value, $product, $column_id) {
458
+ if(empty($value) && !empty($product)) {
459
+ $product_id = $product->get_id();
460
+
461
+ // Get custom permalink or default permalink
462
+ $value = Permalink_Manager_URI_Functions_Post::get_post_uri($product_id);
463
+ }
464
+
465
+ return $value;
466
+ }
467
+
468
+ function woocommerce_csv_import_custom_uri($product, $data) {
469
+ global $permalink_manager_uris;
470
+
471
+ if(!empty($product)) {
472
+ $product_id = $product->get_id();
473
+
474
+ // Ignore variations
475
+ if($product->get_type() == 'variation') {
476
+ return;
477
+ }
478
+
479
+ // A. Use default permalink if "Custom URI" is not set and did not exist before
480
+ if(empty($permalink_manager_uris[$product_id]) && empty($data['custom_uri'])) {
481
+ $custom_uri = Permalink_Manager_URI_Functions_Post::get_default_post_uri($product_id, false, true);
482
+ } else if(!empty($data['custom_uri'])) {
483
+ $custom_uri = Permalink_Manager_Helper_Functions::sanitize_title($data['custom_uri']);
484
+ } else {
485
+ return;
486
+ }
487
+
488
+ Permalink_Manager_URI_Functions::save_single_uri($product_id, $custom_uri, false, true);
489
+ }
490
+ }
491
+
492
  /**
493
  * 5. Theme My Login
494
  */
includes/views/permalink-manager-settings.php CHANGED
@@ -168,7 +168,7 @@ class Permalink_Manager_Settings extends Permalink_Manager_Class {
168
  'type' => 'single_checkbox',
169
  'label' => __('Breadcrumbs support', 'permalink-manager'),
170
  'input_class' => '',
171
- 'description' => __('If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast SEO, RankMath and SEOPress</strong> breadcrumbs.', 'permalink-manager')
172
  )
173
  )
174
  ),
168
  'type' => 'single_checkbox',
169
  'label' => __('Breadcrumbs support', 'permalink-manager'),
170
  'input_class' => '',
171
+ 'description' => __('If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast SEO, Slim Seo, RankMath and SEOPress</strong> breadcrumbs.', 'permalink-manager')
172
  )
173
  )
174
  ),
languages/permalink-manager-ja.mo CHANGED
Binary file
languages/permalink-manager-ja.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Permalink Manager Lite\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-23 20:44+0000\n"
6
- "PO-Revision-Date: 2021-02-05 17:23+0000\n"
7
  "Last-Translator: admin\n"
8
  "Language-Team: Japanese\n"
9
  "Language: ja\n"
@@ -22,7 +22,7 @@ msgstr ""
22
  "<a href=\"mailto:contact@permalinkmanager.pro\">contact@permalinkmanager."
23
  "pro</a>まで、ご意見をお送り下さい。"
24
 
25
- #: includes/core/permalink-manager-third-parties.php:299
26
  msgid "\"Custom Permalinks\" URIs were imported!"
27
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
28
 
@@ -65,17 +65,6 @@ msgstr "302 リダイレクト"
65
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
66
  msgstr "更新されたスラッグのリストは、<a %s>ここをクリック</a> "
67
 
68
- #: includes/core/permalink-manager-admin-functions.php:901
69
- #, php-format
70
- msgid ""
71
- "<span><strong>Need more functionalities and dedicated support?</strong> Buy "
72
- "Permalink Manager Pro and apply <a href=\"https://permalinkmanager.pro/buy-"
73
- "permalink-manager-pro/\">PMLITE coupon code</a> to get 10% off.</a></span>"
74
- msgstr ""
75
- "<span><strong>さらなる機能と専用サポートが必要ですか?</strong>Permalink Manager "
76
- "Proを購入して10%割引の<a href=\"https://permalinkmanager.pro/buy-permalink-manager-"
77
- "pro/\">PMLITEクーポンコード</a>を適用してください。</a></span>"
78
-
79
  #: includes/core/permalink-manager-admin-functions.php:716
80
  #, php-format
81
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
@@ -358,7 +347,8 @@ msgstr "カスタム パーマリンク"
358
  msgid "Custom redirects"
359
  msgstr "カスタム リダイレクト"
360
 
361
- #: includes/core/permalink-manager-third-parties.php:698
 
362
  #: includes/core/permalink-manager-uri-functions-tax.php:488
363
  #: includes/views/permalink-manager-tools.php:70
364
  msgid "Custom URI"
@@ -585,7 +575,7 @@ msgid ""
585
  "the posts imported with WP All Import plugin."
586
  msgstr ""
587
 
588
- #: includes/core/permalink-manager-third-parties.php:699
589
  #, php-format
590
  msgid ""
591
  "If empty, a default permalink based on your current <a href=\"%s\" "
@@ -655,7 +645,7 @@ msgstr ""
655
  msgid ""
656
  "If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to "
657
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
658
- "SEO, RankMath and SEOPress</strong> breadcrumbs."
659
  msgstr ""
660
 
661
  #: includes/views/permalink-manager-settings.php:187
@@ -795,7 +785,7 @@ msgstr "更新済みのアイテムのリスト"
795
  msgid "Maciej Bis"
796
  msgstr "Maciej Bis"
797
 
798
- #: includes/core/permalink-manager-admin-functions.php:939
799
  msgid "Manage redirects"
800
  msgstr "リダイレクトを管理"
801
 
@@ -827,7 +817,7 @@ msgstr "新しいURI"
827
  msgid "No"
828
  msgstr "いいえ"
829
 
830
- #: includes/core/permalink-manager-third-parties.php:302
831
  msgid "No \"Custom Permalinks\" URIs were imported!"
832
  msgstr "「カスタム パーマリンク」 URIはインポートされませんでした!"
833
 
@@ -887,7 +877,7 @@ msgstr "ページ毎"
887
  msgid "Permalink Duplicates"
888
  msgstr "重複したパーマリンク"
889
 
890
- #: includes/core/permalink-manager-third-parties.php:694
891
  #: includes/core/permalink-manager-gutenberg.php:29
892
  #: includes/core/permalink-manager-admin-functions.php:111
893
  #: includes/core/permalink-manager-admin-functions.php:111
@@ -1079,7 +1069,7 @@ msgstr "以下の全てのURIを保存する"
1079
  msgid "Save old custom permalinks as redirects"
1080
  msgstr ""
1081
 
1082
- #: includes/core/permalink-manager-admin-functions.php:912
1083
  msgid "Save permalink"
1084
  msgstr "パーマリンクを保存する"
1085
 
@@ -1270,7 +1260,7 @@ msgstr ""
1270
  "この機能は、(古い)オリジナルのパーマリンクをPermalink Managerで設定された(新しい)カスタム "
1271
  "パーマリンクにリダイレクトするために使用されます。"
1272
 
1273
- #: includes/core/permalink-manager-admin-functions.php:1057
1274
  #, php-format
1275
  msgid ""
1276
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
3
  "Project-Id-Version: Permalink Manager Lite\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-23 20:44+0000\n"
6
+ "PO-Revision-Date: 2021-02-25 15:36+0000\n"
7
  "Last-Translator: admin\n"
8
  "Language-Team: Japanese\n"
9
  "Language: ja\n"
22
  "<a href=\"mailto:contact@permalinkmanager.pro\">contact@permalinkmanager."
23
  "pro</a>まで、ご意見をお送り下さい。"
24
 
25
+ #: includes/core/permalink-manager-third-parties.php:313
26
  msgid "\"Custom Permalinks\" URIs were imported!"
27
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
28
 
65
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
66
  msgstr "更新されたスラッグのリストは、<a %s>ここをクリック</a> "
67
 
 
 
 
 
 
 
 
 
 
 
 
68
  #: includes/core/permalink-manager-admin-functions.php:716
69
  #, php-format
70
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
347
  msgid "Custom redirects"
348
  msgstr "カスタム リダイレクト"
349
 
350
+ #: includes/core/permalink-manager-third-parties.php:445
351
+ #: includes/core/permalink-manager-third-parties.php:765
352
  #: includes/core/permalink-manager-uri-functions-tax.php:488
353
  #: includes/views/permalink-manager-tools.php:70
354
  msgid "Custom URI"
575
  "the posts imported with WP All Import plugin."
576
  msgstr ""
577
 
578
+ #: includes/core/permalink-manager-third-parties.php:766
579
  #, php-format
580
  msgid ""
581
  "If empty, a default permalink based on your current <a href=\"%s\" "
645
  msgid ""
646
  "If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to "
647
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
648
+ "SEO, Slim Seo, RankMath and SEOPress</strong> breadcrumbs."
649
  msgstr ""
650
 
651
  #: includes/views/permalink-manager-settings.php:187
785
  msgid "Maciej Bis"
786
  msgstr "Maciej Bis"
787
 
788
+ #: includes/core/permalink-manager-admin-functions.php:931
789
  msgid "Manage redirects"
790
  msgstr "リダイレクトを管理"
791
 
817
  msgid "No"
818
  msgstr "いいえ"
819
 
820
+ #: includes/core/permalink-manager-third-parties.php:316
821
  msgid "No \"Custom Permalinks\" URIs were imported!"
822
  msgstr "「カスタム パーマリンク」 URIはインポートされませんでした!"
823
 
877
  msgid "Permalink Duplicates"
878
  msgstr "重複したパーマリンク"
879
 
880
+ #: includes/core/permalink-manager-third-parties.php:761
881
  #: includes/core/permalink-manager-gutenberg.php:29
882
  #: includes/core/permalink-manager-admin-functions.php:111
883
  #: includes/core/permalink-manager-admin-functions.php:111
1069
  msgid "Save old custom permalinks as redirects"
1070
  msgstr ""
1071
 
1072
+ #: includes/core/permalink-manager-admin-functions.php:904
1073
  msgid "Save permalink"
1074
  msgstr "パーマリンクを保存する"
1075
 
1260
  "この機能は、(古い)オリジナルのパーマリンクをPermalink Managerで設定された(新しい)カスタム "
1261
  "パーマリンクにリダイレクトするために使用されます。"
1262
 
1263
+ #: includes/core/permalink-manager-admin-functions.php:1049
1264
  #, php-format
1265
  msgid ""
1266
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
languages/permalink-manager.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2021-02-05 17:20+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -20,7 +20,7 @@ msgid ""
20
  "contact@permalinkmanager.pro</a>."
21
  msgstr ""
22
 
23
- #: includes/core/permalink-manager-third-parties.php:299
24
  msgid "\"Custom Permalinks\" URIs were imported!"
25
  msgstr ""
26
 
@@ -63,14 +63,6 @@ msgstr ""
63
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
64
  msgstr ""
65
 
66
- #: includes/core/permalink-manager-admin-functions.php:901
67
- #, php-format
68
- msgid ""
69
- "<span><strong>Need more functionalities and dedicated support?</strong> Buy "
70
- "Permalink Manager Pro and apply <a href=\"https://permalinkmanager.pro/buy-"
71
- "permalink-manager-pro/\">PMLITE coupon code</a> to get 10% off.</a></span>"
72
- msgstr ""
73
-
74
  #: includes/core/permalink-manager-admin-functions.php:716
75
  #, php-format
76
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
@@ -334,7 +326,8 @@ msgstr ""
334
  msgid "Custom redirects"
335
  msgstr ""
336
 
337
- #: includes/core/permalink-manager-third-parties.php:698
 
338
  #: includes/core/permalink-manager-uri-functions-tax.php:488
339
  #: includes/views/permalink-manager-tools.php:70
340
  msgid "Custom URI"
@@ -555,7 +548,7 @@ msgid ""
555
  "the posts imported with WP All Import plugin."
556
  msgstr ""
557
 
558
- #: includes/core/permalink-manager-third-parties.php:699
559
  #, php-format
560
  msgid ""
561
  "If empty, a default permalink based on your current <a href=\"%s\" "
@@ -613,7 +606,7 @@ msgstr ""
613
  msgid ""
614
  "If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to "
615
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
616
- "SEO, RankMath and SEOPress</strong> breadcrumbs."
617
  msgstr ""
618
 
619
  #: includes/views/permalink-manager-settings.php:187
@@ -745,7 +738,7 @@ msgstr ""
745
  msgid "Maciej Bis"
746
  msgstr ""
747
 
748
- #: includes/core/permalink-manager-admin-functions.php:939
749
  msgid "Manage redirects"
750
  msgstr ""
751
 
@@ -777,7 +770,7 @@ msgstr ""
777
  msgid "No"
778
  msgstr ""
779
 
780
- #: includes/core/permalink-manager-third-parties.php:302
781
  msgid "No \"Custom Permalinks\" URIs were imported!"
782
  msgstr ""
783
 
@@ -835,7 +828,7 @@ msgstr ""
835
  msgid "Permalink Duplicates"
836
  msgstr ""
837
 
838
- #: includes/core/permalink-manager-third-parties.php:694
839
  #: includes/core/permalink-manager-gutenberg.php:29
840
  #: includes/core/permalink-manager-admin-functions.php:111
841
  #: includes/core/permalink-manager-admin-functions.php:111
@@ -1023,7 +1016,7 @@ msgstr ""
1023
  msgid "Save old custom permalinks as redirects"
1024
  msgstr ""
1025
 
1026
- #: includes/core/permalink-manager-admin-functions.php:912
1027
  msgid "Save permalink"
1028
  msgstr ""
1029
 
@@ -1205,7 +1198,7 @@ msgid ""
1205
  " custom permalinks set with Permalink Manager."
1206
  msgstr ""
1207
 
1208
- #: includes/core/permalink-manager-admin-functions.php:1057
1209
  #, php-format
1210
  msgid ""
1211
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2021-02-25 15:35+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
20
  "contact@permalinkmanager.pro</a>."
21
  msgstr ""
22
 
23
+ #: includes/core/permalink-manager-third-parties.php:313
24
  msgid "\"Custom Permalinks\" URIs were imported!"
25
  msgstr ""
26
 
63
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
64
  msgstr ""
65
 
 
 
 
 
 
 
 
 
66
  #: includes/core/permalink-manager-admin-functions.php:716
67
  #, php-format
68
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
326
  msgid "Custom redirects"
327
  msgstr ""
328
 
329
+ #: includes/core/permalink-manager-third-parties.php:445
330
+ #: includes/core/permalink-manager-third-parties.php:765
331
  #: includes/core/permalink-manager-uri-functions-tax.php:488
332
  #: includes/views/permalink-manager-tools.php:70
333
  msgid "Custom URI"
548
  "the posts imported with WP All Import plugin."
549
  msgstr ""
550
 
551
+ #: includes/core/permalink-manager-third-parties.php:766
552
  #, php-format
553
  msgid ""
554
  "If empty, a default permalink based on your current <a href=\"%s\" "
606
  msgid ""
607
  "If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to "
608
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
609
+ "SEO, Slim Seo, RankMath and SEOPress</strong> breadcrumbs."
610
  msgstr ""
611
 
612
  #: includes/views/permalink-manager-settings.php:187
738
  msgid "Maciej Bis"
739
  msgstr ""
740
 
741
+ #: includes/core/permalink-manager-admin-functions.php:931
742
  msgid "Manage redirects"
743
  msgstr ""
744
 
770
  msgid "No"
771
  msgstr ""
772
 
773
+ #: includes/core/permalink-manager-third-parties.php:316
774
  msgid "No \"Custom Permalinks\" URIs were imported!"
775
  msgstr ""
776
 
828
  msgid "Permalink Duplicates"
829
  msgstr ""
830
 
831
+ #: includes/core/permalink-manager-third-parties.php:761
832
  #: includes/core/permalink-manager-gutenberg.php:29
833
  #: includes/core/permalink-manager-admin-functions.php:111
834
  #: includes/core/permalink-manager-admin-functions.php:111
1016
  msgid "Save old custom permalinks as redirects"
1017
  msgstr ""
1018
 
1019
+ #: includes/core/permalink-manager-admin-functions.php:904
1020
  msgid "Save permalink"
1021
  msgstr ""
1022
 
1198
  " custom permalinks set with Permalink Manager."
1199
  msgstr ""
1200
 
1201
+ #: includes/core/permalink-manager-admin-functions.php:1049
1202
  #, php-format
1203
  msgid ""
1204
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
permalink-manager.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Permalink Manager Lite
5
  * Plugin URI: https://permalinkmanager.pro?utm_source=plugin
6
  * Description: Advanced plugin that allows to set-up custom permalinks (bulk editors included), slugs and permastructures (WooCommerce compatible).
7
- * Version: 2.2.9.6
8
  * Author: Maciej Bis
9
  * Author URI: http://maciejbis.net/
10
  * License: GPL-2.0+
@@ -12,7 +12,7 @@
12
  * Text Domain: permalink-manager
13
  * Domain Path: /languages
14
  * WC requires at least: 3.0.0
15
- * WC tested up to: 4.8.0
16
  */
17
 
18
  // If this file is called directly or plugin is already defined, abort.
@@ -25,7 +25,7 @@ if(!class_exists('Permalink_Manager_Class')) {
25
  // Define the directories used to load plugin files.
26
  define( 'PERMALINK_MANAGER_PLUGIN_NAME', 'Permalink Manager' );
27
  define( 'PERMALINK_MANAGER_PLUGIN_SLUG', 'permalink-manager' );
28
- define( 'PERMALINK_MANAGER_VERSION', '2.2.9.6' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));
4
  * Plugin Name: Permalink Manager Lite
5
  * Plugin URI: https://permalinkmanager.pro?utm_source=plugin
6
  * Description: Advanced plugin that allows to set-up custom permalinks (bulk editors included), slugs and permastructures (WooCommerce compatible).
7
+ * Version: 2.2.9.7
8
  * Author: Maciej Bis
9
  * Author URI: http://maciejbis.net/
10
  * License: GPL-2.0+
12
  * Text Domain: permalink-manager
13
  * Domain Path: /languages
14
  * WC requires at least: 3.0.0
15
+ * WC tested up to: 5.2.2
16
  */
17
 
18
  // If this file is called directly or plugin is already defined, abort.
25
  // Define the directories used to load plugin files.
26
  define( 'PERMALINK_MANAGER_PLUGIN_NAME', 'Permalink Manager' );
27
  define( 'PERMALINK_MANAGER_PLUGIN_SLUG', 'permalink-manager' );
28
+ define( 'PERMALINK_MANAGER_VERSION', '2.2.9.7' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));