Permalink Manager Lite - Version 2.2.9.9

Version Description

Download this release

Release Info

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

Code changes from version 2.2.9.7 to 2.2.9.9

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: permalinks, custom permalinks, url editor, permalinks, woocommerce permali
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,6 +103,13 @@ It is because Permalink Manager overwrites one of the core Wordpress functionali
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)
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.9
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.8 (26/04/2021) =
107
+ * Fix - The old native slug is now correctly saved after it is changed in URI Editor.
108
+ * Enhancement - The post type archives are now also added to the filtered breadcrumbs trail
109
+ * Enhancement - Basic support added for WP All Export plugin
110
+ * Enhancement - Basic support added for AMP for WP
111
+ * Dev - (Permalink Manager Pro only) "Plugin Update Checker" by YahnisElsts library updated to 4.11 version
112
+
113
  = 2.2.9.7 (11/03/2021) =
114
  * Enhancement - Support for WooCommerce CSV Product Importer/Exporter added
115
  * Enhancement - Better support for relationship field (ACF)
includes/core/permalink-manager-helper-functions.php CHANGED
@@ -251,7 +251,26 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
251
  $disabled_post_types = self::get_disabled_post_types(!$include_user_excluded);
252
 
253
  foreach($wp_post_types as $post_type) {
254
- $post_types_array[$post_type->name] = ($format == 'full') ? array('label' => $post_type->labels->name, 'name' => $post_type->name) : $post_type->labels->name;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  }
256
 
257
  if(is_array($disabled_post_types)) {
251
  $disabled_post_types = self::get_disabled_post_types(!$include_user_excluded);
252
 
253
  foreach($wp_post_types as $post_type) {
254
+ if($format == 'full') {
255
+ $post_types_array[$post_type->name] = array('label' => $post_type->labels->name, 'name' => $post_type->name);
256
+ } else if($format == 'archive_slug') {
257
+ // Ignore non-public post types
258
+ if(!is_post_type_viewable($post_type) || empty($post_type->has_archive)) {
259
+ continue;
260
+ }
261
+
262
+ if($post_type->has_archive != true) {
263
+ $archive_slug = $post_type->has_archive;
264
+ } else if(is_array($post_type->rewrite) && !empty($post_type->rewrite['slug'])) {
265
+ $archive_slug = $post_type->rewrite['slug'];
266
+ } else {
267
+ $archive_slug = $post_type->name;
268
+ }
269
+
270
+ $post_types_array[$post_type->name] = $archive_slug;
271
+ } else {
272
+ $post_types_array[$post_type->name] = $post_type->labels->name;
273
+ }
274
  }
275
 
276
  if(is_array($disabled_post_types)) {
includes/core/permalink-manager-third-parties.php CHANGED
@@ -16,13 +16,16 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
16
  // 0. Stop redirect
17
  add_action('wp', array($this, 'stop_redirect'), 0);
18
 
19
- // 2. AMP
20
  if(defined('AMP_QUERY_VAR')) {
21
- // Detect AMP endpoint
22
  add_filter('permalink_manager_detect_uri', array($this, 'detect_amp'), 10, 2);
23
  add_filter('request', array($this, 'enable_amp'), 10, 1);
24
  }
25
 
 
 
 
 
26
  // 4. WooCommerce
27
  if(class_exists('WooCommerce')) {
28
  add_filter('request', array($this, 'woocommerce_detect'), 20, 1);
@@ -37,9 +40,8 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
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
@@ -104,47 +106,54 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
104
  add_action('wpai_regenerate_uris_after_import_event', array($this, 'wpai_regenerate_uris_after_import'), 10, 1);
105
  }
106
 
107
- // 11. Duplicate Post
 
 
 
 
 
 
 
108
  if(defined('DUPLICATE_POST_CURRENT_VERSION')) {
109
- add_action('dp_duplicate_post', array($this, 'duplicate_custom_uri'), 10, 2);
110
- add_action('dp_duplicate_page', array($this, 'duplicate_custom_uri'), 10, 2);
111
  }
112
 
113
- // 12. My Listing by 27collective
114
  if(class_exists('\MyListing\Post_Types')) {
115
  add_filter('permalink_manager_filter_default_post_uri', array($this, 'ml_listing_custom_fields'), 5, 5 );
116
  add_action('mylisting/submission/save-listing-data', array($this, 'ml_set_listing_uri'), 100);
117
  add_filter('permalink_manager_filter_query', array($this, 'ml_detect_archives'), 1);
118
  }
119
 
120
- // 13. bbPress
121
  if(class_exists('bbPress') && function_exists('bbp_get_edit_slug')) {
122
  add_filter('permalink_manager_endpoints', array($this, 'bbpress_endpoints'), 9);
123
  add_action('wp', array($this, 'bbpress_detect_endpoints'), 0);
124
  }
125
 
126
- // 14. Dokan
127
  if(class_exists('WeDevs_Dokan')) {
128
  add_action('wp', array($this, 'dokan_detect_endpoints'), 999);
129
  add_filter('permalink_manager_endpoints', array($this,'dokan_endpoints'));
130
  }
131
 
132
- // 15. GeoDirectory
133
  if(class_exists('GeoDirectory')) {
134
  add_filter('permalink_manager_filter_default_post_uri', array($this, 'geodir_custom_fields'), 5, 5 );
135
  }
136
 
137
- // 16. BasePress
138
  if(class_exists('Basepress')) {
139
  add_filter('permalink_manager_filter_query', array($this, 'kb_adjust_query'), 5, 5);
140
  }
141
 
142
- // 17. Ultimate Member
143
  if(class_exists('UM') && !(empty($permalink_manager_options['general']['um_support']))) {
144
  add_filter('permalink_manager_detect_uri', array($this, 'um_detect_extra_pages'), 20);
145
  }
146
 
147
- // 18. WooCommerce Subscriptions
148
  if(class_exists('WC_Subscriptions')) {
149
  add_filter('permalink_manager_filter_final_post_permalink', array($this, 'fix_wcs_subscription_links'), 10, 3);
150
  }
@@ -222,6 +231,10 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
222
  else if(isset($query_vars['schema-preview'])) {
223
  $wp_query->query_vars['do_not_redirect'] = 1;
224
  }
 
 
 
 
225
  }
226
 
227
  // WPForo
@@ -261,6 +274,24 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
261
  return $query;
262
  }
263
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  /**
265
  * 3. Parse Custom Permalinks import
266
  */
@@ -381,7 +412,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
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
  }
@@ -574,9 +605,9 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
574
  /**
575
  * 7. Breadcrumbs
576
  */
577
- function filter_breadcrumbs($links) {
578
  // Get post type permastructure settings
579
- global $permalink_manager_uris, $permalink_manager_options, $post, $wpdb, $wp, $wp_current_filter;
580
 
581
  // Check if the filter should be activated
582
  if(empty($permalink_manager_options['general']['yoast_breadcrumbs']) || empty($permalink_manager_uris)) { return $links; }
@@ -600,8 +631,9 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
600
  $custom_uri_parts = explode('/', trim($custom_uri));
601
  $breadcrumbs = array();
602
  $snowball = '';
603
- $available_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array();
604
- $available_post_types = Permalink_Manager_Helper_Functions::get_post_types_array();
 
605
  $current_filter = end($wp_current_filter);
606
 
607
  // Get Yoast Meta (the breadcrumbs titles can be changed in Yoast metabox)
@@ -640,6 +672,12 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
640
  $element = $wpdb->get_row($sql);
641
  }
642
 
 
 
 
 
 
 
643
  // 2A. When the term is found, we can add it to the breadcrumbs
644
  if(!empty($element->term_id)) {
645
  $term_id = apply_filters('wpml_object_id', $element->term_id, $element->taxonomy, true);
@@ -665,6 +703,13 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
665
  'url' => get_permalink($page->ID),
666
  );
667
  }
 
 
 
 
 
 
 
668
  }
669
 
670
  // Add new links to current breadcrumbs array
@@ -898,7 +943,45 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
898
  }
899
 
900
  /**
901
- * 11. Duplicate Page
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
902
  */
903
  function duplicate_custom_uri($new_post_id, $old_post) {
904
  global $permalink_manager_uris;
@@ -921,7 +1004,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
921
  }
922
 
923
  /**
924
- * 12. My Listing by 27collective
925
  */
926
  public function ml_listing_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
927
  global $permalink_manager_uris;
@@ -1037,7 +1120,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1037
  }
1038
 
1039
  /**
1040
- * 13. bbPress
1041
  */
1042
  function bbpress_endpoints($endpoints, $all = true) {
1043
  $bbpress_endpoints = array();
@@ -1066,7 +1149,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1066
  }
1067
 
1068
  /**
1069
- * 14. Dokan
1070
  **/
1071
  function dokan_endpoints($endpoints) {
1072
  return "{$endpoints}|edit|edit-account";
@@ -1101,7 +1184,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1101
  }
1102
 
1103
  /**
1104
- * 15. GeoDirectory
1105
  */
1106
  public function geodir_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
1107
  global $permalink_manager_uris;
@@ -1147,7 +1230,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1147
  }
1148
 
1149
  /**
1150
- * 16. BasePress
1151
  */
1152
  function kb_adjust_query($query, $old_query, $uri_parts, $pm_query, $content_type) {
1153
  $knowledgebase_options = get_option('basepress_settings');
@@ -1177,7 +1260,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1177
  }
1178
 
1179
  /**
1180
- * 17. Ultimate Member
1181
  */
1182
  public function um_detect_extra_pages($uri_parts) {
1183
  global $permalink_manager_uris;
@@ -1210,7 +1293,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1210
  }
1211
 
1212
  /**
1213
- * 18. WooCommerce Subscriptions
1214
  */
1215
  function fix_wcs_subscription_links($permalink, $post, $old_permalink) {
1216
  if(!empty($post->post_type) && $post->post_type == 'product' && strpos($old_permalink, 'switch-subscription=') !== false) {
@@ -1222,7 +1305,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1222
  }
1223
 
1224
  /**
1225
- * 19. Store Locator - CSV Manager
1226
  */
1227
  public function wpsl_regenerate_after_import($meta_id, $post_id, $meta_key, $meta_value) {
1228
  global $permalink_manager_uris;
16
  // 0. Stop redirect
17
  add_action('wp', array($this, 'stop_redirect'), 0);
18
 
19
+ // 2. AMP & AMP for WP
20
  if(defined('AMP_QUERY_VAR')) {
 
21
  add_filter('permalink_manager_detect_uri', array($this, 'detect_amp'), 10, 2);
22
  add_filter('request', array($this, 'enable_amp'), 10, 1);
23
  }
24
 
25
+ if(defined('AMPFORWP_AMP_QUERY_VAR')) {
26
+ add_filter('permalink_manager_filter_query', array($this, 'detect_amp_for_wp'), 5);
27
+ }
28
+
29
  // 4. WooCommerce
30
  if(class_exists('WooCommerce')) {
31
  add_filter('request', array($this, 'woocommerce_detect'), 20, 1);
40
  }
41
 
42
  add_filter('request', 'Permalink_Manager_Pro_Functions::woocommerce_detect_coupon_code', 1, 1);
43
+ add_filter('permalink_manager_disabled_post_types', 'Permalink_Manager_Pro_Functions::woocommerce_coupon_uris', 9, 1);
44
  }
 
 
45
  }
46
 
47
  // WooCommerce Import/Export
106
  add_action('wpai_regenerate_uris_after_import_event', array($this, 'wpai_regenerate_uris_after_import'), 10, 1);
107
  }
108
 
109
+ // 11. WP All Export
110
+ if(class_exists('PMXE_Plugin') && (!empty($permalink_manager_options['general']['pmxi_support']))) {
111
+ add_filter('pmxe_available_sections', array($this, 'wpae_custom_uri_section'), 9);
112
+ add_filter('wp_all_export_available_data', array($this, 'wpae_custom_uri_section_fields'), 9);
113
+ add_filter('wp_all_export_csv_rows', array($this,'wpae_export_custom_uri'), 10, 2);
114
+ }
115
+
116
+ // 12. Duplicate Post
117
  if(defined('DUPLICATE_POST_CURRENT_VERSION')) {
118
+ add_action('dp_duplicate_post', array($this, 'duplicate_custom_uri'), 100, 2);
119
+ add_action('dp_duplicate_page', array($this, 'duplicate_custom_uri'), 100, 2);
120
  }
121
 
122
+ // 13. My Listing by 27collective
123
  if(class_exists('\MyListing\Post_Types')) {
124
  add_filter('permalink_manager_filter_default_post_uri', array($this, 'ml_listing_custom_fields'), 5, 5 );
125
  add_action('mylisting/submission/save-listing-data', array($this, 'ml_set_listing_uri'), 100);
126
  add_filter('permalink_manager_filter_query', array($this, 'ml_detect_archives'), 1);
127
  }
128
 
129
+ // 14. bbPress
130
  if(class_exists('bbPress') && function_exists('bbp_get_edit_slug')) {
131
  add_filter('permalink_manager_endpoints', array($this, 'bbpress_endpoints'), 9);
132
  add_action('wp', array($this, 'bbpress_detect_endpoints'), 0);
133
  }
134
 
135
+ // 15. Dokan
136
  if(class_exists('WeDevs_Dokan')) {
137
  add_action('wp', array($this, 'dokan_detect_endpoints'), 999);
138
  add_filter('permalink_manager_endpoints', array($this,'dokan_endpoints'));
139
  }
140
 
141
+ // 16. GeoDirectory
142
  if(class_exists('GeoDirectory')) {
143
  add_filter('permalink_manager_filter_default_post_uri', array($this, 'geodir_custom_fields'), 5, 5 );
144
  }
145
 
146
+ // 17. BasePress
147
  if(class_exists('Basepress')) {
148
  add_filter('permalink_manager_filter_query', array($this, 'kb_adjust_query'), 5, 5);
149
  }
150
 
151
+ // 18. Ultimate Member
152
  if(class_exists('UM') && !(empty($permalink_manager_options['general']['um_support']))) {
153
  add_filter('permalink_manager_detect_uri', array($this, 'um_detect_extra_pages'), 20);
154
  }
155
 
156
+ // 19. WooCommerce Subscriptions
157
  if(class_exists('WC_Subscriptions')) {
158
  add_filter('permalink_manager_filter_final_post_permalink', array($this, 'fix_wcs_subscription_links'), 10, 3);
159
  }
231
  else if(isset($query_vars['schema-preview'])) {
232
  $wp_query->query_vars['do_not_redirect'] = 1;
233
  }
234
+ // Theme.co - Pro Theme
235
+ else if(!empty($_POST['_cs_nonce'])) {
236
+ $wp_query->query_vars['do_not_redirect'] = 1;
237
+ }
238
  }
239
 
240
  // WPForo
274
  return $query;
275
  }
276
 
277
+ function detect_amp_for_wp($query) {
278
+ global $wp_rewrite, $pm_query;
279
+
280
+ $amp_endpoint = AMPFORWP_AMP_QUERY_VAR;
281
+ $paged_endpoint = $wp_rewrite->pagination_base;
282
+
283
+ if(!empty($pm_query['endpoint']) && strpos($pm_query['endpoint_value'], "{$paged_endpoint}/") !== false) {
284
+ $paged_val = preg_replace("/({$paged_endpoint}\/)([\d]+)/", '$2', $pm_query['endpoint_value']);
285
+
286
+ if(!empty($paged_val)) {
287
+ $query[$amp_endpoint] = 1;
288
+ $query['paged'] = $paged_val;
289
+ }
290
+ }
291
+
292
+ return $query;
293
+ }
294
+
295
  /**
296
  * 3. Parse Custom Permalinks import
297
  */
412
  // Ignore variations
413
  if($new_product->get_type() !== 'variation') {
414
  $custom_uri = Permalink_Manager_URI_Functions_Post::get_default_post_uri($product_id, false, true);
415
+
416
  Permalink_Manager_URI_Functions::save_single_uri($product_id, $custom_uri, false, true);
417
  }
418
  }
605
  /**
606
  * 7. Breadcrumbs
607
  */
608
+ function filter_breadcrumbs($links) {
609
  // Get post type permastructure settings
610
+ global $permalink_manager_uris, $permalink_manager_options, $post, $wpdb, $wp, $wp_current_filter, $wp_post_types;
611
 
612
  // Check if the filter should be activated
613
  if(empty($permalink_manager_options['general']['yoast_breadcrumbs']) || empty($permalink_manager_uris)) { return $links; }
631
  $custom_uri_parts = explode('/', trim($custom_uri));
632
  $breadcrumbs = array();
633
  $snowball = '';
634
+ $available_taxonomies = Permalink_Manager_Helper_Functions::get_taxonomies_array(null, null, false, true);
635
+ $available_post_types = Permalink_Manager_Helper_Functions::get_post_types_array(null, null, true);
636
+ $available_post_types_archive = Permalink_Manager_Helper_Functions::get_post_types_array('archive_slug', null, true);
637
  $current_filter = end($wp_current_filter);
638
 
639
  // Get Yoast Meta (the breadcrumbs titles can be changed in Yoast metabox)
672
  $element = $wpdb->get_row($sql);
673
  }
674
 
675
+ // 1D. Try to get post type archive
676
+ if(empty($element) && !empty($available_post_types_archive) && in_array($snowball, $available_post_types_archive)) {
677
+ $post_type_slug = array_search($snowball, $available_post_types_archive);
678
+ $element = get_post_type_object($post_type_slug);
679
+ }
680
+
681
  // 2A. When the term is found, we can add it to the breadcrumbs
682
  if(!empty($element->term_id)) {
683
  $term_id = apply_filters('wpml_object_id', $element->term_id, $element->taxonomy, true);
703
  'url' => get_permalink($page->ID),
704
  );
705
  }
706
+ // 2C. When the post archive is found, we can add it to the breadcrumbs
707
+ else if(!empty($element->rewrite) && (!empty($element->labels->name))) {
708
+ $breadcrumbs[] = array(
709
+ 'text' => apply_filters('post_type_archive_title', $element->labels->name, $element->name),
710
+ 'url' => get_post_type_archive_link($element->name),
711
+ );
712
+ }
713
  }
714
 
715
  // Add new links to current breadcrumbs array
943
  }
944
 
945
  /**
946
+ * 11. WP All Export
947
+ */
948
+ function wpae_custom_uri_section($sections) {
949
+ if(is_array($sections)) {
950
+ $sections['permalink_manager'] = array(
951
+ 'title' => __('Permalink Manager', 'permalink-manager'),
952
+ 'content' => 'permalink_manager_fields'
953
+ );
954
+ }
955
+
956
+ return $sections;
957
+ }
958
+
959
+ function wpae_custom_uri_section_fields($fields) {
960
+ if(is_array($fields)) {
961
+ $fields['permalink_manager_fields'] = array(
962
+ array(
963
+ 'label' => 'custom_uri',
964
+ 'name' => 'Custom URI',
965
+ 'type' => 'custom_uri'
966
+ )
967
+ );
968
+ }
969
+
970
+ return $fields;
971
+ }
972
+
973
+ function wpae_export_custom_uri($articles, $options) {
974
+ foreach($articles as &$article) {
975
+ if(!empty($article['id'])) {
976
+ $article['Custom URI'] = Permalink_Manager_URI_Functions_Post::get_post_uri($article['id']);
977
+ }
978
+ }
979
+
980
+ return $articles;
981
+ }
982
+
983
+ /**
984
+ * 12. Duplicate Page
985
  */
986
  function duplicate_custom_uri($new_post_id, $old_post) {
987
  global $permalink_manager_uris;
1004
  }
1005
 
1006
  /**
1007
+ * 13. My Listing by 27collective
1008
  */
1009
  public function ml_listing_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
1010
  global $permalink_manager_uris;
1120
  }
1121
 
1122
  /**
1123
+ * 14. bbPress
1124
  */
1125
  function bbpress_endpoints($endpoints, $all = true) {
1126
  $bbpress_endpoints = array();
1149
  }
1150
 
1151
  /**
1152
+ * 15. Dokan
1153
  **/
1154
  function dokan_endpoints($endpoints) {
1155
  return "{$endpoints}|edit|edit-account";
1184
  }
1185
 
1186
  /**
1187
+ * 16. GeoDirectory
1188
  */
1189
  public function geodir_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
1190
  global $permalink_manager_uris;
1230
  }
1231
 
1232
  /**
1233
+ * 17. BasePress
1234
  */
1235
  function kb_adjust_query($query, $old_query, $uri_parts, $pm_query, $content_type) {
1236
  $knowledgebase_options = get_option('basepress_settings');
1260
  }
1261
 
1262
  /**
1263
+ * 18. Ultimate Member
1264
  */
1265
  public function um_detect_extra_pages($uri_parts) {
1266
  global $permalink_manager_uris;
1293
  }
1294
 
1295
  /**
1296
+ * 19. WooCommerce Subscriptions
1297
  */
1298
  function fix_wcs_subscription_links($permalink, $post, $old_permalink) {
1299
  if(!empty($post->post_type) && $post->post_type == 'product' && strpos($old_permalink, 'switch-subscription=') !== false) {
1305
  }
1306
 
1307
  /**
1308
+ * 20. Store Locator - CSV Manager
1309
  */
1310
  public function wpsl_regenerate_after_import($meta_id, $post_id, $meta_key, $meta_value) {
1311
  global $permalink_manager_uris;
includes/core/permalink-manager-uri-functions-post.php CHANGED
@@ -630,7 +630,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
630
  if(!empty($permalink_manager_options["general"]["ignore_drafts"]) && !empty($post->post_status) && $post->post_status == 'draft') { return $html; }
631
 
632
  // Stop the hook (if needed)
633
- $show_uri_editor = apply_filters("permalink_manager_hide_uri_editor_post_{$post->post_type}", true);
634
  if(!$show_uri_editor) { return $html; }
635
 
636
  $new_html = preg_replace("/^(<strong>(.*)<\/strong>)(.*)/is", "$1 ", $html);
@@ -812,6 +812,18 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
812
 
813
  // Update the slug (if changed)
814
  if(isset($_POST['permalink-manager-edit-uri-element-slug']) && isset($_POST['native_slug']) && ($_POST['native_slug'] !== $_POST['permalink-manager-edit-uri-element-slug'])) {
 
 
 
 
 
 
 
 
 
 
 
 
815
  self::update_slug_by_id($_POST['native_slug'], $post_id);
816
  clean_post_cache($post_id);
817
  }
630
  if(!empty($permalink_manager_options["general"]["ignore_drafts"]) && !empty($post->post_status) && $post->post_status == 'draft') { return $html; }
631
 
632
  // Stop the hook (if needed)
633
+ $show_uri_editor = apply_filters("permalink_manager_show_uri_editor_post_{$post->post_type}", true);
634
  if(!$show_uri_editor) { return $html; }
635
 
636
  $new_html = preg_replace("/^(<strong>(.*)<\/strong>)(.*)/is", "$1 ", $html);
812
 
813
  // Update the slug (if changed)
814
  if(isset($_POST['permalink-manager-edit-uri-element-slug']) && isset($_POST['native_slug']) && ($_POST['native_slug'] !== $_POST['permalink-manager-edit-uri-element-slug'])) {
815
+
816
+ // Make sure that '_wp_old_slug' is saved
817
+ if(!empty($_POST['post_name'])) {
818
+ $post_before = $post;
819
+
820
+ // Clone the instance of WP_Post object
821
+ $post_after = unserialize(serialize($post));
822
+ $post_after->post_name = sanitize_title($_POST['native_slug']);
823
+
824
+ wp_check_for_changed_slugs($post_id, $post_after, $post_before);
825
+ }
826
+
827
  self::update_slug_by_id($_POST['native_slug'], $post_id);
828
  clean_post_cache($post_id);
829
  }
includes/core/permalink-manager-uri-functions.php CHANGED
@@ -61,7 +61,12 @@ class Permalink_Manager_URI_Functions extends Permalink_Manager_Class {
61
  /**
62
  * Save the array with custom permalinks
63
  */
64
- public static function save_all_uris($updated_uris) {
 
 
 
 
 
65
  if(is_array($updated_uris) && !empty($updated_uris)) {
66
  update_option('permalink-manager-uris', $updated_uris);
67
  }
61
  /**
62
  * Save the array with custom permalinks
63
  */
64
+ public static function save_all_uris($updated_uris = null) {
65
+ if(is_null($updated_uris)) {
66
+ global $permalink_manager_uris;
67
+ $updated_uris = $permalink_manager_uris;
68
+ }
69
+
70
  if(is_array($updated_uris) && !empty($updated_uris)) {
71
  update_option('permalink-manager-uris', $updated_uris);
72
  }
includes/views/permalink-manager-permastructs.php CHANGED
@@ -73,7 +73,11 @@ class Permalink_Manager_Permastructs extends Permalink_Manager_Class {
73
  global $permalink_manager_permastructs;
74
 
75
  $sidebar = sprintf('<h3>%s</h3>', __('Instructions', 'permalink-manager'));
76
- $sidebar .= sprintf(wpautop(__('The current permastructures settings will be applied <strong>only to the new posts & terms</strong>. To apply the <strong>new permastructures to existing posts and terms</strong>, please regenerate the custom permalinks <a href="%s">here</a>.', 'permalink-manager')), admin_url('tools.php?page=permalink-manager&section=tools&subsection=regenerate_slugs'));
 
 
 
 
77
 
78
  $sidebar .= sprintf('<h4>%s</h4>', __('Permastructure tags', 'permalink-manager'));
79
  $sidebar .= wpautop(sprintf(__('All allowed <a href="%s" target="_blank">permastructure tags</a> are listed below. Please note that some of them can be used only for particular post types or taxonomies.', 'permalink-manager'), "https://codex.wordpress.org/Using_Permalinks#Structure_Tags"));
73
  global $permalink_manager_permastructs;
74
 
75
  $sidebar = sprintf('<h3>%s</h3>', __('Instructions', 'permalink-manager'));
76
+ $sidebar .= "<div class=\"notice notice-warning\"><p>";
77
+ $sidebar .= __('The current permastructures settings will be automatically applied <strong>only to the new posts & terms</strong>.');
78
+ $sidebar .= '<br />';
79
+ $sidebar .= sprintf(__('To apply the <strong>new format to existing posts and terms</strong>, please use "<a href="%s">Regenerate/reset</a>" tool after you update the permastructure settings below.', 'permalink-manager'), admin_url('tools.php?page=permalink-manager&section=tools&subsection=regenerate_slugs'));
80
+ $sidebar .= "</p></div>";
81
 
82
  $sidebar .= sprintf('<h4>%s</h4>', __('Permastructure tags', 'permalink-manager'));
83
  $sidebar .= wpautop(sprintf(__('All allowed <a href="%s" target="_blank">permastructure tags</a> are listed below. Please note that some of them can be used only for particular post types or taxonomies.', 'permalink-manager'), "https://codex.wordpress.org/Using_Permalinks#Structure_Tags"));
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-25 15:36+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:313
26
  msgid "\"Custom Permalinks\" URIs were imported!"
27
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
28
 
@@ -87,8 +87,8 @@ msgstr ""
87
  "<strong>"
88
  "正規リダイレクトにより、WordPressは要求されたURLを「修正」し、訪問者を正規パーマリンクにリダイレクトできます。</strong>"
89
 
90
- #: includes/core/permalink-manager-admin-functions.php:721
91
  #: includes/core/permalink-manager-actions.php:115
 
92
  msgid "<strong>No slugs</strong> were updated!"
93
  msgstr "スラッグは、更新されませんでした。"
94
 
@@ -187,7 +187,7 @@ msgstr "有償版では、スラッグやパーマ構造(WooCommerceとの互
187
  msgid "Advanced settings"
188
  msgstr "詳細設定"
189
 
190
- #: includes/views/permalink-manager-permastructs.php:79
191
  #, php-format
192
  msgid ""
193
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
@@ -315,27 +315,27 @@ msgstr "アクセント付き文字の変換"
315
  msgid "Count"
316
  msgstr "カウント"
317
 
318
- #: includes/core/permalink-manager-pro-functions.php:524
319
  msgid "Coupon Full URL"
320
  msgstr "クーポン フル URL"
321
 
322
- #: includes/core/permalink-manager-pro-functions.php:491
323
  msgid "Coupon Link"
324
  msgstr "クーポンリンク"
325
 
326
- #: includes/core/permalink-manager-pro-functions.php:512
327
  msgid "Coupon URI"
328
  msgstr "クーポンURI"
329
 
 
330
  #: includes/core/permalink-manager-uri-functions-tax.php:521
331
  #: includes/core/permalink-manager-admin-functions.php:747
332
  #: includes/core/permalink-manager-admin-functions.php:848
333
- #: includes/core/permalink-manager-uri-functions-post.php:690
334
  msgid "Current URI"
335
  msgstr "現在のURI"
336
 
337
- #: includes/views/permalink-manager-pro-addons.php:214
338
  #: includes/views/permalink-manager-tools.php:34
 
339
  msgid "Custom Permalinks"
340
  msgstr "カスタム パーマリンク"
341
 
@@ -347,10 +347,10 @@ msgstr "カスタム パーマリンク"
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"
355
  msgstr "カスタム URI"
356
 
@@ -412,9 +412,9 @@ msgid ""
412
  "You can also use a predefined list (available in 21 languages)."
413
  msgstr "各単語は、リストへ追加/削除できます。また、定義済みのリスト(21の言語)も使用可能です。"
414
 
415
- #: includes/views/permalink-manager-uri-editor-post.php:120
416
- #: includes/views/permalink-manager-uri-editor-tax.php:100
417
  #: includes/views/permalink-manager-uri-editor-tax.php:100
 
 
418
  msgid "Edit"
419
  msgstr "編集"
420
 
@@ -516,8 +516,8 @@ msgstr "HTTPS/WWW 強制"
516
  msgid "French"
517
  msgstr "フランス語"
518
 
519
- #: includes/views/permalink-manager-uri-editor-post.php:56
520
  #: includes/views/permalink-manager-uri-editor-tax.php:52
 
521
  msgid "Full URI & Permalink"
522
  msgstr "全ての URIとパーマリンク"
523
 
@@ -575,7 +575,7 @@ msgid ""
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\" "
@@ -817,7 +817,7 @@ msgstr "新しいURI"
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,7 +877,8 @@ msgstr "ページ毎"
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
@@ -898,13 +899,13 @@ msgid ""
898
  "selected above post types & taxonomies."
899
  msgstr "Permalink Managerは、上記で選択した全ての投稿タイプとタクソノミーのカスタム パーマリンクを無視し、フィルタリングしません。"
900
 
901
- #: includes/core/permalink-manager-admin-functions.php:426
902
  #: includes/core/permalink-manager-actions.php:409
903
  #: includes/core/permalink-manager-actions.php:413
 
904
  msgid "Permastructure settings"
905
  msgstr "パーマ構造 設定"
906
 
907
- #: includes/views/permalink-manager-permastructs.php:78
908
  msgid "Permastructure tags"
909
  msgstr "パーマ構造 タグ"
910
 
@@ -967,10 +968,10 @@ msgstr "投稿状態"
967
  msgid "Post title"
968
  msgstr "投稿タイトル"
969
 
970
- #: includes/core/permalink-manager-admin-functions.php:262
971
  #: includes/views/permalink-manager-permastructs.php:31
972
  #: includes/views/permalink-manager-tools.php:162
973
  #: includes/views/permalink-manager-tools.php:239
 
974
  msgid "Post types"
975
  msgstr "投稿タイプ"
976
 
@@ -1055,13 +1056,13 @@ msgstr "sample/custom-uri"
1055
  msgid "Save"
1056
  msgstr "保存する"
1057
 
1058
- #: includes/views/permalink-manager-uri-editor-post.php:150
1059
  #: includes/views/permalink-manager-uri-editor-tax.php:147
 
1060
  msgid "Save all the URIs above"
1061
  msgstr "上記の全てのURIを保存する"
1062
 
1063
- #: includes/views/permalink-manager-uri-editor-post.php:149
1064
  #: includes/views/permalink-manager-uri-editor-tax.php:146
 
1065
  msgid "Save all the URIs below"
1066
  msgstr "以下の全てのURIを保存する"
1067
 
@@ -1073,7 +1074,7 @@ msgstr ""
1073
  msgid "Save permalink"
1074
  msgstr "パーマリンクを保存する"
1075
 
1076
- #: includes/views/permalink-manager-permastructs.php:82
1077
  msgid "Save permastructures"
1078
  msgstr "パーマ構造を保存する"
1079
 
@@ -1081,8 +1082,8 @@ msgstr "パーマ構造を保存する"
1081
  msgid "Save settings"
1082
  msgstr "設定を保存する"
1083
 
1084
- #: includes/views/permalink-manager-uri-editor-post.php:158
1085
  #: includes/views/permalink-manager-uri-editor-tax.php:155
 
1086
  msgid "Search"
1087
  msgstr "検索"
1088
 
@@ -1115,8 +1116,8 @@ msgstr "投稿タイプを選択する"
1115
  msgid "Select taxonomies"
1116
  msgstr "タクソノミーを選択する"
1117
 
1118
- #: includes/core/permalink-manager-admin-functions.php:157
1119
  #: includes/views/permalink-manager-settings.php:14
 
1120
  msgid "Settings"
1121
  msgstr "設定"
1122
 
@@ -1136,8 +1137,8 @@ msgstr "さらなる詳細を表示する"
1136
  msgid "Sitemaps were updated!"
1137
  msgstr "サイトマップは、更新されました!"
1138
 
1139
- #: includes/views/permalink-manager-uri-editor-post.php:114
1140
  #: includes/views/permalink-manager-uri-editor-tax.php:95
 
1141
  msgid "Slug"
1142
  msgstr "スラッグ"
1143
 
@@ -1169,10 +1170,10 @@ msgstr "サポート"
1169
  msgid "Swedish"
1170
  msgstr "スウェーデン語"
1171
 
1172
- #: includes/core/permalink-manager-admin-functions.php:262
1173
  #: includes/views/permalink-manager-permastructs.php:36
1174
  #: includes/views/permalink-manager-tools.php:163
1175
  #: includes/views/permalink-manager-tools.php:240
 
1176
  msgid "Taxonomies"
1177
  msgstr "タクソノミー"
1178
 
@@ -1184,8 +1185,8 @@ msgstr "技術的サポート"
1184
  msgid "Term title"
1185
  msgstr "ターム タイトル"
1186
 
1187
- #: includes/views/permalink-manager-uri-editor-post.php:101
1188
  #: includes/views/permalink-manager-uri-editor-tax.php:112
 
1189
  msgid ""
1190
  "The above permalink will be automatically updated and is locked for editing."
1191
  msgstr ""
@@ -1196,18 +1197,6 @@ msgid ""
1196
  "locked for editing."
1197
  msgstr ""
1198
 
1199
- #: includes/views/permalink-manager-permastructs.php:76
1200
- #, php-format
1201
- msgid ""
1202
- "The current permastructures settings will be applied <strong>only to the new "
1203
- "posts & terms</strong>. To apply the <strong>new permastructures to existing "
1204
- "posts and terms</strong>, please regenerate the custom permalinks <a "
1205
- "href=\"%s\">here</a>."
1206
- msgstr ""
1207
- "現在のパーマ構造の設定は、<strong>新規投稿とタームにのみ</strong>適用されます。<strong>"
1208
- "既存の投稿とタームに新規のパーマ構造</strong>を適用するには、<a href=\"%s\">コチラ</a>"
1209
- "にてカスタムパーマリンクを再生成して下さい。"
1210
-
1211
  #: includes/core/permalink-manager-admin-functions.php:841
1212
  msgid "The custom URI cannot be edited on frontpage."
1213
  msgstr "カスタムURIは、フロントページでは編集不可です。"
@@ -1233,7 +1222,7 @@ msgstr "リダイレクトは、無事削除されました!"
1233
  msgid "The settings are saved!"
1234
  msgstr "設定は、保存されました!"
1235
 
1236
- #: includes/core/permalink-manager-pro-functions.php:513
1237
  msgid ""
1238
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
1239
  "blackfriday</strong> are equivalent."
@@ -1279,6 +1268,14 @@ msgstr ""
1279
  msgid "Title"
1280
  msgstr "タイトル"
1281
 
 
 
 
 
 
 
 
 
1282
  #: includes/views/permalink-manager-pro-addons.php:249
1283
  #, php-format
1284
  msgid ""
@@ -1388,9 +1385,9 @@ msgid ""
1388
  "instead of native slugs."
1389
  msgstr "Permalink Managerで、ネイティブ スラッグの代わりに実際のタイトルを使用する場合は、このフィールドを使用します。"
1390
 
1391
- #: includes/views/permalink-manager-uri-editor-post.php:121
1392
- #: includes/views/permalink-manager-uri-editor-tax.php:101
1393
  #: includes/views/permalink-manager-uri-editor-tax.php:101
 
 
1394
  msgid "View"
1395
  msgstr "見る"
1396
 
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-04-19 09:24+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:344
26
  msgid "\"Custom Permalinks\" URIs were imported!"
27
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
28
 
87
  "<strong>"
88
  "正規リダイレクトにより、WordPressは要求されたURLを「修正」し、訪問者を正規パーマリンクにリダイレクトできます。</strong>"
89
 
 
90
  #: includes/core/permalink-manager-actions.php:115
91
+ #: includes/core/permalink-manager-admin-functions.php:721
92
  msgid "<strong>No slugs</strong> were updated!"
93
  msgstr "スラッグは、更新されませんでした。"
94
 
187
  msgid "Advanced settings"
188
  msgstr "詳細設定"
189
 
190
+ #: includes/views/permalink-manager-permastructs.php:83
191
  #, php-format
192
  msgid ""
193
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
315
  msgid "Count"
316
  msgstr "カウント"
317
 
318
+ #: includes/core/permalink-manager-pro-functions.php:530
319
  msgid "Coupon Full URL"
320
  msgstr "クーポン フル URL"
321
 
322
+ #: includes/core/permalink-manager-pro-functions.php:497
323
  msgid "Coupon Link"
324
  msgstr "クーポンリンク"
325
 
326
+ #: includes/core/permalink-manager-pro-functions.php:518
327
  msgid "Coupon URI"
328
  msgstr "クーポンURI"
329
 
330
+ #: includes/core/permalink-manager-uri-functions-post.php:690
331
  #: includes/core/permalink-manager-uri-functions-tax.php:521
332
  #: includes/core/permalink-manager-admin-functions.php:747
333
  #: includes/core/permalink-manager-admin-functions.php:848
 
334
  msgid "Current URI"
335
  msgstr "現在のURI"
336
 
 
337
  #: includes/views/permalink-manager-tools.php:34
338
+ #: includes/views/permalink-manager-pro-addons.php:214
339
  msgid "Custom Permalinks"
340
  msgstr "カスタム パーマリンク"
341
 
347
  msgid "Custom redirects"
348
  msgstr "カスタム リダイレクト"
349
 
 
 
 
350
  #: includes/views/permalink-manager-tools.php:70
351
+ #: includes/core/permalink-manager-third-parties.php:476
352
+ #: includes/core/permalink-manager-third-parties.php:810
353
+ #: includes/core/permalink-manager-uri-functions-tax.php:488
354
  msgid "Custom URI"
355
  msgstr "カスタム URI"
356
 
412
  "You can also use a predefined list (available in 21 languages)."
413
  msgstr "各単語は、リストへ追加/削除できます。また、定義済みのリスト(21の言語)も使用可能です。"
414
 
 
 
415
  #: includes/views/permalink-manager-uri-editor-tax.php:100
416
+ #: includes/views/permalink-manager-uri-editor-post.php:120
417
+ #: includes/views/permalink-manager-uri-editor-post.php:120
418
  msgid "Edit"
419
  msgstr "編集"
420
 
516
  msgid "French"
517
  msgstr "フランス語"
518
 
 
519
  #: includes/views/permalink-manager-uri-editor-tax.php:52
520
+ #: includes/views/permalink-manager-uri-editor-post.php:56
521
  msgid "Full URI & Permalink"
522
  msgstr "全ての URIとパーマリンク"
523
 
575
  "the posts imported with WP All Import plugin."
576
  msgstr ""
577
 
578
+ #: includes/core/permalink-manager-third-parties.php:811
579
  #, php-format
580
  msgid ""
581
  "If empty, a default permalink based on your current <a href=\"%s\" "
817
  msgid "No"
818
  msgstr "いいえ"
819
 
820
+ #: includes/core/permalink-manager-third-parties.php:347
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:806
881
+ #: includes/core/permalink-manager-third-parties.php:951
882
  #: includes/core/permalink-manager-gutenberg.php:29
883
  #: includes/core/permalink-manager-admin-functions.php:111
884
  #: includes/core/permalink-manager-admin-functions.php:111
899
  "selected above post types & taxonomies."
900
  msgstr "Permalink Managerは、上記で選択した全ての投稿タイプとタクソノミーのカスタム パーマリンクを無視し、フィルタリングしません。"
901
 
 
902
  #: includes/core/permalink-manager-actions.php:409
903
  #: includes/core/permalink-manager-actions.php:413
904
+ #: includes/core/permalink-manager-admin-functions.php:426
905
  msgid "Permastructure settings"
906
  msgstr "パーマ構造 設定"
907
 
908
+ #: includes/views/permalink-manager-permastructs.php:82
909
  msgid "Permastructure tags"
910
  msgstr "パーマ構造 タグ"
911
 
968
  msgid "Post title"
969
  msgstr "投稿タイトル"
970
 
 
971
  #: includes/views/permalink-manager-permastructs.php:31
972
  #: includes/views/permalink-manager-tools.php:162
973
  #: includes/views/permalink-manager-tools.php:239
974
+ #: includes/core/permalink-manager-admin-functions.php:262
975
  msgid "Post types"
976
  msgstr "投稿タイプ"
977
 
1056
  msgid "Save"
1057
  msgstr "保存する"
1058
 
 
1059
  #: includes/views/permalink-manager-uri-editor-tax.php:147
1060
+ #: includes/views/permalink-manager-uri-editor-post.php:150
1061
  msgid "Save all the URIs above"
1062
  msgstr "上記の全てのURIを保存する"
1063
 
 
1064
  #: includes/views/permalink-manager-uri-editor-tax.php:146
1065
+ #: includes/views/permalink-manager-uri-editor-post.php:149
1066
  msgid "Save all the URIs below"
1067
  msgstr "以下の全てのURIを保存する"
1068
 
1074
  msgid "Save permalink"
1075
  msgstr "パーマリンクを保存する"
1076
 
1077
+ #: includes/views/permalink-manager-permastructs.php:86
1078
  msgid "Save permastructures"
1079
  msgstr "パーマ構造を保存する"
1080
 
1082
  msgid "Save settings"
1083
  msgstr "設定を保存する"
1084
 
 
1085
  #: includes/views/permalink-manager-uri-editor-tax.php:155
1086
+ #: includes/views/permalink-manager-uri-editor-post.php:158
1087
  msgid "Search"
1088
  msgstr "検索"
1089
 
1116
  msgid "Select taxonomies"
1117
  msgstr "タクソノミーを選択する"
1118
 
 
1119
  #: includes/views/permalink-manager-settings.php:14
1120
+ #: includes/core/permalink-manager-admin-functions.php:157
1121
  msgid "Settings"
1122
  msgstr "設定"
1123
 
1137
  msgid "Sitemaps were updated!"
1138
  msgstr "サイトマップは、更新されました!"
1139
 
 
1140
  #: includes/views/permalink-manager-uri-editor-tax.php:95
1141
+ #: includes/views/permalink-manager-uri-editor-post.php:114
1142
  msgid "Slug"
1143
  msgstr "スラッグ"
1144
 
1170
  msgid "Swedish"
1171
  msgstr "スウェーデン語"
1172
 
 
1173
  #: includes/views/permalink-manager-permastructs.php:36
1174
  #: includes/views/permalink-manager-tools.php:163
1175
  #: includes/views/permalink-manager-tools.php:240
1176
+ #: includes/core/permalink-manager-admin-functions.php:262
1177
  msgid "Taxonomies"
1178
  msgstr "タクソノミー"
1179
 
1185
  msgid "Term title"
1186
  msgstr "ターム タイトル"
1187
 
 
1188
  #: includes/views/permalink-manager-uri-editor-tax.php:112
1189
+ #: includes/views/permalink-manager-uri-editor-post.php:101
1190
  msgid ""
1191
  "The above permalink will be automatically updated and is locked for editing."
1192
  msgstr ""
1197
  "locked for editing."
1198
  msgstr ""
1199
 
 
 
 
 
 
 
 
 
 
 
 
 
1200
  #: includes/core/permalink-manager-admin-functions.php:841
1201
  msgid "The custom URI cannot be edited on frontpage."
1202
  msgstr "カスタムURIは、フロントページでは編集不可です。"
1222
  msgid "The settings are saved!"
1223
  msgstr "設定は、保存されました!"
1224
 
1225
+ #: includes/core/permalink-manager-pro-functions.php:519
1226
  msgid ""
1227
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
1228
  "blackfriday</strong> are equivalent."
1268
  msgid "Title"
1269
  msgstr "タイトル"
1270
 
1271
+ #: includes/views/permalink-manager-permastructs.php:79
1272
+ #, php-format
1273
+ msgid ""
1274
+ "To apply the <strong>new format to existing posts and terms</strong>, please "
1275
+ "use \"<a href=\"%s\">Regenerate/reset</a>\" tool after you update the "
1276
+ "permastructure settings below."
1277
+ msgstr ""
1278
+
1279
  #: includes/views/permalink-manager-pro-addons.php:249
1280
  #, php-format
1281
  msgid ""
1385
  "instead of native slugs."
1386
  msgstr "Permalink Managerで、ネイティブ スラッグの代わりに実際のタイトルを使用する場合は、このフィールドを使用します。"
1387
 
 
 
1388
  #: includes/views/permalink-manager-uri-editor-tax.php:101
1389
+ #: includes/views/permalink-manager-uri-editor-post.php:121
1390
+ #: includes/views/permalink-manager-uri-editor-post.php:121
1391
  msgid "View"
1392
  msgstr "見る"
1393
 
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-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,7 +20,7 @@ msgid ""
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
 
@@ -82,8 +82,8 @@ msgid ""
82
  "and redirect visitor to the canonical permalink.</strong>"
83
  msgstr ""
84
 
85
- #: includes/core/permalink-manager-admin-functions.php:721
86
  #: includes/core/permalink-manager-actions.php:115
 
87
  msgid "<strong>No slugs</strong> were updated!"
88
  msgstr ""
89
 
@@ -168,7 +168,7 @@ msgstr ""
168
  msgid "Advanced settings"
169
  msgstr ""
170
 
171
- #: includes/views/permalink-manager-permastructs.php:79
172
  #, php-format
173
  msgid ""
174
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
@@ -294,27 +294,27 @@ msgstr ""
294
  msgid "Count"
295
  msgstr ""
296
 
297
- #: includes/core/permalink-manager-pro-functions.php:524
298
  msgid "Coupon Full URL"
299
  msgstr ""
300
 
301
- #: includes/core/permalink-manager-pro-functions.php:491
302
  msgid "Coupon Link"
303
  msgstr ""
304
 
305
- #: includes/core/permalink-manager-pro-functions.php:512
306
  msgid "Coupon URI"
307
  msgstr ""
308
 
 
309
  #: includes/core/permalink-manager-uri-functions-tax.php:521
310
  #: includes/core/permalink-manager-admin-functions.php:747
311
  #: includes/core/permalink-manager-admin-functions.php:848
312
- #: includes/core/permalink-manager-uri-functions-post.php:690
313
  msgid "Current URI"
314
  msgstr ""
315
 
316
- #: includes/views/permalink-manager-pro-addons.php:214
317
  #: includes/views/permalink-manager-tools.php:34
 
318
  msgid "Custom Permalinks"
319
  msgstr ""
320
 
@@ -326,10 +326,10 @@ msgstr ""
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"
334
  msgstr ""
335
 
@@ -391,9 +391,9 @@ msgid ""
391
  "You can also use a predefined list (available in 21 languages)."
392
  msgstr ""
393
 
394
- #: includes/views/permalink-manager-uri-editor-post.php:120
395
- #: includes/views/permalink-manager-uri-editor-tax.php:100
396
  #: includes/views/permalink-manager-uri-editor-tax.php:100
 
 
397
  msgid "Edit"
398
  msgstr ""
399
 
@@ -493,8 +493,8 @@ msgstr ""
493
  msgid "French"
494
  msgstr ""
495
 
496
- #: includes/views/permalink-manager-uri-editor-post.php:56
497
  #: includes/views/permalink-manager-uri-editor-tax.php:52
 
498
  msgid "Full URI & Permalink"
499
  msgstr ""
500
 
@@ -548,7 +548,7 @@ msgid ""
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\" "
@@ -770,7 +770,7 @@ msgstr ""
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,7 +828,8 @@ msgstr ""
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
@@ -849,13 +850,13 @@ msgid ""
849
  "selected above post types & taxonomies."
850
  msgstr ""
851
 
852
- #: includes/core/permalink-manager-admin-functions.php:426
853
  #: includes/core/permalink-manager-actions.php:409
854
  #: includes/core/permalink-manager-actions.php:413
 
855
  msgid "Permastructure settings"
856
  msgstr ""
857
 
858
- #: includes/views/permalink-manager-permastructs.php:78
859
  msgid "Permastructure tags"
860
  msgstr ""
861
 
@@ -914,10 +915,10 @@ msgstr ""
914
  msgid "Post title"
915
  msgstr ""
916
 
917
- #: includes/core/permalink-manager-admin-functions.php:262
918
  #: includes/views/permalink-manager-permastructs.php:31
919
  #: includes/views/permalink-manager-tools.php:162
920
  #: includes/views/permalink-manager-tools.php:239
 
921
  msgid "Post types"
922
  msgstr ""
923
 
@@ -1002,13 +1003,13 @@ msgstr ""
1002
  msgid "Save"
1003
  msgstr ""
1004
 
1005
- #: includes/views/permalink-manager-uri-editor-post.php:150
1006
  #: includes/views/permalink-manager-uri-editor-tax.php:147
 
1007
  msgid "Save all the URIs above"
1008
  msgstr ""
1009
 
1010
- #: includes/views/permalink-manager-uri-editor-post.php:149
1011
  #: includes/views/permalink-manager-uri-editor-tax.php:146
 
1012
  msgid "Save all the URIs below"
1013
  msgstr ""
1014
 
@@ -1020,7 +1021,7 @@ msgstr ""
1020
  msgid "Save permalink"
1021
  msgstr ""
1022
 
1023
- #: includes/views/permalink-manager-permastructs.php:82
1024
  msgid "Save permastructures"
1025
  msgstr ""
1026
 
@@ -1028,8 +1029,8 @@ msgstr ""
1028
  msgid "Save settings"
1029
  msgstr ""
1030
 
1031
- #: includes/views/permalink-manager-uri-editor-post.php:158
1032
  #: includes/views/permalink-manager-uri-editor-tax.php:155
 
1033
  msgid "Search"
1034
  msgstr ""
1035
 
@@ -1062,8 +1063,8 @@ msgstr ""
1062
  msgid "Select taxonomies"
1063
  msgstr ""
1064
 
1065
- #: includes/core/permalink-manager-admin-functions.php:157
1066
  #: includes/views/permalink-manager-settings.php:14
 
1067
  msgid "Settings"
1068
  msgstr ""
1069
 
@@ -1083,8 +1084,8 @@ msgstr ""
1083
  msgid "Sitemaps were updated!"
1084
  msgstr ""
1085
 
1086
- #: includes/views/permalink-manager-uri-editor-post.php:114
1087
  #: includes/views/permalink-manager-uri-editor-tax.php:95
 
1088
  msgid "Slug"
1089
  msgstr ""
1090
 
@@ -1116,10 +1117,10 @@ msgstr ""
1116
  msgid "Swedish"
1117
  msgstr ""
1118
 
1119
- #: includes/core/permalink-manager-admin-functions.php:262
1120
  #: includes/views/permalink-manager-permastructs.php:36
1121
  #: includes/views/permalink-manager-tools.php:163
1122
  #: includes/views/permalink-manager-tools.php:240
 
1123
  msgid "Taxonomies"
1124
  msgstr ""
1125
 
@@ -1131,8 +1132,8 @@ msgstr ""
1131
  msgid "Term title"
1132
  msgstr ""
1133
 
1134
- #: includes/views/permalink-manager-uri-editor-post.php:101
1135
  #: includes/views/permalink-manager-uri-editor-tax.php:112
 
1136
  msgid ""
1137
  "The above permalink will be automatically updated and is locked for editing."
1138
  msgstr ""
@@ -1143,15 +1144,6 @@ msgid ""
1143
  "locked for editing."
1144
  msgstr ""
1145
 
1146
- #: includes/views/permalink-manager-permastructs.php:76
1147
- #, php-format
1148
- msgid ""
1149
- "The current permastructures settings will be applied <strong>only to the new "
1150
- "posts & terms</strong>. To apply the <strong>new permastructures to existing "
1151
- "posts and terms</strong>, please regenerate the custom permalinks <a "
1152
- "href=\"%s\">here</a>."
1153
- msgstr ""
1154
-
1155
  #: includes/core/permalink-manager-admin-functions.php:841
1156
  msgid "The custom URI cannot be edited on frontpage."
1157
  msgstr ""
@@ -1176,7 +1168,7 @@ msgstr ""
1176
  msgid "The settings are saved!"
1177
  msgstr ""
1178
 
1179
- #: includes/core/permalink-manager-pro-functions.php:513
1180
  msgid ""
1181
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
1182
  "blackfriday</strong> are equivalent."
@@ -1216,6 +1208,14 @@ msgstr ""
1216
  msgid "Title"
1217
  msgstr ""
1218
 
 
 
 
 
 
 
 
 
1219
  #: includes/views/permalink-manager-pro-addons.php:249
1220
  #, php-format
1221
  msgid ""
@@ -1321,9 +1321,9 @@ msgid ""
1321
  "instead of native slugs."
1322
  msgstr ""
1323
 
1324
- #: includes/views/permalink-manager-uri-editor-post.php:121
1325
- #: includes/views/permalink-manager-uri-editor-tax.php:101
1326
  #: includes/views/permalink-manager-uri-editor-tax.php:101
 
 
1327
  msgid "View"
1328
  msgstr ""
1329
 
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2021-04-19 09:24+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:344
24
  msgid "\"Custom Permalinks\" URIs were imported!"
25
  msgstr ""
26
 
82
  "and redirect visitor to the canonical permalink.</strong>"
83
  msgstr ""
84
 
 
85
  #: includes/core/permalink-manager-actions.php:115
86
+ #: includes/core/permalink-manager-admin-functions.php:721
87
  msgid "<strong>No slugs</strong> were updated!"
88
  msgstr ""
89
 
168
  msgid "Advanced settings"
169
  msgstr ""
170
 
171
+ #: includes/views/permalink-manager-permastructs.php:83
172
  #, php-format
173
  msgid ""
174
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
294
  msgid "Count"
295
  msgstr ""
296
 
297
+ #: includes/core/permalink-manager-pro-functions.php:530
298
  msgid "Coupon Full URL"
299
  msgstr ""
300
 
301
+ #: includes/core/permalink-manager-pro-functions.php:497
302
  msgid "Coupon Link"
303
  msgstr ""
304
 
305
+ #: includes/core/permalink-manager-pro-functions.php:518
306
  msgid "Coupon URI"
307
  msgstr ""
308
 
309
+ #: includes/core/permalink-manager-uri-functions-post.php:690
310
  #: includes/core/permalink-manager-uri-functions-tax.php:521
311
  #: includes/core/permalink-manager-admin-functions.php:747
312
  #: includes/core/permalink-manager-admin-functions.php:848
 
313
  msgid "Current URI"
314
  msgstr ""
315
 
 
316
  #: includes/views/permalink-manager-tools.php:34
317
+ #: includes/views/permalink-manager-pro-addons.php:214
318
  msgid "Custom Permalinks"
319
  msgstr ""
320
 
326
  msgid "Custom redirects"
327
  msgstr ""
328
 
 
 
 
329
  #: includes/views/permalink-manager-tools.php:70
330
+ #: includes/core/permalink-manager-third-parties.php:476
331
+ #: includes/core/permalink-manager-third-parties.php:810
332
+ #: includes/core/permalink-manager-uri-functions-tax.php:488
333
  msgid "Custom URI"
334
  msgstr ""
335
 
391
  "You can also use a predefined list (available in 21 languages)."
392
  msgstr ""
393
 
 
 
394
  #: includes/views/permalink-manager-uri-editor-tax.php:100
395
+ #: includes/views/permalink-manager-uri-editor-post.php:120
396
+ #: includes/views/permalink-manager-uri-editor-post.php:120
397
  msgid "Edit"
398
  msgstr ""
399
 
493
  msgid "French"
494
  msgstr ""
495
 
 
496
  #: includes/views/permalink-manager-uri-editor-tax.php:52
497
+ #: includes/views/permalink-manager-uri-editor-post.php:56
498
  msgid "Full URI & Permalink"
499
  msgstr ""
500
 
548
  "the posts imported with WP All Import plugin."
549
  msgstr ""
550
 
551
+ #: includes/core/permalink-manager-third-parties.php:811
552
  #, php-format
553
  msgid ""
554
  "If empty, a default permalink based on your current <a href=\"%s\" "
770
  msgid "No"
771
  msgstr ""
772
 
773
+ #: includes/core/permalink-manager-third-parties.php:347
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:806
832
+ #: includes/core/permalink-manager-third-parties.php:951
833
  #: includes/core/permalink-manager-gutenberg.php:29
834
  #: includes/core/permalink-manager-admin-functions.php:111
835
  #: includes/core/permalink-manager-admin-functions.php:111
850
  "selected above post types & taxonomies."
851
  msgstr ""
852
 
 
853
  #: includes/core/permalink-manager-actions.php:409
854
  #: includes/core/permalink-manager-actions.php:413
855
+ #: includes/core/permalink-manager-admin-functions.php:426
856
  msgid "Permastructure settings"
857
  msgstr ""
858
 
859
+ #: includes/views/permalink-manager-permastructs.php:82
860
  msgid "Permastructure tags"
861
  msgstr ""
862
 
915
  msgid "Post title"
916
  msgstr ""
917
 
 
918
  #: includes/views/permalink-manager-permastructs.php:31
919
  #: includes/views/permalink-manager-tools.php:162
920
  #: includes/views/permalink-manager-tools.php:239
921
+ #: includes/core/permalink-manager-admin-functions.php:262
922
  msgid "Post types"
923
  msgstr ""
924
 
1003
  msgid "Save"
1004
  msgstr ""
1005
 
 
1006
  #: includes/views/permalink-manager-uri-editor-tax.php:147
1007
+ #: includes/views/permalink-manager-uri-editor-post.php:150
1008
  msgid "Save all the URIs above"
1009
  msgstr ""
1010
 
 
1011
  #: includes/views/permalink-manager-uri-editor-tax.php:146
1012
+ #: includes/views/permalink-manager-uri-editor-post.php:149
1013
  msgid "Save all the URIs below"
1014
  msgstr ""
1015
 
1021
  msgid "Save permalink"
1022
  msgstr ""
1023
 
1024
+ #: includes/views/permalink-manager-permastructs.php:86
1025
  msgid "Save permastructures"
1026
  msgstr ""
1027
 
1029
  msgid "Save settings"
1030
  msgstr ""
1031
 
 
1032
  #: includes/views/permalink-manager-uri-editor-tax.php:155
1033
+ #: includes/views/permalink-manager-uri-editor-post.php:158
1034
  msgid "Search"
1035
  msgstr ""
1036
 
1063
  msgid "Select taxonomies"
1064
  msgstr ""
1065
 
 
1066
  #: includes/views/permalink-manager-settings.php:14
1067
+ #: includes/core/permalink-manager-admin-functions.php:157
1068
  msgid "Settings"
1069
  msgstr ""
1070
 
1084
  msgid "Sitemaps were updated!"
1085
  msgstr ""
1086
 
 
1087
  #: includes/views/permalink-manager-uri-editor-tax.php:95
1088
+ #: includes/views/permalink-manager-uri-editor-post.php:114
1089
  msgid "Slug"
1090
  msgstr ""
1091
 
1117
  msgid "Swedish"
1118
  msgstr ""
1119
 
 
1120
  #: includes/views/permalink-manager-permastructs.php:36
1121
  #: includes/views/permalink-manager-tools.php:163
1122
  #: includes/views/permalink-manager-tools.php:240
1123
+ #: includes/core/permalink-manager-admin-functions.php:262
1124
  msgid "Taxonomies"
1125
  msgstr ""
1126
 
1132
  msgid "Term title"
1133
  msgstr ""
1134
 
 
1135
  #: includes/views/permalink-manager-uri-editor-tax.php:112
1136
+ #: includes/views/permalink-manager-uri-editor-post.php:101
1137
  msgid ""
1138
  "The above permalink will be automatically updated and is locked for editing."
1139
  msgstr ""
1144
  "locked for editing."
1145
  msgstr ""
1146
 
 
 
 
 
 
 
 
 
 
1147
  #: includes/core/permalink-manager-admin-functions.php:841
1148
  msgid "The custom URI cannot be edited on frontpage."
1149
  msgstr ""
1168
  msgid "The settings are saved!"
1169
  msgstr ""
1170
 
1171
+ #: includes/core/permalink-manager-pro-functions.php:519
1172
  msgid ""
1173
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
1174
  "blackfriday</strong> are equivalent."
1208
  msgid "Title"
1209
  msgstr ""
1210
 
1211
+ #: includes/views/permalink-manager-permastructs.php:79
1212
+ #, php-format
1213
+ msgid ""
1214
+ "To apply the <strong>new format to existing posts and terms</strong>, please "
1215
+ "use \"<a href=\"%s\">Regenerate/reset</a>\" tool after you update the "
1216
+ "permastructure settings below."
1217
+ msgstr ""
1218
+
1219
  #: includes/views/permalink-manager-pro-addons.php:249
1220
  #, php-format
1221
  msgid ""
1321
  "instead of native slugs."
1322
  msgstr ""
1323
 
 
 
1324
  #: includes/views/permalink-manager-uri-editor-tax.php:101
1325
+ #: includes/views/permalink-manager-uri-editor-post.php:121
1326
+ #: includes/views/permalink-manager-uri-editor-post.php:121
1327
  msgid "View"
1328
  msgstr ""
1329
 
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.7
8
  * Author: Maciej Bis
9
  * Author URI: http://maciejbis.net/
10
  * License: GPL-2.0+
@@ -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.7' );
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.9
8
  * Author: Maciej Bis
9
  * Author URI: http://maciejbis.net/
10
  * License: GPL-2.0+
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.9' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));