Permalink Manager Lite - Version 2.2.9.2.1

Version Description

Download this release

Release Info

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

Code changes from version 2.2.9.1 to 2.2.9.2.1

README.txt CHANGED
@@ -6,10 +6,10 @@ 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.5.1
10
- Stable tag: 2.2.9.0
11
 
12
- Permalink Manager Pro 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
 
14
  == Description ==
15
 
@@ -103,369 +103,380 @@ It is because Permalink Manager overwrites one of the core Wordpress functionali
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  = 2.2.9.0/2.2.9.1 =
107
- * Basic support for BasePress added
108
- * Added support for custom product attributes in products' permalinks (WooCommerce)
109
- * "Trailing slash redirect" is now disabled on front pages (to prevent redirect loop on Polylang/WPML language front pages)
110
- * The taxonomy term used in custom permalinks is selected differently
111
- * Performance improvements (duplicate-check function)
112
- * Further improvements for the function used to sanitize the custom permalinks
113
- * Codebase improvements
114
 
115
  = 2.2.8.8/2.2.8.9 =
116
- * Hotfix for 'redirect_canonical' function (causing a redirect loop)
117
- * The custom canonical permalink set with Yoast SEO is now no longer overwriten
118
- * The custom permalinks are no longer saved if the post/term has no title
119
- * Hotfix for Gutenberg related JS errors
120
- * Hotfix for Groundhogg plugin
121
- * Hotfix for "Customize" admin bar menu link
122
- * Hotfix for WPML's language switcher on posts page
123
- * Hotfixes for WP 5.5 - blog/posts page + draft template is now loaded correctly
124
- * Trailing slash redirect code adjustments
125
- * Added support for GeoDirectory plugin
126
 
127
  = 2.2.8.7 =
128
- * Improved breadcrumbs hook (better compatibility with WPML/Polylang)
129
- * Hotfix for permalinks used in language switcher on blog/posts page (WPML)
130
- * Hotfix for cart URL in WooCommerce's mini-cart widget (now the permalink is translated correctly when WPML/Polylang is used)
131
- * Improved support for WPML's Advanced Translation
132
- * Improved support for pagination & embed endpoints
133
- * Hotfix for attachments permalinks
134
- * Improved url_to_postid() hook
135
- * Added support for Dokan /edit/ endpoint
136
 
137
  = 2.2.8.6 =
138
- * Hotfix for Permalink_Manager_Helper_Functions::get_disabled_taxonomies() function
139
- * New wrapper function with filter 'permalink_manager_post_statuses' for get_post_statuses()
140
- * Extended support for "My Listing" theme (by 27collective)
141
- * Hotfix for Gutenberg editor (broken HTML output)
142
- * Extended support for permalinks stored in Yoast SEO database tables (Indexables)
143
 
144
  = 2.2.8.4/2.2.8.5 =
145
- * Hotfix for Permastructures (now the permalink formats are saved correctly)
146
- * Hotfix for trailing slashes settings
147
- * Improved setting fields descriptions
148
- * Adjustments for search functionality in Bulk URI Editor
149
- * Support for WPML Classic Translation Editor
150
- * Adjustments for "Auto-update URI"
151
- * Improvements for get_post_types_array() & get_taxonomies_array() functions used to list the content types supported by Permalink Manager
152
 
153
  = 2.2.8.2/2.2.8.3 =
154
- * Improved descriptions in the plugin settings
155
- * Hotfix for endpoint redirect
156
 
157
  = 2.2.8.1 =
158
- * Hotfix for stop-words (now, the stop-words can be saved again)
159
- * Support for Duplicate Page plugin
160
 
161
  = 2.2.8.0 =
162
- * Hotfix for multisite/network installations. Now, the plugin globals are reloaded whenever switch_blog() function is called.
163
- * Hotfix for url_to_postid() function. The $pm_query global will no longer be altered.
164
- * Hotfix for post/page revisions in custom permalink detect function
165
- * Improved WP All Import Pro integration (better support for taxonomies)
166
- * A different approach for WP Customize URLs
167
- * New option available - "Old slug redirect"
168
 
169
  = 2.2.7.6 =
170
- * Code optimization for Bulk URI Editor
171
- * Support for WooCommerce breadcrumbs
172
- * A hotfix for WPForo plugin
173
- * New filter "permalink_manager_chunk_size" that allows to control the chunk size in bulk tools ("Regenerate/reset", "Find & Replace")
174
- * New filter "permalink_manager_sanitize_regex" that allows to adjust the function that sanitizes the custom permalinks
175
- * Autoload for backup arrays is now disabled
176
- * New option available - "Convert accented letters"
177
 
178
  = 2.2.7.5 =
179
- * CSS Hotfix. Now the redirects box is displayed correctly in the URI editor
180
 
181
  = 2.2.7.4 =
182
- * Support for "Primary category" set with SEOPress & RankMath plugins
183
- * Support for breadcrumbs added by SEOPress & RankMath plugins
184
- * Improved "trailing slashes" functionality - untrailingslashit() & trailingslashit() replaced with REGEX based functions
185
- * Possibility to remove custom permalinks, redirects, permastructure settings directly from "Debug" section
186
- * New filter "permalink_manager_duplicates_priority" that allows to decide what content type ("posts" or "terms") should be loaded when the custom permalink is duplicated
187
- * A minor fix for url_to_postid() function
188
 
189
  = 2.2.7.3 =
190
- * Support for "Primary category" set with The SEO Framework
191
- * Changes for URI Editor section backend (SQL queries + improvements for search box)
192
- * Improved support for WooCommerce Wishlist plugin
193
- * Improvements for slugs sanitization functions
194
- * Possibility to exclude posts from bulk tools added to "Auto-update the URI" dropdown in URI Editor
195
 
196
  = 2.2.7.1 =
197
- * Hotfix for PHP Fatal error in permalink-manager-admin-functions.php file
198
 
199
  = 2.2.7 =
200
- * Force 404 for draft posts (for non-logged-in users)
201
- * New feature: Force HTTPs/WWW in URLs
202
- * New setting fields: "URI Editor role capability" & "Force HTTPS in URLs"
203
- * Minor improvements
204
 
205
  = 2.2.6 =
206
- * More debug functions added
207
- * Better support for Hebrew letters
208
- * Support for location custom fields in WP Store Locator - CSV Manager plugin
209
- * Improved support for Gutenberg editor (reported by Cedric Busuttil)
210
 
211
  = 2.2.4/2.2.5 =
212
- * Minor code improvements
213
- * Yoast SEO Breadcrumbs - further improvements
214
- * Hotfix for Toolset custom fields support (Permalink Manager Pro)
215
- * Hotfix for Polylang URL modes
216
 
217
  = 2.2.3 =
218
- * Code improvements for WP All Import integration functions
219
- * Hotfix for Elementor conflict with custom redirects function (Permalink Manager Pro)
220
- * New field ("Do not automatically append the slug") in Permastructure settings added to each post type & taxonomy
221
- * Basic support added for Mailster plugin
222
- * New permastructure tag: "%monthname%"
223
 
224
  = 2.2.2 =
225
- * Code improvement for "Quick Edit" inline form
226
- * Support for Yoast SEO breadcrumbs added
227
- * Hotfix for Elementor
228
 
229
  = 2.2.1.1/2.2.1.2/2.2.1.3/2.2.1.4 =
230
- * Hotfix for function that detects custom URIs
231
- * Custom URIs for WP All Import inported posts are now generated 30 seconds after the import job is completed
232
 
233
  = 2.2.1 =
234
- * Hotfix for Customizer (custom permalinks filters are disabled in admin panel)
235
- * Minor UX improvements
236
- * Partial support for TranslatePress plugin added
237
- * Term permalinks are processed correctly when WPML enabled and "Adjust IDs for multilingual functionality" mode is activated
238
- * New setting field separated from "Force custom slugs" - now, both the native slugs and special characters (.|_+) can be kept inside the slugs
239
- * New filter - "permalink_manager_force_custom_slugs"
240
 
241
  = 2.2.0 =
242
- * Hotfix for WPML - ?lang query parameter is now appended correctly
243
- * Support for comment pages endpoint
244
- * Minor code adjustments
245
- * Metabox for Gutenberg enabled also for CPT
246
- * Further improvements for redirect hooks
247
- * Hotfix for WP Customizer
248
- * Native slugs are saved correctly in Gutenberg editor
249
- * New filter - "permalink_manager_filter_permastructure" + Permastructures can be now translated from admin panel
 
250
 
251
  = 2.1.2.1/2.1.2.2 =
252
- * Hotfix for "Force custom slugs" option - now special characters are not removed if "Yes, use post/term titles + do not strip special characters: .|-+" mode is set.
253
- * Hotfix for custom fields support in custom permalinks
254
 
255
  = 2.1.2 =
256
- * Hotfix for WP All Import - default permalinks are now assigned correctly to imported posts + possibility to disable WP All Import custom URI functions in Permalink Manager settings
257
- * Hotfix for Yoast SEO - notice displayed on author pages
258
- * Adjustments for sanitize slug functions
259
- * Basic support for Gutenberg added
260
 
261
  = 2.1.1 =
262
- * Support for draft custom permalinks
263
- * Support for WP All Import plugin, now the custom permalinks can be defined directly in XML, CSV, ZIP, GZIP, GZ, JSON, SQL, TXT, DAT or PSV import files.
264
- * Hotfix for Permalink_Manager_Pro_Functions::save_redirects() method - now the custom redirects are correctly saved when a custom permalink is updated.
265
- * Hotfix for "Language name added as a parameter" mode in "WPML Language URL format" settings.
266
- * Hotfix for canonical redirect triggered by WPML.
267
- * Better support for non-latin letters in custom URIs & redirects
268
- * Better support for endpoints
269
- * Searchbox in URI Editors
270
 
271
  = 2.1.0 =
272
- * Support for "url_to_postid" function
273
- * Bulk tools use now AJAX & transients to prevent timeout when large number of posts/terms is processed
274
- * Fix for multi-domain language setup in WPML
275
 
276
  = 2.0.6.5 =
277
- * Support for %__sku% permastructure tag (WooCommerce) added - now SKU number can be added to the custom permalinks (Permalink Manager Pro)
278
- * Hotfix for license validation system
279
 
280
  = 2.0.6.4 =
281
- * Code optimization
282
- * New filter: permalink_manager_fix_uri_duplicates
283
- * Possibility to display the native slug field
284
- * Hotfix for license validation functions
285
 
286
  = 2.0.6.3.2 =
287
- * Support added for Revisionize plugin
288
- * Minor tweaks
289
 
290
  = 2.0.6.2/2.0.6.3 =
291
- * Japaneese translation added
292
- * Some minor improvements
293
- * New filters: permalink_manager_hide_uri_editor_term_{$term->taxonomy}, permalink_manager_hide_uri_editor_post_{$post->post_type} & permalink_manager_update_term_uri_{$this_term->taxonomy}, permalink_manager_update_post_uri_{$post->post_type}, permalink_manager_new_post_uri_{$post_object->post_type}
294
- * Hotfix for default permalinks (no-hierarchical post types)
295
- * Hotfix for attachments default permalinks + URI detect function
296
 
297
  = 2.0.6.1 =
298
- * Hotfix for endpoints in REGEX
299
- * Minor bug fixed - native slugs are now correctly regenerated
300
- * Hotfix for URI sanitization functions
301
- * Hotfix for AMP plugin
302
- * Full support for WPML multi-domain language setup
303
- * Hotfix for VisualComposer + Yoast SEO JS functions
304
- * Hotfix for WPML String Translation
305
 
306
  = 2.0.6.0 =
307
- * Minor bugs fixed
308
- * New permastrutcure tag - %native_slug%
309
- * "Force custom slugs" feature enhanced with new options
310
- * Possibility to redirect the posts & terms to external URL (Permalink Manager Pro)
311
 
312
  = 2.0.5.9 =
313
- * New permastructure tags - %post_type% & %taxonomy%
314
- * Support for "Taxonomy" custom field in ACF (Advanced Custom Fields)
315
- * Minor fix for endpoints
316
- * New hook - "permalink_manager-filter-permalink-base" used instead of "permalink-manager-post-permalink-prefix" & "permalink-manager-term-permalink-prefix"
317
 
318
  = 2.0.5.7/2.0.5.8 =
319
- * Hotfix for MultilingualPress plugin
320
- * Hotfix & better support for attachment post type (Media Library)
321
- * Custom redirects for old permalinks are now correctly saved in Permalink Manager Pro
322
- * Support for WooCommerce Wishlist plugin
323
 
324
  = 2.0.5.6 =
325
- * The URIs for trashed posts are now correctly removed
326
- * Better support for non-ASCII characters in URIs
327
- * Minor fix for hierarchical post types
328
- * Fix for coupon URL redirect
329
- * New filter - "permalink-manager-force-hyphens"
330
 
331
  = 2.0.5.5 =
332
- * Discount URLs for WooCommerce - now the shop clients can use coupons' custom URIs to easily apply the discount to the cart
333
- * Extra AJAX check for duplicated URIs in "Edit URI" box
334
- * Wordpress CronJobs for "Automatically remove duplicates" functionality
335
- * Extra improvements in "save_post/update_term" hooks
336
- * Fix for terms permalinks added via "Edit post" page
337
- * New filter - "permalink-manager-force-lowercase-uris"
338
 
339
  = 2.0.5.4 =
340
- * New filter - "permalink_manager_empty_tag_replacement"
341
- * Fix for term placeholder tags in taxonomies permastructures
342
- * Page pagination improvement (404 error page for non-existing pages)
343
- * New settings field for pagination redirect
344
- * Trailing slashes are no longer added to custom permalinks ended with extension, eg. .html, or .php
345
 
346
  = 2.0.5.3 =
347
- * Hotfix for redirects - redirect chain no longer occurs (WPML)
348
- * Now $wp_query->is_404() is set to false when custom URI is detected
349
- * Hotfix for ACF custom fields in terms
350
- * Fix for trailing slash (in admin dashboard), also the trailing slashes are removed from permalinks containing GET parameters or hastags (often used by 3rd party plugins)
351
 
352
  = 2.0.5.2.2 =
353
- * Hotfix for admin requests (+ compatibility with WooCommerce TM Extra Product Options)
354
- * Hotfix for no-ASCII characters in custom URIs
355
- * Hotfix for attachments
356
 
357
  = 2.0.5.2.1 =
358
- * Hotfix for endpoints redirect
359
 
360
  = 2.0.5.1/2.0.5.2 =
361
- * Hotfix for REGEX rule
362
- * yoast_attachment_redirect setting removed (it is no longer needed)
363
- * yoast_primary_term setting replaced with "permalink-manager-primary-term" filter
364
- * Hotfix for WP All Import
365
- * Hotfix for WooCommerce endpoints
366
- * Better support for Polylang
367
- * Support for Theme My Login plugin
368
 
369
  = 2.0.5 =
370
- * Now, the duplicates and unused custom permalinks can be automatically removed
371
- * Better support for endpoints
372
- * "Disable slug appendix" field is no longer needed
373
- * %{taxonomy}_flat% tag enhanced for post types permastructures
374
- * Fix for WPML language prefixes in REGEX rule used to detect URIs
375
- * Possibility to disable Permalink Manager functions for particular post types or taxonomies
376
 
377
  = 2.0.4.3 =
378
- * Hotfix for problem with custom URIs for new terms & posts
379
 
380
  = 2.0.4.2 =
381
  * Trailing slashes redirect adjustment
382
 
383
  = 2.0.4.1 =
384
- * Hotfix for Elementor and another visual editor plugins
385
- * Support for endpoints parsed as $_GET parameters
386
 
387
  = 2.0.4 =
388
- * New settings field - "Deep detect"
389
 
390
  = 2.0.3.1 =
391
- * Fix for Custom Fields tag in permastructures
392
 
393
  = 2.0.3 =
394
- * Custom URI editor in "Quick Edit"
395
- * "Quick/Bulk Edit" hotfix
396
- * New permastrutcure tag %category_custom_uri%
397
 
398
  = 2.0.2 =
399
- * WooCommerce search redirect loop - hotfix
400
 
401
  = 2.0.1 =
402
- * WooCommerce endpoints hotfix
403
- * Redirects save notices - hotfix
404
 
405
  = 2.0.0 =
406
- * Extra Redirects - possibility to define extra redirects for each post/term
407
- * New "Tools" section - "Permalink Duplicates"
408
- * UI improvements for taxonomies ("Custom URI" panel)
409
- * Fixes for reported bugs
410
 
411
  = 1.11.6.3 =
412
- * Slug appendix fix
413
- * Hotfix for WooCommerce checkkout
414
 
415
  = 1.11.6 =
416
- * Hotfix for taxonomy tags
417
- * Hotfix for custom field tags
418
- * Hotfix for Jetpack
419
- * Suuport for WP All Import
420
- * Support for Custom Permalinks
421
 
422
  = 1.11.5.1 =
423
- * Hotfix for "Custom URI" form
424
- * Hotfix for Yoast SEO & Visual Composer
425
- * Now it is possible to disable slugs appendix
426
 
427
  = 1.11.4 =
428
- * Hotfix for RSS feeds URLs
429
 
430
  = 1.11.1 =
431
- * Trailing slashes & Decode URIs - new settings
432
- * Fix for "Bulk Edit" URI reset
433
- * Partial code refactoring
434
 
435
  = 1.11.0 =
436
- * Hierarchical taxonomies fix
437
- * New hook: "permalink_manager_filter_final_term_permalink"
438
 
439
  = 1.10.2 =
440
- * Taxonomies & permastructures fix
441
 
442
  = 1.1.1 =
443
- * Typo fix
444
- * UI improvements
445
- * Fix for canonical redirects in WPML
446
 
447
  = 1.1.0 =
448
- * Partial code refactoring
449
- * "Auto-update" feature
450
- * UI/UX improvements
451
- * Support for AMP plugin by Automattic
452
 
453
  = 1.0.3 =
454
- * Another pagination issue - hotfix
455
 
456
  = 1.0.2 =
457
- * Post pagination fix
458
- * Basic REGEX support
459
- * 'permalink_manager_filter_final_post_permalink' filter added
460
 
461
  = 1.0.1 =
462
- * WPML support fixes
463
 
464
  = 1.0.0 =
465
- * Further refactoring
466
- * WPML support added
467
- * Some minor issues fixed
468
- * "Sample permalink" support added
469
 
470
  = 0.5.2/0.5.3 =
471
  * Another hotfix
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.5.3
10
+ Stable tag: 2.2.9.2.1
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
 
14
  == Description ==
15
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.2.9.3 =
107
+ * Fix - The custom permalinks are now saved correctly for new posts with 'wp_insert_post' hook
108
+ * Fix - The custom permalinks are deleted when 'delete_post' hook is called
109
+ * Fix - WPML - language switcher on posts (blog) page work correctly now
110
+ * Enhancement - Basic support for Ultimate Member plugin added
111
+
112
+ = 2.2.9.2 =
113
+ * Dev - Improvements for Permalink_Manager_Core_Functions::control_trailing_slashes() function
114
+ * Dev - Minor codebase improvements
115
+ * Fix - Hotfix for "Automatically fix broken URIs" function
116
+ * Fix - Underscores are now by default allowed in the custom permalinks
117
+ * Enhancement - Better support for GeoDirectory plugin
118
+ * Fix - 'permalink_manager_allow_new_post_uri' & 'permalink_manager_allow_update_post_uri' filter replaced 'permalink_manager_new_post_uri_{$post_object->post_type}' and 'permalink_manager_update_post_uri_{$post->post_type}'
119
+
120
  = 2.2.9.0/2.2.9.1 =
121
+ * Enhancement - Basic support for BasePress added
122
+ * Enhancement - Added support for custom product attributes in products' permalinks (WooCommerce)
123
+ * Fix - "Trailing slash redirect" is now disabled on front pages (to prevent redirect loop on Polylang/WPML language front pages)
124
+ * Dev - The taxonomy term used in custom permalinks is selected differently
125
+ * Dev - Performance improvements (duplicate-check function)
126
+ * Dev - Further improvements for the function used to sanitize the custom permalinks
127
+ * Dev - Codebase improvements
128
 
129
  = 2.2.8.8/2.2.8.9 =
130
+ * Fix - Hotfix for 'redirect_canonical' function (causing a redirect loop)
131
+ * Fix - The custom canonical permalink set with Yoast SEO is now no longer overwriten
132
+ * Fix - The custom permalinks are no longer saved if the post/term has no title
133
+ * Fix - Hotfix for Gutenberg related JS errors
134
+ * Fix - Hotfix for Groundhogg plugin
135
+ * Fix - Hotfix for "Customize" admin bar menu link
136
+ * Fix - Hotfix for WPML's language switcher on posts page
137
+ * Fix - Hotfixes for WP 5.5 - blog/posts page + draft template is now loaded correctly
138
+ * Dev - Trailing slash redirect code adjustments
139
+ * Enhancement - Added support for GeoDirectory plugin
140
 
141
  = 2.2.8.7 =
142
+ * Dev - Improved breadcrumbs hook (better compatibility with WPML/Polylang)
143
+ * Fix - Hotfix for permalinks used in language switcher on blog/posts page (WPML)
144
+ * Fix - Hotfix for cart URL in WooCommerce's mini-cart widget (now the permalink is translated correctly when WPML/Polylang is used)
145
+ * Dev - Improved support for WPML's Advanced Translation
146
+ * Dev - Improved support for pagination & embed endpoints
147
+ * Fix - Hotfix for attachments permalinks
148
+ * Fix - Improved url_to_postid() hook
149
+ * Fix - Added support for Dokan /edit/ endpoint
150
 
151
  = 2.2.8.6 =
152
+ * Fix - Hotfix for Permalink_Manager_Helper_Functions::get_disabled_taxonomies() function
153
+ * Dev - New wrapper function with filter 'permalink_manager_post_statuses' for get_post_statuses()
154
+ * Enhancement - Extended support for "My Listing" theme (by 27collective)
155
+ * Fix - Hotfix for Gutenberg editor (broken HTML output)
156
+ * Dev - Extended support for permalinks stored in Yoast SEO database tables (Indexables)
157
 
158
  = 2.2.8.4/2.2.8.5 =
159
+ * Fix - Hotfix for Permastructures (now the permalink formats are saved correctly)
160
+ * Fix - Hotfix for trailing slashes settings
161
+ * Dev - Improved setting fields descriptions
162
+ * Dev - Adjustments for search functionality in Bulk URI Editor
163
+ * Enhancement - Support for WPML Classic Translation Editor
164
+ * Dev - Adjustments for "Auto-update URI"
165
+ * Dev - Improvements for get_post_types_array() & get_taxonomies_array() functions used to list the content types supported by Permalink Manager
166
 
167
  = 2.2.8.2/2.2.8.3 =
168
+ * Dev - Improved descriptions in the plugin settings
169
+ * Fix - Hotfix for endpoint redirect
170
 
171
  = 2.2.8.1 =
172
+ * Fix - Hotfix for stop-words (now, the stop-words can be saved again)
173
+ * Enhancement - Support for Duplicate Page plugin
174
 
175
  = 2.2.8.0 =
176
+ * Fix - Hotfix for multisite/network installations. Now, the plugin globals are reloaded whenever switch_blog() function is called.
177
+ * Fix - Hotfix for url_to_postid() function. The $pm_query global will no longer be altered.
178
+ * Fix - Hotfix for post/page revisions in custom permalink detect function
179
+ * Dev - Improved WP All Import Pro integration (better support for taxonomies)
180
+ * Dev - A different approach for WP Customize URLs
181
+ * Enhancement - New option added: "Old slug redirect"
182
 
183
  = 2.2.7.6 =
184
+ * Dev - Code optimization for Bulk URI Editor
185
+ * Enhancement - Support for WooCommerce breadcrumbs
186
+ * Fix - A hotfix for WPForo plugin
187
+ * Enhancement - New filter "permalink_manager_chunk_size" that allows to control the chunk size in bulk tools ("Regenerate/reset", "Find & Replace")
188
+ * Enhancement - New filter "permalink_manager_sanitize_regex" that allows to adjust the function that sanitizes the custom permalinks
189
+ * Dev - Autoload for backup arrays is now disabled
190
+ * Enhancement - New option added: "Convert accented letters"
191
 
192
  = 2.2.7.5 =
193
+ * Fix - CSS adjustments. Now the redirects box is displayed correctly in the URI editor
194
 
195
  = 2.2.7.4 =
196
+ * Enhancement - Support for "Primary category" set with SEOPress & RankMath plugins
197
+ * Enhancement - Support for breadcrumbs added by SEOPress & RankMath plugins
198
+ * Dev - Improved "trailing slashes" functionality - untrailingslashit() & trailingslashit() replaced with REGEX based functions
199
+ * Enhancement - Possibility to remove custom permalinks, redirects, permastructure settings directly from "Debug" section
200
+ * Enhancement - New filter "permalink_manager_duplicates_priority" that allows to decide what content type ("posts" or "terms") should be loaded when the custom permalink is duplicated
201
+ * Fix - A minor fix for url_to_postid() function
202
 
203
  = 2.2.7.3 =
204
+ * Enhancement - Support for "Primary category" set with The SEO Framework
205
+ * Dev - Changes for URI Editor section backend (SQL queries + improvements for search box)
206
+ * Enhancement - Improved support for WooCommerce Wishlist plugin
207
+ * Dev - Improvements for slugs sanitization functions
208
+ * Enhancement - Possibility to exclude posts from bulk tools added to "Auto-update the URI" dropdown in URI Editor
209
 
210
  = 2.2.7.1 =
211
+ * Fix - Hotfix for PHP Fatal error in permalink-manager-admin-functions.php file
212
 
213
  = 2.2.7 =
214
+ * Dev - Force 404 for draft posts (for non-logged-in users)
215
+ * Enhancement - New setting fields: "URI Editor role capability" & "Force HTTPS in URLs"
216
+ * Dev - Minor improvements
 
217
 
218
  = 2.2.6 =
219
+ * Dev - More debug functions added
220
+ * Dev - Better support for Hebrew letters
221
+ * Enhancement - Support for location custom fields in WP Store Locator - CSV Manager plugin
222
+ * Enhancement - Improved support for Gutenberg editor (reported by Cedric Busuttil)
223
 
224
  = 2.2.4/2.2.5 =
225
+ * Dev - Minor code improvements
226
+ * Dev - Yoast SEO Breadcrumbs - further improvements
227
+ * Fix - Hotfix for Toolset custom fields support (Permalink Manager Pro)
228
+ * Fix - Hotfix for Polylang URL modes
229
 
230
  = 2.2.3 =
231
+ * Dev - Code improvements for WP All Import integration functions
232
+ * Fix - Hotfix for Elementor conflict with custom redirects function (Permalink Manager Pro)
233
+ * Enhancement - New field ("Do not automatically append the slug") in Permastructure settings added to each post type & taxonomy
234
+ * Enhancement - Basic support added for Mailster plugin
235
+ * Enhancement - New permastructure tag: "%monthname%"
236
 
237
  = 2.2.2 =
238
+ * Dev - Code improvement for "Quick Edit" inline form
239
+ * Enhancement - Support for Yoast SEO breadcrumbs added
240
+ * Fix - Hotfix for Elementor
241
 
242
  = 2.2.1.1/2.2.1.2/2.2.1.3/2.2.1.4 =
243
+ * Fix - Hotfix for function that detects custom URIs
244
+ * Dev - Custom URIs for WP All Import inported posts are now generated 30 seconds after the import job is completed
245
 
246
  = 2.2.1 =
247
+ * Fix - Hotfix for Customizer (custom permalinks filters are disabled in admin panel)
248
+ * Dev - Minor UX improvements
249
+ * Enhancement - Partial support for TranslatePress plugin added
250
+ * Fix - Term permalinks are processed correctly when WPML enabled and "Adjust IDs for multilingual functionality" mode is activated
251
+ * Enhancement - New setting field separated from "Force custom slugs" - now, both the native slugs and special characters (.|_+) can be kept inside the slugs
252
+ * Enhancement - "permalink_manager_force_custom_slugs" filter added
253
 
254
  = 2.2.0 =
255
+ * Fix - Hotfix for WPML - ?lang query parameter is now appended correctly
256
+ * Fix - Support for comment pages endpoint
257
+ * Dev - Minor code adjustments
258
+ * Enhancement - Metabox for Gutenberg enabled also for CPT
259
+ * Dev - Further improvements for redirect hooks
260
+ * Fix - Hotfix for WP Customizer
261
+ * Fix - Native slugs are saved correctly in Gutenberg editor
262
+ * Enhancement - "permalink_manager_filter_permastructure" filter added
263
+ * Enhancement - Permastructures can be now translated from admin panel
264
 
265
  = 2.1.2.1/2.1.2.2 =
266
+ * Fix - Hotfix for "Force custom slugs" option - now special characters are not removed if "Yes, use post/term titles + do not strip special characters: .|-+" mode is set.
267
+ * Fix - Hotfix for custom fields support in custom permalinks
268
 
269
  = 2.1.2 =
270
+ * Fix - Hotfix for WP All Import - default permalinks are now assigned correctly to imported posts + possibility to disable WP All Import custom URI functions in Permalink Manager settings
271
+ * Fix - Hotfix for Yoast SEO - notice displayed on author pages
272
+ * Dev - Adjustments for sanitize slug functions
273
+ * Enhancement - Basic support for Gutenberg added
274
 
275
  = 2.1.1 =
276
+ * Enhancement - Support for draft custom permalinks
277
+ * Enhancement - Support for WP All Import plugin, now the custom permalinks can be defined directly in XML, CSV, ZIP, GZIP, GZ, JSON, SQL, TXT, DAT or PSV import files.
278
+ * Fix - Permalink_Manager_Pro_Functions::save_redirects() method - now the custom redirects are correctly saved when a custom permalink is updated.
279
+ * Fix - Hotfix for "Language name added as a parameter" mode in "WPML Language URL format" settings.
280
+ * Fix - Hotfix for canonical redirect triggered by WPML.
281
+ * Dev - Better support for non-latin letters in custom URIs & redirects
282
+ * Dev - Better support for endpoints
283
+ * Enhancement - Searchbox in URI Editors
284
 
285
  = 2.1.0 =
286
+ * Enhancement - Support for "url_to_postid" function
287
+ * Dev - Bulk tools use now AJAX & transients to prevent timeout when large number of posts/terms is processed
288
+ * Fix - Fix for multi-domain language setup in WPML
289
 
290
  = 2.0.6.5 =
291
+ * Enhancement - Support for %__sku% permastructure tag (WooCommerce) added - now SKU number can be added to the custom permalinks (Permalink Manager Pro)
 
292
 
293
  = 2.0.6.4 =
294
+ * Dev - Code optimization
295
+ * Enhancement - 'permalink_manager_fix_uri_duplicates' filter added
296
+ * Enhancement - Possibility to display the native slug field
297
+ * Fix - License validation functions fixed
298
 
299
  = 2.0.6.3.2 =
300
+ * Enhancement - Support added for Revisionize plugin
301
+ * Fix - Minor tweaks
302
 
303
  = 2.0.6.2/2.0.6.3 =
304
+ * Enhancement - Japaneese translation added
305
+ * Dev - Some minor improvements
306
+ * Enhancement - New filters: permalink_manager_hide_uri_editor_term_{$term->taxonomy}, permalink_manager_hide_uri_editor_post_{$post->post_type} & permalink_manager_update_term_uri_{$this_term->taxonomy}, permalink_manager_update_post_uri_{$post->post_type}, permalink_manager_new_post_uri_{$post_object->post_type}
307
+ * Fix - Hotfix for default permalinks (no-hierarchical post types)
308
+ * Fix - Hotfix for attachments default permalinks + URI detect function
309
 
310
  = 2.0.6.1 =
311
+ * Fix - Hotfix for endpoints in REGEX
312
+ * Fix - Minor bug fixed - native slugs are now correctly regenerated
313
+ * Fix - Hotfix for URI sanitization functions
314
+ * Fix - Hotfix for AMP plugin
315
+ * Enhancement - Full support for WPML multi-domain language setup
316
+ * Fix - Hotfix for VisualComposer + Yoast SEO JS functions
317
+ * Fix - Hotfix for WPML String Translation
318
 
319
  = 2.0.6.0 =
320
+ * Fix - Minor bugs fixed
321
+ * Enhancement - New permastrutcure tag - %native_slug%
322
+ * Enhancement - "Force custom slugs" feature enhanced with new options
323
+ * Enhancement - Possibility to redirect the posts & terms to external URL (Permalink Manager Pro)
324
 
325
  = 2.0.5.9 =
326
+ * Enhancement - New permastructure tags - %post_type% & %taxonomy%
327
+ * Enhancement- Support for "Taxonomy" custom field in ACF (Advanced Custom Fields)
328
+ * Fix - Minor fix for endpoints
329
+ * Enhancement - New hooks: "permalink_manager-filter-permalink-base" used instead of "permalink-manager-post-permalink-prefix" & "permalink-manager-term-permalink-prefix"
330
 
331
  = 2.0.5.7/2.0.5.8 =
332
+ * Fix - MultilingualPress plugin
333
+ * Fix - Hotfix & better support for attachment post type (Media Library)
334
+ * Fix - Custom redirects for old permalinks are now correctly saved in Permalink Manager Pro
335
+ * Enhancement - Support for WooCommerce Wishlist plugin
336
 
337
  = 2.0.5.6 =
338
+ * Fix - The URIs for trashed posts are now correctly removed
339
+ * Dev - Better support for non-ASCII characters in URIs
340
+ * Fix - Minor fix for hierarchical post types
341
+ * Fix Fix for coupon URL redirect
342
+ * Enhancement - New filter - "permalink-manager-force-hyphens"
343
 
344
  = 2.0.5.5 =
345
+ * Enhancement - Discount URLs for WooCommerce - now the shop clients can use coupons' custom URIs to easily apply the discount to the cart
346
+ * Enhancement - Extra AJAX check for duplicated URIs in "Edit URI" box
347
+ * Enhancement - Wordpress CronJobs for "Automatically remove duplicates" functionality
348
+ * Dev - Extra improvements in "save_post/update_term" hooks
349
+ * Fix - Terms permalinks added via "Edit post" page
350
+ * Enhancement - "permalink-manager-force-lowercase-uris" filter added
351
 
352
  = 2.0.5.4 =
353
+ * Enhancement - "permalink_manager_empty_tag_replacement" filter added
354
+ * Enhancement - New settings field for pagination redirect
355
+ * Enhancement - Trailing slashes are no longer added to custom permalinks ended with extension, eg. .html, or .php
356
+ * Fix - Term placeholder tags in taxonomies permastructures
357
+ * Fix - Page pagination improvement (404 error page for non-existing pages)
358
 
359
  = 2.0.5.3 =
360
+ * Fix - Hotfix for redirects - redirect chain no longer occurs (WPML)
361
+ * Fix - Hotfix for ACF custom fields in terms
362
+ * Fix - "Trailling slashes" mode setting added, also the trailing slashes are removed from permalinks containing GET parameters or anchors (often used by 3rd party plugins)
 
363
 
364
  = 2.0.5.2.2 =
365
+ * Fix - Hotfix for admin requests (+ compatibility with WooCommerce TM Extra Product Options)
366
+ * Fix - Hotfix for no-ASCII characters in custom URIs
367
+ * Fix - Hotfix for attachments
368
 
369
  = 2.0.5.2.1 =
370
+ * Fix - Hotfix for endpoints redirect
371
 
372
  = 2.0.5.1/2.0.5.2 =
373
+ * Dev - yoast_attachment_redirect setting removed (it is no longer needed)
374
+ * Dev - "yoast_primary_term" setting replaced with "permalink-manager-primary-term" filter
375
+ * Fix - REGEX rules
376
+ * Fix - Hotfix for WP All Import
377
+ * Fix - Hotfix for WooCommerce endpoints
378
+ * Dev - Better support for Polylang
379
+ * Enhancement - Support for Theme My Login plugin
380
 
381
  = 2.0.5 =
382
+ * Enhancement - Now, the duplicates and unused custom permalinks can be automatically removed
383
+ * Enhancement - %{taxonomy}_flat% tag enhanced for post types permastructures
384
+ * Enhancement - Possibility to disable Permalink Manager functions for particular post types or taxonomies
385
+ * Dev - Better support for endpoints
386
+ * Dev - "Disable slug appendix" field is no longer needed
387
+ * Fix - Fix for WPML language prefixes in REGEX rule used to detect URIs
388
 
389
  = 2.0.4.3 =
390
+ * Fix - Hotfix for problem with custom URIs for new terms & posts
391
 
392
  = 2.0.4.2 =
393
  * Trailing slashes redirect adjustment
394
 
395
  = 2.0.4.1 =
396
+ * Fix - Hotfix for Elementor and another visual editor plugins
397
+ * Dev - Support for endpoints parsed as $_GET parameters
398
 
399
  = 2.0.4 =
400
+ * Enhancement - New settings field - "Deep detect"
401
 
402
  = 2.0.3.1 =
403
+ * Enhancement - Custom fields tags in permastructures settings
404
 
405
  = 2.0.3 =
406
+ * Enhancement - Custom URI editor in "Quick Edit"
407
+ * Enhancement - New permastrutcure tag %category_custom_uri%
408
+ * Fix - "Quick/Bulk Edit" hotfix
409
 
410
  = 2.0.2 =
411
+ * Fix - WooCommerce search redirect loop - hotfix
412
 
413
  = 2.0.1 =
414
+ * Fix - WooCommerce endpoints hotfix
415
+ * Fix - Redirects save notices - hotfix
416
 
417
  = 2.0.0 =
418
+ * Enhancement - Extra Redirects - possibility to define extra redirects for each post/term
419
+ * Enhancement - New "Tools" section - "Permalink Duplicates"
420
+ * Enhancement - UI improvements for taxonomies ("Custom URI" panel)
421
+ * Fix - Fixes for user reported bugs
422
 
423
  = 1.11.6.3 =
424
+ * Fix - Slug appendix fix
425
+ * Fix - Hotfix for WooCommerce checkout
426
 
427
  = 1.11.6 =
428
+ * Fix - Hotfix for taxonomy tags
429
+ * Fix - Hotfix for custom field tags
430
+ * Fix - Hotfix for Jetpack
431
+ * Enhancement - Suuport for WP All Import
432
+ * Enhancement - Support for Custom Permalinks
433
 
434
  = 1.11.5.1 =
435
+ * Fix - "Custom URI" form issues
436
+ * Fix - for Yoast SEO & Visual Composer
437
+ * Enhancement - Possibility to choose if slugs should or should not be added to the default custom permalinks
438
 
439
  = 1.11.4 =
440
+ * Fix - Hotfix for RSS feeds URLs
441
 
442
  = 1.11.1 =
443
+ * Enhancement - Trailing slashes & Decode URIs - new settings
444
+ * Fix - "Bulk Edit" URI reset
445
+ * Dev - Partial code refactoring
446
 
447
  = 1.11.0 =
448
+ * Fix - Hierarchical taxonomies fix
449
+ * Enhancement - 'permalink_manager_filter_final_term_permalink' filter added
450
 
451
  = 1.10.2 =
452
+ * Fix - Taxonomies & permastructures fix
453
 
454
  = 1.1.1 =
455
+ * Dev - UI improvements
456
+ * Fix - Fix for canonical redirects in WPML
 
457
 
458
  = 1.1.0 =
459
+ * Dev - Partial code refactoring
460
+ * Dev - UI/UX improvements
461
+ * Enhancement - "Auto-update" feature
462
+ * Enhancement - Support for AMP plugin by Automattic
463
 
464
  = 1.0.3 =
465
+ * Fix - Another pagination issue - hotfix
466
 
467
  = 1.0.2 =
468
+ * Fix - Post pagination fix
469
+ * Enhancement - Basic REGEX support
470
+ * Enhancement - 'permalink_manager_filter_final_post_permalink' filter added
471
 
472
  = 1.0.1 =
473
+ * Fix - WPML support fixes
474
 
475
  = 1.0.0 =
476
+ * Dev - Further refactoring
477
+ * Dev - Some minor issues fixed
478
+ * Enhancement - WPML support added
479
+ * Enhancement - "Sample permalink" support added
480
 
481
  = 0.5.2/0.5.3 =
482
  * Another hotfix
includes/core/permalink-manager-actions.php CHANGED
@@ -153,20 +153,22 @@ class Permalink_Manager_Actions extends Permalink_Manager_Class {
153
  if(empty($items)) {
154
  $items = $class_name::get_items();
155
 
156
- // Set stats (to display the progress)
157
- $total = count($items);
158
-
159
- // Split items array into chunks and save them to transient
160
- $items = array_chunk($items, $chunk_size);
161
-
162
- set_transient("pm_{$uniq_id}_progress", 0, 300);
163
- set_transient("pm_{$uniq_id}", $items, 300);
164
-
165
- // Check for MySQL errors
166
- if(!empty($wpdb->last_error)) {
167
- printf('%s (%sMB)', $wpdb->last_error, strlen(serialize($items)) / 1000000);
168
- http_response_code(500);
169
- die();
 
 
170
  }
171
  }
172
 
153
  if(empty($items)) {
154
  $items = $class_name::get_items();
155
 
156
+ if(!empty($items)) {
157
+ // Set stats (to display the progress)
158
+ $total = count($items);
159
+
160
+ // Split items array into chunks and save them to transient
161
+ $items = array_chunk($items, $chunk_size);
162
+
163
+ set_transient("pm_{$uniq_id}_progress", 0, 300);
164
+ set_transient("pm_{$uniq_id}", $items, 300);
165
+
166
+ // Check for MySQL errors
167
+ if(!empty($wpdb->last_error)) {
168
+ printf('%s (%sMB)', $wpdb->last_error, strlen(serialize($items)) / 1000000);
169
+ http_response_code(500);
170
+ die();
171
+ }
172
  }
173
  }
174
 
includes/core/permalink-manager-admin-functions.php CHANGED
@@ -195,11 +195,10 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
195
  $default = (isset($args['default'])) ? $args['default'] : '';
196
  $label = (isset($args['label'])) ? $args['label'] : '';
197
  $rows = (isset($args['rows'])) ? "rows=\"{$rows}\"" : "rows=\"5\"";
198
- $container_class = (isset($args['container_class'])) ? " class=\"{$args['container_class']} field-container\"" : " class=\"field-container\"";
199
  $description = (isset($args['before_description'])) ? $args['before_description'] : "";
200
  $description .= (isset($args['description'])) ? "<p class=\"field-description description\">{$args['description']}</p>" : "";
201
  $description .= (isset($args['after_description'])) ? $args['after_description'] : "";
202
- $description .= (isset($args['pro'])) ? sprintf("<p class=\"field-description description alert info\">%s</p>", (Permalink_Manager_Admin_Functions::pro_text(true))) : "";
203
  $append_content = (isset($args['append_content'])) ? "{$args['append_content']}" : "";
204
 
205
  // Input attributes
@@ -209,6 +208,27 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
209
  $input_atts .= (isset($args['placeholder'])) ? " placeholder='{$args['placeholder']}'" : '';
210
  $input_atts .= (isset($args['extra_atts'])) ? " {$args['extra_atts']}" : '';
211
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  // Get the field value (if it is not set in $args)
213
  if(isset($args['value']) && empty($args['value']) == false) {
214
  $value = $args['value'];
@@ -427,7 +447,8 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
427
  $html .= $append_content;
428
  $html .= "</div>";
429
  } else if(isset($args['container']) && $args['container'] == 'row') {
430
- $html = sprintf("<tr id=\"%s\" data-field=\"%s\" %s><th><label for=\"%s\">%s</label></th>", esc_attr(preg_replace('/(?:.*\[)(.*)(?:\].*)/', '$1', $input_name)), $input_name, $container_class, $input_name, $args['label']);
 
431
  $html .= "<td><fieldset>{$fields}{$description}</fieldset></td></tr>";
432
  $html .= ($append_content) ? "<tr class=\"appended-row\"><td colspan=\"2\">{$append_content}</td></tr>" : "";
433
  } else if(isset($args['container']) && $args['container'] == 'screen-options') {
@@ -553,7 +574,7 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
553
 
554
  $html = "<div id=\"permalink-manager\" class=\"wrap\">";
555
 
556
- $donate_link = (Permalink_Manager_Admin_Functions::is_pro_active()) ? "" : sprintf("<a href=\"%s\" target=\"_blank\" class=\"page-title-action\">%s</a>", PERMALINK_MANAGER_DONATE, __("Donate", "permalink-manager"));
557
  $html .= sprintf("<h2 id=\"plugin-name-heading\">%s <a href=\"http://maciejbis.net\" class=\"author-link\" target=\"_blank\">%s</a> %s</h2>", PERMALINK_MANAGER_PLUGIN_NAME, __("by Maciej Bis", "permalink-manager"), $donate_link);
558
 
559
  // Display the tab navigation
@@ -566,7 +587,7 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
566
  }
567
 
568
  // Upgrade to Pro version
569
- $html .= (Permalink_Manager_Admin_Functions::is_pro_active() == false) ? sprintf("<a href=\"%s\" target=\"_blank\" class=\"nav-tab section_upgrade\">%s</a>", 'https://permalinkmanager.pro/buy-permalink-manager-pro/?utm_source=plugin_upgrade', __('Upgrade to PRO', 'permalink-manager')) : '';
570
  $html .= "</div>";
571
 
572
  // Now display the active section
@@ -689,9 +710,9 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
689
  $alert_content = sprintf( _n( '<strong class="updated_count">%d</strong> slug was updated!', '<strong class="updated_count">%d</strong> slugs were updated!', $updated_slugs_count, 'permalink-manager' ), $updated_slugs_count ) . ' ';
690
  $alert_content .= sprintf( __( '<a %s>Click here</a> to go to the list of updated slugs', 'permalink-manager' ), "href=\"#updated-list\"");
691
 
692
- $alert = Permalink_Manager_Admin_Functions::get_alert_message($alert_content, 'updated updated_slugs');
693
  } else {
694
- $alert = Permalink_Manager_Admin_Functions::get_alert_message(__( '<strong>No slugs</strong> were updated!', 'permalink-manager' ), 'error updated_slugs');
695
  }
696
  }
697
 
@@ -725,7 +746,7 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
725
  $html .= "</fieldset>";
726
 
727
  // Append nonce field & element ID
728
- $html .= Permalink_Manager_Admin_Functions::generate_option_field("permalink-manager-edit-uri-element-id", array("type" => "hidden", "input_class" => "permalink-manager-edit-uri-element-id", "value" => ""));
729
  $html .= wp_nonce_field( 'permalink-manager-edit-uri-box', 'permalink-manager-nonce', true, false );
730
 
731
  return $html;
@@ -810,40 +831,41 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
810
 
811
  // 4. Custom URI
812
  if(!empty($is_front_page)) {
813
- $custom_uri_field = Permalink_Manager_Admin_Functions::generate_option_field("custom_uri", array("type" => "hidden", "extra_atts" => "data-default=\"{$default_uri}\" data-element-id=\"{$element_id}\"", "input_class" => "widefat custom_uri", "value" => rawurldecode($uri)));
814
  $custom_uri_field .= __("The custom URI cannot be edited on frontpage.", "permalink-manager");
815
  } else {
816
- $custom_uri_field = Permalink_Manager_Admin_Functions::generate_option_field("custom_uri", array("extra_atts" => "data-default=\"{$default_uri}\" data-element-id=\"{$element_id}\"", "input_class" => "widefat custom_uri", "value" => rawurldecode($uri)));
817
  }
818
 
819
  $html .= sprintf("<div class=\"custom_uri_container\"><p><label for=\"custom_uri\" class=\"strong\">%s %s</label></p><span>%s</span><span class=\"duplicated_uri_alert\"></span></div>",
820
  __("Current URI", "permalink-manager"),
821
- ($element->ID) ? Permalink_Manager_Admin_Functions::help_tooltip(__("If custom URI is not defined, a default URI will be set (see below). The custom URI can be edited only if 'Auto-update the URI' feature is not enabled.", "permalink-manager")) : "",
822
  $custom_uri_field
823
  );
824
 
825
- // 5. Native slug
 
 
 
 
 
 
 
 
 
 
 
826
  if(!empty($element->ID) && !empty($permalink_manager_options["general"]["show_native_slug_field"])) {
827
- $native_slug_field = Permalink_Manager_Admin_Functions::generate_option_field("native_slug", array("extra_atts" => "data-default=\"{$native_slug}\" data-element-id=\"{$element_id}\"", "input_class" => "widefat native_slug", "value" => rawurldecode($native_slug)));
828
 
829
  $html .= sprintf("<div class=\"native_slug_container\"><p><label for=\"native_slug\" class=\"strong\">%s %s</label></p><span>%s</span></div>",
830
  __("Native slug", "permalink-manager"),
831
- Permalink_Manager_Admin_Functions::help_tooltip(__("The native slug is by default automatically used in native permalinks (when Permalink Manager is disabled).", "permalink-manager")),
832
  $native_slug_field
833
  );
834
  }
835
 
836
- // Three fields that should be hidden on front-page
837
  if(empty($is_front_page)) {
838
- // 6. Auto-update URI
839
- if(!empty($auto_update_choices)) {
840
- $html .= sprintf("<div><p><label for=\"auto_auri\" class=\"strong\">%s %s</label></p><span>%s</span></div>",
841
- __("Auto-update the URI", "permalink-manager"),
842
- Permalink_Manager_Admin_Functions::help_tooltip(__("If enabled, the 'Current URI' field will be automatically changed to 'Default URI' (displayed below) after the post is saved or updated.", "permalink-manager")),
843
- Permalink_Manager_Admin_Functions::generate_option_field("auto_update_uri", array("type" => "select", "input_class" => "widefat auto_update", "value" => $auto_update_val, "choices" => $auto_update_choices))
844
- );
845
- }
846
-
847
  // 7. Default URI
848
  $html .= sprintf(
849
  "<div class=\"default-permalink-row columns-container\"><span class=\"column-3_4\"><strong>%s:</strong> %s</span><span class=\"column-1_4\"><a href=\"#\" class=\"restore-default\"><span class=\"dashicons dashicons-image-rotate\"></span> %s</a></span></div>",
@@ -865,8 +887,8 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
865
  }
866
  }
867
 
868
- // 10. Extra discount
869
- if(Permalink_Manager_Admin_Functions::is_pro_active() == false) {
870
  $html .= sprintf(
871
  "<div class=\"default-permalink-row save-row columns-container hidden\"><div>%s</div></div>",
872
  __('<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')
@@ -889,8 +911,8 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
889
  $html .= "</div>";
890
 
891
  // 11. Append nonce field, element ID & native slug
892
- $html .= Permalink_Manager_Admin_Functions::generate_option_field("permalink-manager-edit-uri-element-slug", array("type" => "hidden", "value" => $native_slug));
893
- $html .= Permalink_Manager_Admin_Functions::generate_option_field("permalink-manager-edit-uri-element-id", array("type" => "hidden", "value" => $element_id));
894
  $html .= wp_nonce_field('permalink-manager-edit-uri-box', 'permalink-manager-nonce', true, false);
895
 
896
  return $html;
@@ -911,7 +933,7 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
911
  );
912
 
913
  $html .= "<div id=\"redirect-panel-inside\">";
914
- if(Permalink_Manager_Admin_Functions::is_pro_active() && class_exists('Permalink_Manager_Pro_Addons')) {
915
  $html .= Permalink_Manager_Pro_Addons::display_redirect_form($element_id);
916
  } else {
917
  $html .= self::pro_text(true);
195
  $default = (isset($args['default'])) ? $args['default'] : '';
196
  $label = (isset($args['label'])) ? $args['label'] : '';
197
  $rows = (isset($args['rows'])) ? "rows=\"{$rows}\"" : "rows=\"5\"";
 
198
  $description = (isset($args['before_description'])) ? $args['before_description'] : "";
199
  $description .= (isset($args['description'])) ? "<p class=\"field-description description\">{$args['description']}</p>" : "";
200
  $description .= (isset($args['after_description'])) ? $args['after_description'] : "";
201
+ $description .= (isset($args['pro'])) ? sprintf("<p class=\"field-description description alert info\">%s</p>", (self::pro_text(true))) : "";
202
  $append_content = (isset($args['append_content'])) ? "{$args['append_content']}" : "";
203
 
204
  // Input attributes
208
  $input_atts .= (isset($args['placeholder'])) ? " placeholder='{$args['placeholder']}'" : '';
209
  $input_atts .= (isset($args['extra_atts'])) ? " {$args['extra_atts']}" : '';
210
 
211
+ // Display the field if the related class exists
212
+ if(!empty($args['class_exists'])) {
213
+ $related_classes = (array) $args['class_exists'];
214
+ $related_classes_exist = 0;
215
+
216
+ foreach($related_classes as $related_class) {
217
+ if(class_exists($related_class)) {
218
+ $related_classes_exist = 1;
219
+ break;
220
+ }
221
+ }
222
+
223
+ // Do not display if the related class it not found
224
+ if(empty($related_classes_exist)) {
225
+ $field_type = $args['container_class'] = 'hidden';
226
+ }
227
+ }
228
+
229
+ // Check the container classes
230
+ $container_class = (isset($args['container_class'])) ? " class=\"{$args['container_class']} field-container\"" : " class=\"field-container\"";
231
+
232
  // Get the field value (if it is not set in $args)
233
  if(isset($args['value']) && empty($args['value']) == false) {
234
  $value = $args['value'];
447
  $html .= $append_content;
448
  $html .= "</div>";
449
  } else if(isset($args['container']) && $args['container'] == 'row') {
450
+ $html = sprintf("<tr id=\"%s\" data-field=\"%s\" %s>", esc_attr(preg_replace('/(?:.*\[)(.*)(?:\].*)/', '$1', $input_name)), $input_name, $container_class);
451
+ $html .= sprintf("<th><label for=\"%s\">%s</label></th>", $input_name, $args['label']);
452
  $html .= "<td><fieldset>{$fields}{$description}</fieldset></td></tr>";
453
  $html .= ($append_content) ? "<tr class=\"appended-row\"><td colspan=\"2\">{$append_content}</td></tr>" : "";
454
  } else if(isset($args['container']) && $args['container'] == 'screen-options') {
574
 
575
  $html = "<div id=\"permalink-manager\" class=\"wrap\">";
576
 
577
+ $donate_link = (self::is_pro_active()) ? "" : sprintf("<a href=\"%s\" target=\"_blank\" class=\"page-title-action\">%s</a>", PERMALINK_MANAGER_DONATE, __("Donate", "permalink-manager"));
578
  $html .= sprintf("<h2 id=\"plugin-name-heading\">%s <a href=\"http://maciejbis.net\" class=\"author-link\" target=\"_blank\">%s</a> %s</h2>", PERMALINK_MANAGER_PLUGIN_NAME, __("by Maciej Bis", "permalink-manager"), $donate_link);
579
 
580
  // Display the tab navigation
587
  }
588
 
589
  // Upgrade to Pro version
590
+ $html .= (self::is_pro_active() == false) ? sprintf("<a href=\"%s\" target=\"_blank\" class=\"nav-tab section_upgrade\">%s</a>", 'https://permalinkmanager.pro/buy-permalink-manager-pro/?utm_source=plugin_upgrade', __('Upgrade to PRO', 'permalink-manager')) : '';
591
  $html .= "</div>";
592
 
593
  // Now display the active section
710
  $alert_content = sprintf( _n( '<strong class="updated_count">%d</strong> slug was updated!', '<strong class="updated_count">%d</strong> slugs were updated!', $updated_slugs_count, 'permalink-manager' ), $updated_slugs_count ) . ' ';
711
  $alert_content .= sprintf( __( '<a %s>Click here</a> to go to the list of updated slugs', 'permalink-manager' ), "href=\"#updated-list\"");
712
 
713
+ $alert = self::get_alert_message($alert_content, 'updated updated_slugs');
714
  } else {
715
+ $alert = self::get_alert_message(__( '<strong>No slugs</strong> were updated!', 'permalink-manager' ), 'error updated_slugs');
716
  }
717
  }
718
 
746
  $html .= "</fieldset>";
747
 
748
  // Append nonce field & element ID
749
+ $html .= self::generate_option_field("permalink-manager-edit-uri-element-id", array("type" => "hidden", "input_class" => "permalink-manager-edit-uri-element-id", "value" => ""));
750
  $html .= wp_nonce_field( 'permalink-manager-edit-uri-box', 'permalink-manager-nonce', true, false );
751
 
752
  return $html;
831
 
832
  // 4. Custom URI
833
  if(!empty($is_front_page)) {
834
+ $custom_uri_field = self::generate_option_field("custom_uri", array("type" => "hidden", "extra_atts" => "data-default=\"{$default_uri}\" data-element-id=\"{$element_id}\"", "input_class" => "widefat custom_uri", "value" => rawurldecode($uri)));
835
  $custom_uri_field .= __("The custom URI cannot be edited on frontpage.", "permalink-manager");
836
  } else {
837
+ $custom_uri_field = self::generate_option_field("custom_uri", array("extra_atts" => "data-default=\"{$default_uri}\" data-element-id=\"{$element_id}\"", "input_class" => "widefat custom_uri", "value" => rawurldecode($uri)));
838
  }
839
 
840
  $html .= sprintf("<div class=\"custom_uri_container\"><p><label for=\"custom_uri\" class=\"strong\">%s %s</label></p><span>%s</span><span class=\"duplicated_uri_alert\"></span></div>",
841
  __("Current URI", "permalink-manager"),
842
+ ($element->ID) ? self::help_tooltip(__("If custom URI is not defined, a default URI will be set (see below). The custom URI can be edited only if 'Auto-update the URI' feature is not enabled.", "permalink-manager")) : "",
843
  $custom_uri_field
844
  );
845
 
846
+ // 5. Auto-update URI
847
+ if(empty($is_front_page)) {
848
+ if(!empty($auto_update_choices)) {
849
+ $html .= sprintf("<div><p><label for=\"auto_auri\" class=\"strong\">%s %s</label></p><span>%s</span></div>",
850
+ __("Auto-update the URI", "permalink-manager"),
851
+ self::help_tooltip(__("If enabled, the 'Current URI' field will be automatically changed to 'Default URI' (displayed below) after the post is saved or updated.", "permalink-manager")),
852
+ self::generate_option_field("auto_update_uri", array("type" => "select", "input_class" => "widefat auto_update", "value" => $auto_update_val, "choices" => $auto_update_choices))
853
+ );
854
+ }
855
+ }
856
+
857
+ // 6. Native slug
858
  if(!empty($element->ID) && !empty($permalink_manager_options["general"]["show_native_slug_field"])) {
859
+ $native_slug_field = self::generate_option_field("native_slug", array("extra_atts" => "data-default=\"{$native_slug}\" data-element-id=\"{$element_id}\"", "input_class" => "widefat native_slug", "value" => rawurldecode($native_slug)));
860
 
861
  $html .= sprintf("<div class=\"native_slug_container\"><p><label for=\"native_slug\" class=\"strong\">%s %s</label></p><span>%s</span></div>",
862
  __("Native slug", "permalink-manager"),
863
+ self::help_tooltip(__("The native slug is by default automatically used in native permalinks (when Permalink Manager is disabled).", "permalink-manager")),
864
  $native_slug_field
865
  );
866
  }
867
 
 
868
  if(empty($is_front_page)) {
 
 
 
 
 
 
 
 
 
869
  // 7. Default URI
870
  $html .= sprintf(
871
  "<div class=\"default-permalink-row columns-container\"><span class=\"column-3_4\"><strong>%s:</strong> %s</span><span class=\"column-1_4\"><a href=\"#\" class=\"restore-default\"><span class=\"dashicons dashicons-image-rotate\"></span> %s</a></span></div>",
887
  }
888
  }
889
 
890
+ // 9. Extra discount
891
+ if(self::is_pro_active() == false) {
892
  $html .= sprintf(
893
  "<div class=\"default-permalink-row save-row columns-container hidden\"><div>%s</div></div>",
894
  __('<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')
911
  $html .= "</div>";
912
 
913
  // 11. Append nonce field, element ID & native slug
914
+ $html .= self::generate_option_field("permalink-manager-edit-uri-element-slug", array("type" => "hidden", "value" => $native_slug));
915
+ $html .= self::generate_option_field("permalink-manager-edit-uri-element-id", array("type" => "hidden", "value" => $element_id));
916
  $html .= wp_nonce_field('permalink-manager-edit-uri-box', 'permalink-manager-nonce', true, false);
917
 
918
  return $html;
933
  );
934
 
935
  $html .= "<div id=\"redirect-panel-inside\">";
936
+ if(self::is_pro_active() && class_exists('Permalink_Manager_Pro_Addons')) {
937
  $html .= Permalink_Manager_Pro_Addons::display_redirect_form($element_id);
938
  } else {
939
  $html .= self::pro_text(true);
includes/core/permalink-manager-core-functions.php CHANGED
@@ -97,7 +97,7 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
97
  $uri_parts['endpoint_value'] = (!empty($regex_parts[3])) ? $regex_parts[3] : "";
98
 
99
  // Allow to filter the results by third-parties + store the URI parts with $pm_query global
100
- $uri_parts = $pm_query = apply_filters('permalink_manager_detect_uri', $uri_parts, $request_url, $endpoints);
101
 
102
  // Support comment pages
103
  preg_match("/(.*)\/{$wp_rewrite->comments_pagination_base}-([\d]+)/", $request_url, $regex_parts);
@@ -115,6 +115,9 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
115
  // Stop the function if $uri_parts is empty
116
  if(empty($uri_parts)) return $query;
117
 
 
 
 
118
  // Get the URI parts from REGEX parts
119
  $lang = $uri_parts['lang'];
120
  $uri = $uri_parts['uri'];
@@ -222,7 +225,7 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
222
  $term_taxonomy = (!empty($term->taxonomy)) ? $term->taxonomy : false;
223
 
224
  // Check if taxonomy is allowed
225
- $disabled = (Permalink_Manager_Helper_Functions::is_disabled($term_taxonomy, 'taxonomy')) ? true : false;
226
 
227
  // Proceed only if the term is not removed and its taxonomy is not disabled
228
  if(!$disabled && $term_taxonomy) {
@@ -252,9 +255,11 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
252
  $query["term"] = $term->slug;
253
  //$query[$query_parameter] = $final_uri;
254
  $query[$query_parameter] = $term->slug;
255
- } else {
256
  $broken_uri = true;
257
  $query = $old_query;
 
 
258
  }
259
  }
260
  /**
@@ -276,7 +281,7 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
276
  $post_type = (!empty($post_to_load->post_type)) ? $post_to_load->post_type : false;
277
 
278
  // Check if post type is allowed
279
- $disabled = (Permalink_Manager_Helper_Functions::is_disabled($post_type, 'post_type')) ? true : false;
280
 
281
  // Proceed only if the term is not removed and its taxonomy is not disabled
282
  if(!$disabled && $post_type) {
@@ -326,9 +331,11 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
326
  $query['post_type'] = $post_type;
327
  $query[$query_var] = $final_uri;
328
  }
329
- } else {
330
  $broken_uri = true;
331
  $query = $old_query;
 
 
332
  }
333
  }
334
 
@@ -438,25 +445,36 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
438
  // Ignore empty permalinks
439
  if(empty($permalink)) { return $permalink; }
440
 
 
 
 
441
  $trailing_slash_setting = (!empty($permalink_manager_options['general']['trailing_slashes'])) ? $permalink_manager_options['general']['trailing_slashes'] : "";
442
 
443
- if(preg_match("/.*\.([a-zA-Z]{3,4})\/?$/", $permalink)) {
444
- $permalink = preg_replace('/(.+?)([\/]*)(\?[^\/]+|\#[^\/]+|$)/', '$1$3', $permalink); // Instead of untrailingslashit()
445
- } else if(in_array($trailing_slash_setting, array(1, 10))) {
446
- $permalink = preg_replace('/(.+?)([\/]*)(\?[^\/]+|\#[^\/]+|$)/', '$1/$3', $permalink); // Instead of trailingslashit()
447
- } else if(in_array($trailing_slash_setting, array(2, 20))) {
448
- $permalink = preg_replace('/(.+?)([\/]*)(\?[^\/]+|\#[^\/]+|$)/', '$1$3', $permalink); // Instead of untrailingslashit()
449
  } else {
450
- $permalink = user_trailingslashit($permalink);
 
 
 
 
 
 
 
 
 
 
 
451
  }
452
 
453
  // Remove double slashes
454
  $permalink = preg_replace('/([^:])(\/{2,})/', '$1/', $permalink);
455
 
456
- // Remove trailing slashes from URLs with extensions
457
- $permalink = preg_replace("/(\.[a-z]{3,4})\/$/i", "$1", $permalink);
458
 
459
- return $permalink;
460
  }
461
 
462
  /**
@@ -506,7 +524,7 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
506
  * Redirects
507
  */
508
  function new_uri_redirect_and_404() {
509
- global $wp_query, $wp, $wpdb, $permalink_manager_uris, $permalink_manager_redirects, $permalink_manager_external_redirects, $permalink_manager_options, $pm_query;
510
 
511
  // Get the redirection mode & trailing slashes settings
512
  $redirect_mode = (!empty($permalink_manager_options['general']['redirect'])) ? $permalink_manager_options['general']['redirect'] : false;
@@ -673,7 +691,11 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
673
  if(empty($pm_query['endpoint']) && is_numeric($endpoint_value)) {
674
  $correct_permalink = sprintf("%s/%d", trim($correct_permalink, "/"), $endpoint_value);
675
  } else if(isset($pm_query['endpoint']) && !empty($endpoint_value)) {
676
- $correct_permalink = sprintf("%s/%s/%s", trim($correct_permalink, "/"), $pm_query['endpoint'], $endpoint_value);
 
 
 
 
677
  } else {
678
  $correct_permalink = sprintf("%s/%s", trim($correct_permalink, "/"), $pm_query['endpoint']);
679
  }
@@ -692,16 +714,17 @@ class Permalink_Manager_Core_Functions extends Permalink_Manager_Class {
692
 
693
  // Ignore empty URIs
694
  if($old_uri != "/") {
695
- // Remove the trailing slashes (and add them again if needed below)
696
- $old_uri = trim($old_uri, "/");
697
-
698
  // 2A. Force trailing slashes
699
  if($trailing_slashes_mode == 1 && $ends_with_slash == false) {
700
- $correct_permalink = "{$home_url}/{$old_uri}/";
701
  }
702
  // 2B. Remove trailing slashes
703
  else if($trailing_slashes_mode == 2 && $ends_with_slash == true) {
704
- $correct_permalink = "{$home_url}/{$old_uri}";
 
 
 
 
705
  }
706
  }
707
 
97
  $uri_parts['endpoint_value'] = (!empty($regex_parts[3])) ? $regex_parts[3] : "";
98
 
99
  // Allow to filter the results by third-parties + store the URI parts with $pm_query global
100
+ $uri_parts = apply_filters('permalink_manager_detect_uri', $uri_parts, $request_url, $endpoints);
101
 
102
  // Support comment pages
103
  preg_match("/(.*)\/{$wp_rewrite->comments_pagination_base}-([\d]+)/", $request_url, $regex_parts);
115
  // Stop the function if $uri_parts is empty
116
  if(empty($uri_parts)) return $query;
117
 
118
+ // Store the URI parts in a separate global variable
119
+ $pm_query = $uri_parts;
120
+
121
  // Get the URI parts from REGEX parts
122
  $lang = $uri_parts['lang'];
123
  $uri = $uri_parts['uri'];
225
  $term_taxonomy = (!empty($term->taxonomy)) ? $term->taxonomy : false;
226
 
227
  // Check if taxonomy is allowed
228
+ $disabled = ($term_taxonomy && Permalink_Manager_Helper_Functions::is_disabled($term_taxonomy, 'taxonomy')) ? true : false;
229
 
230
  // Proceed only if the term is not removed and its taxonomy is not disabled
231
  if(!$disabled && $term_taxonomy) {
255
  $query["term"] = $term->slug;
256
  //$query[$query_parameter] = $final_uri;
257
  $query[$query_parameter] = $term->slug;
258
+ } else if($disabled) {
259
  $broken_uri = true;
260
  $query = $old_query;
261
+ } else {
262
+ $query = $old_query;
263
  }
264
  }
265
  /**
281
  $post_type = (!empty($post_to_load->post_type)) ? $post_to_load->post_type : false;
282
 
283
  // Check if post type is allowed
284
+ $disabled = ($post_type && Permalink_Manager_Helper_Functions::is_disabled($post_type, 'post_type')) ? true : false;
285
 
286
  // Proceed only if the term is not removed and its taxonomy is not disabled
287
  if(!$disabled && $post_type) {
331
  $query['post_type'] = $post_type;
332
  $query[$query_var] = $final_uri;
333
  }
334
+ } else if($disabled) {
335
  $broken_uri = true;
336
  $query = $old_query;
337
+ } else {
338
+ $query = $old_query;
339
  }
340
  }
341
 
445
  // Ignore empty permalinks
446
  if(empty($permalink)) { return $permalink; }
447
 
448
+ // Keep the original permalink in a separate variable
449
+ $original_permalink = $permalink;
450
+
451
  $trailing_slash_setting = (!empty($permalink_manager_options['general']['trailing_slashes'])) ? $permalink_manager_options['general']['trailing_slashes'] : "";
452
 
453
+ // Remove trailing slashes from URLs that end with file extension (eg. .html)
454
+ if(preg_match('/.*\.([a-zA-Z]{3,4})\/?$/', $permalink)) {
455
+ $permalink = preg_replace('/^(?!http(?:s):\/\/[^\/]+\/$)(.+?)([\/]*)(\[\?\#][^\/]+|$)/', '$1$3', $permalink); // Instead of untrailingslashit()
 
 
 
456
  } else {
457
+ // Add trailing slashes
458
+ if(in_array($trailing_slash_setting, array(1, 10))) {
459
+ $permalink = preg_replace('/(.+?)([\/]*)(\[\?\#][^\/]+|$)/', '$1/$3', $permalink); // Instead of trailingslashit()
460
+ }
461
+ // Remove trailing slashes
462
+ else if(in_array($trailing_slash_setting, array(2, 20))) {
463
+ $permalink = preg_replace('/(.+?)([\/]*)(\[\?\#][^\/]+|$)/', '$1$3', $permalink); // Instead of untrailingslashit()
464
+ }
465
+ // Default settings
466
+ else {
467
+ $permalink = user_trailingslashit($permalink);
468
+ }
469
  }
470
 
471
  // Remove double slashes
472
  $permalink = preg_replace('/([^:])(\/{2,})/', '$1/', $permalink);
473
 
474
+ // Remove trailing slashes from URLs that end with query string or anchors
475
+ $permalink = preg_replace('/([\?\#]{1}[^\/]+)([\/]+)$/', '$1', $permalink);
476
 
477
+ return apply_filters('permalink_manager_control_trailing_slashes', $permalink, $original_permalink);
478
  }
479
 
480
  /**
524
  * Redirects
525
  */
526
  function new_uri_redirect_and_404() {
527
+ global $wp_query, $wp, $wp_rewrite, $wpdb, $permalink_manager_uris, $permalink_manager_redirects, $permalink_manager_external_redirects, $permalink_manager_options, $pm_query;
528
 
529
  // Get the redirection mode & trailing slashes settings
530
  $redirect_mode = (!empty($permalink_manager_options['general']['redirect'])) ? $permalink_manager_options['general']['redirect'] : false;
691
  if(empty($pm_query['endpoint']) && is_numeric($endpoint_value)) {
692
  $correct_permalink = sprintf("%s/%d", trim($correct_permalink, "/"), $endpoint_value);
693
  } else if(isset($pm_query['endpoint']) && !empty($endpoint_value)) {
694
+ if($pm_query['endpoint'] == 'cpage') {
695
+ $correct_permalink = sprintf("%s/%s-%s", trim($correct_permalink, "/"), $wp_rewrite->comments_pagination_base, $endpoint_value);
696
+ } else {
697
+ $correct_permalink = sprintf("%s/%s/%s", trim($correct_permalink, "/"), $pm_query['endpoint'], $endpoint_value);
698
+ }
699
  } else {
700
  $correct_permalink = sprintf("%s/%s", trim($correct_permalink, "/"), $pm_query['endpoint']);
701
  }
714
 
715
  // Ignore empty URIs
716
  if($old_uri != "/") {
 
 
 
717
  // 2A. Force trailing slashes
718
  if($trailing_slashes_mode == 1 && $ends_with_slash == false) {
719
+ $correct_permalink = sprintf("%s/%s/", rtrim($home_url, '/'), trim($old_uri, '/'));
720
  }
721
  // 2B. Remove trailing slashes
722
  else if($trailing_slashes_mode == 2 && $ends_with_slash == true) {
723
+ $correct_permalink = sprintf("%s/%s", rtrim($home_url, '/'), trim($old_uri, '/'));
724
+ }
725
+ // 2C. Remove duplicated trailing slashes
726
+ else if($trailing_slashes_mode == 1 && preg_match('/[\/]{2,}$/', $old_uri)) {
727
+ $correct_permalink = sprintf("%s/%s/", rtrim($home_url, '/'), trim($old_uri, '/'));
728
  }
729
  }
730
 
includes/core/permalink-manager-helper-functions.php CHANGED
@@ -179,7 +179,10 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
179
  static function get_disabled_post_types($include_user_excluded = true) {
180
  global $wp_post_types, $permalink_manager_options;
181
 
182
- $disabled_post_types = array('revision', 'algolia_task', 'fl_builder', 'fl-builder', 'fl-builder-template', 'fl-theme-layout', 'wc_product_tab', 'wc_voucher', 'wc_voucher_template', 'sliders', 'thirstylink', 'elementor_library', 'cms_block');
 
 
 
183
 
184
  // 1. Disable post types that are not publicly_queryable
185
  foreach($wp_post_types as $post_type) {
@@ -201,7 +204,9 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
201
  static function get_disabled_taxonomies($include_user_excluded = true) {
202
  global $wp_taxonomies, $permalink_manager_options;
203
 
204
- $disabled_taxonomies = array('product_shipping_class', 'post_status', 'fl-builder-template-category', 'post_format', 'nav_menu', 'language');
 
 
205
 
206
  // 1. Disable taxonomies that are not publicly_queryable
207
  foreach($wp_taxonomies as $taxonomy) {
@@ -478,7 +483,7 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
478
 
479
  // Remove special characters
480
  if($sanitize_slugs !== false) {
481
- $clean = preg_replace("/[\s_|+-]+/", "-", $clean);
482
  $clean = preg_replace("/[,]+/", "", $clean);
483
  $clean = preg_replace('/([\.]+)(?![a-z]{3,4}$)/i', '', $clean);
484
  $clean = preg_replace('/([-\s+]\/[-\s+])/', '-', $clean);
@@ -636,34 +641,28 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
636
  if(!empty($duplicated_ids)) {
637
  $all_duplicates = $duplicated_ids;
638
  } else if(in_array($uri, $permalink_manager_uris)) {
639
- $all_duplicates = array_keys($permalink_manager_uris, $uri);
640
  }
641
 
642
  if(!empty($all_duplicates)) {
643
  // Get the language code of current element
644
  $this_uri_lang = Permalink_Manager_Language_Plugins::get_language_code($element_id);
645
 
646
- if($this_uri_lang) {
647
- foreach($all_duplicates as $key => $duplicated_id) {
648
- // Ignore custom redirects
649
- if(strpos($key, 'redirect-') !== false) {
650
- unset($all_duplicates[$key]);
651
- continue;
652
- }
653
 
 
654
  $duplicated_uri_lang = Permalink_Manager_Language_Plugins::get_language_code($duplicated_id);
655
-
656
- // Ignore the other elements in other languages to prevent the false alert
657
- if($duplicated_uri_lang !== $this_uri_lang) {
658
- unset($all_duplicates[$key]);
659
- }
660
  }
661
- }
662
 
663
- // Ignore the URI for requested element to prevent the false alert
664
- if(in_array($element_id, $all_duplicates)) {
665
- $this_element_key = array_search($element_id, $all_duplicates);
666
- unset($all_duplicates[$this_element_key]);
667
  }
668
 
669
  return (count($all_duplicates) > 0) ? true : false;
@@ -709,4 +708,5 @@ class Permalink_Manager_Helper_Functions extends Permalink_Manager_Class {
709
  }
710
  }
711
 
 
712
  }
179
  static function get_disabled_post_types($include_user_excluded = true) {
180
  global $wp_post_types, $permalink_manager_options;
181
 
182
+ $disabled_post_types = array(
183
+ 'revision', 'algolia_task', 'fl_builder', 'fl-builder', 'fl-builder-template', 'fl-theme-layout', 'fusion_tb_layout', 'fusion_tb_section', 'fusion_template', 'fusion_element', 'wc_product_tab', 'wc_voucher', 'wc_voucher_template',
184
+ 'sliders', 'thirstylink', 'elementor_library', 'elementor_menu_item', 'cms_block', 'nooz_coverage'
185
+ );
186
 
187
  // 1. Disable post types that are not publicly_queryable
188
  foreach($wp_post_types as $post_type) {
204
  static function get_disabled_taxonomies($include_user_excluded = true) {
205
  global $wp_taxonomies, $permalink_manager_options;
206
 
207
+ $disabled_taxonomies = array(
208
+ 'product_shipping_class', 'post_status', 'fl-builder-template-category', 'post_format', 'nav_menu', 'language'
209
+ );
210
 
211
  // 1. Disable taxonomies that are not publicly_queryable
212
  foreach($wp_taxonomies as $taxonomy) {
483
 
484
  // Remove special characters
485
  if($sanitize_slugs !== false) {
486
+ $clean = preg_replace("/[\s|+-]+/", "-", $clean);
487
  $clean = preg_replace("/[,]+/", "", $clean);
488
  $clean = preg_replace('/([\.]+)(?![a-z]{3,4}$)/i', '', $clean);
489
  $clean = preg_replace('/([-\s+]\/[-\s+])/', '-', $clean);
641
  if(!empty($duplicated_ids)) {
642
  $all_duplicates = $duplicated_ids;
643
  } else if(in_array($uri, $permalink_manager_uris)) {
644
+ $all_duplicates = (array) array_keys($permalink_manager_uris, $uri);
645
  }
646
 
647
  if(!empty($all_duplicates)) {
648
  // Get the language code of current element
649
  $this_uri_lang = Permalink_Manager_Language_Plugins::get_language_code($element_id);
650
 
651
+ foreach($all_duplicates as $key => $duplicated_id) {
652
+ // Ignore custom redirects
653
+ if(strpos($key, 'redirect-') !== false) {
654
+ unset($all_duplicates[$key]);
655
+ continue;
656
+ }
 
657
 
658
+ if($this_uri_lang) {
659
  $duplicated_uri_lang = Permalink_Manager_Language_Plugins::get_language_code($duplicated_id);
 
 
 
 
 
660
  }
 
661
 
662
+ // Ignore the URI for requested element and other elements in other languages to prevent the false alert
663
+ if((!empty($duplicated_uri_lang) && $duplicated_uri_lang !== $this_uri_lang) || $element_id == $duplicated_id) {
664
+ unset($all_duplicates[$key]);
665
+ }
666
  }
667
 
668
  return (count($all_duplicates) > 0) ? true : false;
708
  }
709
  }
710
 
711
+
712
  }
includes/core/permalink-manager-language-plugins.php CHANGED
@@ -20,9 +20,9 @@ class Permalink_Manager_Language_Plugins extends Permalink_Manager_Class {
20
  add_filter('permalink_manager_detected_term_id', array($this, 'fix_language_mismatch'), 9, 3);
21
  }
22
  // Fix posts page
23
- else {
24
  add_filter('permalink_manager_filter_query', array($this, 'fix_posts_page'), 5, 5);
25
- }
26
 
27
  // URI Editor
28
  add_filter('permalink_manager_uri_editor_extra_info', array($this, 'language_column_uri_editor'), 9, 3);
@@ -381,7 +381,7 @@ class Permalink_Manager_Language_Plugins extends Permalink_Manager_Class {
381
  if(isset($sitepress_settings['language_negotiation_type']) && $sitepress_settings['language_negotiation_type'] == 3) {
382
  if($default_language_code == $language_code) {
383
  return $permalink;
384
- } else {
385
  $permalink .= "?lang={$language_code}";
386
  }
387
  }
20
  add_filter('permalink_manager_detected_term_id', array($this, 'fix_language_mismatch'), 9, 3);
21
  }
22
  // Fix posts page
23
+ // else {
24
  add_filter('permalink_manager_filter_query', array($this, 'fix_posts_page'), 5, 5);
25
+ // }
26
 
27
  // URI Editor
28
  add_filter('permalink_manager_uri_editor_extra_info', array($this, 'language_column_uri_editor'), 9, 3);
381
  if(isset($sitepress_settings['language_negotiation_type']) && $sitepress_settings['language_negotiation_type'] == 3) {
382
  if($default_language_code == $language_code) {
383
  return $permalink;
384
+ } else if(strpos($permalink, "lang=") === false) {
385
  $permalink .= "?lang={$language_code}";
386
  }
387
  }
includes/core/permalink-manager-third-parties.php CHANGED
@@ -79,7 +79,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
79
  }
80
 
81
  // 10. WP All Import
82
- if(class_exists('PMXI_Plugin') && (empty($permalink_manager_options['general']['pmxi_import_support']))) {
83
  add_action('pmxi_extend_options_featured', array($this, 'wpaiextra_uri_display'), 9, 2);
84
  add_filter('pmxi_options_options', array($this, 'wpai_api_options'));
85
  add_filter('pmxi_addons', array($this, 'wpai_api_register'));
@@ -126,6 +126,11 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
126
  if(class_exists('Basepress')) {
127
  add_filter('permalink_manager_filter_query', array($this, 'kb_adjust_query'), 5, 5);
128
  }
 
 
 
 
 
129
  }
130
 
131
  /**
@@ -281,7 +286,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
281
 
282
  if(!empty($custom_permalinks_uris) && count($custom_permalinks_uris) > 0) {
283
  foreach($custom_permalinks_uris as $item) {
284
- $permalink_manager_uris[$item['id']] = $item['uri'];
285
  }
286
 
287
  $permalink_manager_before_sections_html .= Permalink_Manager_Admin_Functions::get_alert_message(__( '"Custom Permalinks" URIs were imported!', 'permalink-manager' ), 'updated');
@@ -303,7 +308,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
303
  $shop_page_id = apply_filters('wpml_object_id', $shop_page_id, 'page', TRUE);
304
 
305
  // Fix shop page
306
- if(!empty($pm_query['id']) && is_numeric($pm_query['id']) && $shop_page_id == $pm_query['id']) {
307
  $query['post_type'] = 'product';
308
  unset($query['pagename']);
309
  }
@@ -330,7 +335,7 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
330
  // Redirect from Shop archive to selected page
331
  if(is_shop() && empty($pm_query['id'])) {
332
  $redirect_mode = (!empty($permalink_manager_options['general']['redirect'])) ? $permalink_manager_options['general']['redirect'] : false;
333
- $redirect_shop = apply_filters('permalink-manager-redirect-shop-archive', false);
334
  $shop_page = get_option('woocommerce_shop_page_id');
335
 
336
  if($redirect_mode && $redirect_shop && $shop_page && empty($wp_query->query_vars['s'])) {
@@ -463,7 +468,8 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
463
  $new_url = get_permalink($element->ID);
464
 
465
  // Do not filter if custom canonical URL is set
466
- if(!empty(get_post_meta($element->ID, '_yoast_wpseo_canonical', true))) { return $url; }
 
467
 
468
  $paged = (get_query_var('page')) ? get_query_var('page') : 1;
469
  if($paged > 1) {
@@ -478,7 +484,8 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
478
  }
479
  }
480
 
481
- $url = (!empty($new_url)) ? Permalink_Manager_Core_Functions::control_trailing_slashes($new_url) : $url;
 
482
  }
483
 
484
  return $url;
@@ -816,7 +823,10 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
816
  function duplicate_custom_uri($new_post_id, $old_post) {
817
  global $permalink_manager_uris;
818
 
819
- if(!empty($old_post->ID)) {
 
 
 
820
  $old_post_id = intval($old_post->ID);
821
 
822
  // Clone custom permalink (if set for cloned post/page)
@@ -1008,8 +1018,8 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1008
  public function geodir_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
1009
  global $permalink_manager_uris;
1010
 
1011
- // Use only for "gd_place" post type & custom permalink
1012
- if(empty($element->post_type) || $element->post_type !== 'gd_place' || $native_uri || !function_exists('geodir_get_post_info')) { return $default_uri; }
1013
 
1014
  // Get place info
1015
  $place_data = geodir_get_post_info($element->ID);
@@ -1079,7 +1089,40 @@ class Permalink_Manager_Third_Parties extends Permalink_Manager_Class {
1079
  }
1080
 
1081
  /**
1082
- * 17. Store Locator - CSV Manager
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1083
  */
1084
  public function wpsl_regenerate_after_import($meta_id, $post_id, $meta_key, $meta_value) {
1085
  global $permalink_manager_uris;
79
  }
80
 
81
  // 10. WP All Import
82
+ if(class_exists('PMXI_Plugin') && (empty($permalink_manager_options['general']['pmxi_support']))) {
83
  add_action('pmxi_extend_options_featured', array($this, 'wpaiextra_uri_display'), 9, 2);
84
  add_filter('pmxi_options_options', array($this, 'wpai_api_options'));
85
  add_filter('pmxi_addons', array($this, 'wpai_api_register'));
126
  if(class_exists('Basepress')) {
127
  add_filter('permalink_manager_filter_query', array($this, 'kb_adjust_query'), 5, 5);
128
  }
129
+
130
+ // 17. Ultimate Member
131
+ if(class_exists('UM') && (empty($permalink_manager_options['general']['um_support']))) {
132
+ add_filter('permalink_manager_detect_uri', array($this, 'um_detect_extra_pages'), 20);
133
+ }
134
  }
135
 
136
  /**
286
 
287
  if(!empty($custom_permalinks_uris) && count($custom_permalinks_uris) > 0) {
288
  foreach($custom_permalinks_uris as $item) {
289
+ $permalink_manager_uris[$item['id']] = Permalink_Manager_Helper_Functions::sanitize_title($item['uri']);
290
  }
291
 
292
  $permalink_manager_before_sections_html .= Permalink_Manager_Admin_Functions::get_alert_message(__( '"Custom Permalinks" URIs were imported!', 'permalink-manager' ), 'updated');
308
  $shop_page_id = apply_filters('wpml_object_id', $shop_page_id, 'page', TRUE);
309
 
310
  // Fix shop page
311
+ if(get_theme_support('woocommerce') && !empty($pm_query['id']) && is_numeric($pm_query['id']) && $shop_page_id == $pm_query['id']) {
312
  $query['post_type'] = 'product';
313
  unset($query['pagename']);
314
  }
335
  // Redirect from Shop archive to selected page
336
  if(is_shop() && empty($pm_query['id'])) {
337
  $redirect_mode = (!empty($permalink_manager_options['general']['redirect'])) ? $permalink_manager_options['general']['redirect'] : false;
338
+ $redirect_shop = apply_filters('permalink_manager_redirect_shop_archive', false);
339
  $shop_page = get_option('woocommerce_shop_page_id');
340
 
341
  if($redirect_mode && $redirect_shop && $shop_page && empty($wp_query->query_vars['s'])) {
468
  $new_url = get_permalink($element->ID);
469
 
470
  // Do not filter if custom canonical URL is set
471
+ $yoast_canonical_url = get_post_meta($element->ID, '_yoast_wpseo_canonical', true);
472
+ if(!empty($yoast_canonical_url)) { return $url; }
473
 
474
  $paged = (get_query_var('page')) ? get_query_var('page') : 1;
475
  if($paged > 1) {
484
  }
485
  }
486
 
487
+ $url = (!empty($new_url)) ? $new_url : $url;
488
+ $url = Permalink_Manager_Core_Functions::control_trailing_slashes($url);
489
  }
490
 
491
  return $url;
823
  function duplicate_custom_uri($new_post_id, $old_post) {
824
  global $permalink_manager_uris;
825
 
826
+ $duplicate_post_blacklist = get_option('duplicate_post_blacklist', false);
827
+ $duplicate_custom_uri_bool = (!empty($duplicate_post_blacklist) && strpos($duplicate_post_blacklist, 'custom_uri') !== false) ? false : true;
828
+
829
+ if(!empty($old_post->ID) && $duplicate_custom_uri_bool) {
830
  $old_post_id = intval($old_post->ID);
831
 
832
  // Clone custom permalink (if set for cloned post/page)
1018
  public function geodir_custom_fields($default_uri, $native_slug, $element, $slug, $native_uri) {
1019
  global $permalink_manager_uris;
1020
 
1021
+ // Use only for GeoDirectory post types & custom permalinks
1022
+ if(empty($element->post_type) || (strpos($element->post_type, 'gd_') === false) || $native_uri || !function_exists('geodir_get_post_info')) { return $default_uri; }
1023
 
1024
  // Get place info
1025
  $place_data = geodir_get_post_info($element->ID);
1089
  }
1090
 
1091
  /**
1092
+ * 17. Ultimate Member
1093
+ */
1094
+ public function um_detect_extra_pages($uri_parts) {
1095
+ global $permalink_manager_uris;
1096
+
1097
+ $request_url = trim("{$uri_parts['uri']}/{$uri_parts['endpoint_value']}", "/");
1098
+ $um_pages = array(
1099
+ 'user' => 'um_user',
1100
+ 'account' => 'um_tab',
1101
+ );
1102
+
1103
+ // Detect UM permalinks
1104
+ foreach($um_pages as $um_page => $query_var) {
1105
+ $um_page_id = UM()->config()->permalinks[$um_page];
1106
+ // Support for WPML/Polylang
1107
+ $um_page_id = (!empty($uri_parts['lang'])) ? apply_filters('wpml_object_id', $um_page_id, 'page', true, $uri_parts['lang']) : $um_page_id;
1108
+
1109
+ if(!empty($um_page_id) && !empty($permalink_manager_uris[$um_page_id])) {
1110
+ $user_page_uri = preg_quote($permalink_manager_uris[$um_page_id], '/');
1111
+ preg_match("/^({$user_page_uri})\/([^\/]+)?$/", $request_url, $parts);
1112
+
1113
+ if(!empty($parts[2])) {
1114
+ $uri_parts['uri'] = $parts[1];
1115
+ $uri_parts['endpoint'] = $query_var;
1116
+ $uri_parts['endpoint_value'] = sanitize_title($parts[2]);
1117
+ }
1118
+ }
1119
+ }
1120
+
1121
+ return $uri_parts;
1122
+ }
1123
+
1124
+ /**
1125
+ * 18. Store Locator - CSV Manager
1126
  */
1127
  public function wpsl_regenerate_after_import($meta_id, $post_id, $meta_key, $meta_value) {
1128
  global $permalink_manager_uris;
includes/core/permalink-manager-uri-functions-post.php CHANGED
@@ -29,6 +29,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
29
  add_action( 'wp_insert_post', array($this, 'new_post_uri'), 99, 1 );
30
  add_action( 'add_attachment', array($this, 'new_post_uri'), 99, 1 );
31
  add_action( 'wp_trash_post', array($this, 'remove_post_uri'), 100, 1 );
 
32
 
33
  add_action( 'quick_edit_custom_box', array($this, 'quick_edit_column_form'), 99, 3);
34
  }
@@ -451,7 +452,7 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
451
  $native_uri = self::get_default_post_uri($row['ID'], true);
452
  $default_uri = self::get_default_post_uri($row['ID']);
453
 
454
- $old_post_name = $row['post_name'];
455
  $old_uri = (isset($permalink_manager_uris[$row['ID']])) ? $permalink_manager_uris[$row['ID']] : $native_uri;
456
 
457
  // Do replacement on slugs (non-REGEX)
@@ -471,12 +472,12 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
471
 
472
  // Check if native slug should be changed
473
  if(($mode == 'slugs') && ($old_post_name != $new_post_name)) {
474
- self::update_slug_by_id($new_post_name, $row['ID']);
475
  }
476
 
477
  if(($old_uri != $new_uri) || ($old_post_name != $new_post_name) && !(empty($new_uri))) {
478
  $permalink_manager_uris[$row['ID']] = $new_uri;
479
- $updated_array[] = array('item_title' => $row['post_title'], 'ID' => $row['ID'], 'old_uri' => $old_uri, 'new_uri' => $new_uri, 'old_slug' => $old_post_name, 'new_slug' => $new_post_name);
480
  $updated_slugs_count++;
481
  }
482
 
@@ -732,17 +733,17 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
732
  $post_object = get_post($post_id);
733
 
734
  // Check if post type is allowed
735
- if(Permalink_Manager_Helper_Functions::is_disabled($post_object->post_type, 'post_type') || empty($post_object->post_type)) { return $post_id; };
736
 
737
  // Stop the hook (if needed)
738
- $allow_update_post_type = apply_filters("permalink_manager_new_post_uri_{$post_object->post_type}", true);
739
- if(!$allow_update_post_type) { return $post_id; }
740
 
741
- // Ignore menu items
742
  if($post_object->post_type == 'nav_menu_item') { return $post_id; }
743
 
744
- // Ignore auto-drafts, removed posts and posts without title
745
- if(in_array($post_object->post_status, array('auto-draft', 'trash')) || empty($post->post_title) || (!empty($post_object->post_name) && $post_object->post_name == 'auto-draft')) { return $post_id; }
746
 
747
  $native_uri = self::get_default_post_uri($post_id, true);
748
  $new_uri = self::get_default_post_uri($post_id);
@@ -780,11 +781,11 @@ class Permalink_Manager_URI_Functions_Post extends Permalink_Manager_Class {
780
  $post = get_post($post_id);
781
 
782
  // Check if post type is allowed
783
- if(Permalink_Manager_Helper_Functions::is_disabled($post->post_type, 'post_type') || empty($post->post_type)) { return $post_id; };
784
 
785
  // Stop the hook (if needed)
786
- $allow_update_post_type = apply_filters("permalink_manager_update_post_uri_{$post->post_type}", true);
787
- if(!$allow_update_post_type) { return $post_id; }
788
 
789
  // Hotfix for menu items
790
  if($post->post_type == 'nav_menu_item') { return $post_id; }
29
  add_action( 'wp_insert_post', array($this, 'new_post_uri'), 99, 1 );
30
  add_action( 'add_attachment', array($this, 'new_post_uri'), 99, 1 );
31
  add_action( 'wp_trash_post', array($this, 'remove_post_uri'), 100, 1 );
32
+ add_action( 'delete_post', array($this, 'remove_post_uri'), 100, 1 );
33
 
34
  add_action( 'quick_edit_custom_box', array($this, 'quick_edit_column_form'), 99, 3);
35
  }
452
  $native_uri = self::get_default_post_uri($row['ID'], true);
453
  $default_uri = self::get_default_post_uri($row['ID']);
454
 
455
+ $old_post_name = $old_slug = $row['post_name'];
456
  $old_uri = (isset($permalink_manager_uris[$row['ID']])) ? $permalink_manager_uris[$row['ID']] : $native_uri;
457
 
458
  // Do replacement on slugs (non-REGEX)
472
 
473
  // Check if native slug should be changed
474
  if(($mode == 'slugs') && ($old_post_name != $new_post_name)) {
475
+ $new_slug = self::update_slug_by_id($new_post_name, $row['ID']);
476
  }
477
 
478
  if(($old_uri != $new_uri) || ($old_post_name != $new_post_name) && !(empty($new_uri))) {
479
  $permalink_manager_uris[$row['ID']] = $new_uri;
480
+ $updated_array[] = array('item_title' => $row['post_title'], 'ID' => $row['ID'], 'old_uri' => $old_uri, 'new_uri' => $new_uri, 'old_slug' => $old_slug, 'new_slug' => $new_slug);
481
  $updated_slugs_count++;
482
  }
483
 
733
  $post_object = get_post($post_id);
734
 
735
  // Check if post type is allowed
736
+ if(empty($post_object->post_type) || Permalink_Manager_Helper_Functions::is_disabled($post_object->post_type, 'post_type')) { return $post_id; };
737
 
738
  // Stop the hook (if needed)
739
+ $allow_new_uri = apply_filters("permalink_manager_allow_new_post_uri", true, $post_object);
740
+ if(!$allow_new_uri) { return $post_id; }
741
 
742
+ // Ignore menu items & revision posts
743
  if($post_object->post_type == 'nav_menu_item') { return $post_id; }
744
 
745
+ // Ignore auto-drafts, revisions, removed posts and posts without title
746
+ if(in_array($post_object->post_status, array('auto-draft', 'trash')) || (strpos($post_object->post_name, 'revision-v1') !== false) || empty($post_object->post_title) || (!empty($post_object->post_name) && $post_object->post_name == 'auto-draft')) { return $post_id; }
747
 
748
  $native_uri = self::get_default_post_uri($post_id, true);
749
  $new_uri = self::get_default_post_uri($post_id);
781
  $post = get_post($post_id);
782
 
783
  // Check if post type is allowed
784
+ if(empty($post->post_type) || Permalink_Manager_Helper_Functions::is_disabled($post->post_type, 'post_type')) { return $post_id; };
785
 
786
  // Stop the hook (if needed)
787
+ $allow_update_uri = apply_filters("permalink_manager_allow_update_post_uri", true, $post);
788
+ if(!$allow_update_uri) { return $post_id; }
789
 
790
  // Hotfix for menu items
791
  if($post->post_type == 'nav_menu_item') { return $post_id; }
includes/views/permalink-manager-settings.php CHANGED
@@ -74,6 +74,14 @@ class Permalink_Manager_Settings extends Permalink_Manager_Class {
74
  __('This feature will be also used to redirect (old) original permalinks to (new) custom permalinks set with Permalink Manager.', 'permalink-manager')
75
  ),
76
  ),
 
 
 
 
 
 
 
 
77
  'old_slug_redirect' => array(
78
  'type' => 'single_checkbox',
79
  'label' => __('Old slug redirect', 'permalink-manager'),
@@ -140,19 +148,28 @@ class Permalink_Manager_Settings extends Permalink_Manager_Class {
140
  'type' => 'single_checkbox',
141
  'label' => __('WPML/Polylang language mismatch', 'permalink-manager'),
142
  'input_class' => '',
 
143
  'description' => __('If enabled, the plugin will load the adjacent translation of post when the custom permalink is detected, but the language code in the URL does not match the language code assigned to the post/term.', 'permalink-manager')
144
  ),
145
- 'pmxi_import_support' => array(
146
  'type' => 'single_checkbox',
147
  'label' => __('WP All Import support', 'permalink-manager'),
148
  'input_class' => '',
149
- 'description' => __('If checked, the custom permalinks will not be saved for the posts imported with Wp All Import plugin.', 'permalink-manager')
 
 
 
 
 
 
 
 
150
  ),
151
  'yoast_breadcrumbs' => array(
152
  'type' => 'single_checkbox',
153
  'label' => __('Breadcrumbs support', 'permalink-manager'),
154
  'input_class' => '',
155
- 'description' => __('If checked, 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')
156
  ),
157
  'partial_disable' => array(
158
  'type' => 'checkbox',
74
  __('This feature will be also used to redirect (old) original permalinks to (new) custom permalinks set with Permalink Manager.', 'permalink-manager')
75
  ),
76
  ),
77
+ /*'endpoint_redirect' => array(
78
+ 'type' => 'single_checkbox',
79
+ 'label' => __('Redirect with endpoints', 'permalink-manager'),
80
+ 'input_class' => '',
81
+ 'description' => sprintf('%s',
82
+ __('<strong>Please enable this option if you would like to copy the endpoint from source URL to the target URL during the canonical redirect.</strong>', 'permalink-manager')
83
+ ),
84
+ ),*/
85
  'old_slug_redirect' => array(
86
  'type' => 'single_checkbox',
87
  'label' => __('Old slug redirect', 'permalink-manager'),
148
  'type' => 'single_checkbox',
149
  'label' => __('WPML/Polylang language mismatch', 'permalink-manager'),
150
  'input_class' => '',
151
+ 'class_exists' => array('SitePress', 'Polylang'),
152
  'description' => __('If enabled, the plugin will load the adjacent translation of post when the custom permalink is detected, but the language code in the URL does not match the language code assigned to the post/term.', 'permalink-manager')
153
  ),
154
+ 'pmxi_support' => array(
155
  'type' => 'single_checkbox',
156
  'label' => __('WP All Import support', 'permalink-manager'),
157
  'input_class' => '',
158
+ 'class_exists' => 'PMXI_Plugin',
159
+ 'description' => __('If enabled, the custom permalinks will not be saved for the posts imported with WP All Import plugin.', 'permalink-manager')
160
+ ),
161
+ 'um_support' => array(
162
+ 'type' => 'single_checkbox',
163
+ 'label' => __('Ultimate Member support', 'permalink-manager'),
164
+ 'input_class' => '',
165
+ 'class_exists' => 'UM',
166
+ 'description' => __('If enabled, Permalink Manager will detect the additional Ultimate Member pages (eg. "account" sections).', 'permalink-manager')
167
  ),
168
  'yoast_breadcrumbs' => array(
169
  'type' => 'single_checkbox',
170
  'label' => __('Breadcrumbs support', 'permalink-manager'),
171
  'input_class' => '',
172
+ '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')
173
  ),
174
  'partial_disable' => array(
175
  'type' => 'checkbox',
languages/permalink-manager-ja.mo CHANGED
Binary file
languages/permalink-manager-ja.po CHANGED
@@ -2,19 +2,19 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Permalink Manager Lite\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2020-04-24 12:22+0000\n"
6
- "PO-Revision-Date: 2020-04-24 15:28+0000\n"
7
- "Last-Translator: \n"
8
- "Language-Team: 日本語\n"
9
  "Language: ja\n"
10
  "Plural-Forms: nplurals=1; plural=0;\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.3.3; wp-5.4"
16
 
17
- #: permalink-manager.php:206
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
@@ -26,33 +26,32 @@ msgstr ""
26
  "<strong>パーマリンク マネージャー Proの購入は<a href=\"%s\" target=\"_blank\">コチラ</a>! %s "
27
  "の割引 「%s」をご利用下さい。 </strong> %s まで!"
28
 
29
- #: includes/core/permalink-manager-third-parties.php:231
30
  msgid "\"Custom Permalinks\" URIs were imported!"
31
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
32
 
33
- #: includes/core/permalink-manager-third-parties.php:234
34
  msgid "No \"Custom Permalinks\" URIs were imported!"
35
  msgstr "「カスタム パーマリンク」 URIはインポートされませんでした!"
36
 
37
- #. Name of the plugin
38
- #: includes/core/permalink-manager-third-parties.php:513
39
- #: includes/core/permalink-manager-gutenberg.php:14
40
- #: includes/core/permalink-manager-admin-functions.php:110
41
- #: includes/core/permalink-manager-admin-functions.php:110
42
- #: includes/core/permalink-manager-admin-functions.php:715
43
- #: includes/core/permalink-manager-admin-functions.php:796
44
- #: includes/core/permalink-manager-admin-functions.php:801
45
- #: includes/core/permalink-manager-admin-functions.php:802
46
  msgid "Permalink Manager"
47
  msgstr "Permalink Manager"
48
 
49
- #: includes/core/permalink-manager-third-parties.php:517
50
- #: includes/core/permalink-manager-uri-functions-tax.php:476
51
  #: includes/views/permalink-manager-tools.php:70
52
  msgid "Custom URI"
53
  msgstr "カスタム URI"
54
 
55
- #: includes/core/permalink-manager-third-parties.php:518
56
  #, php-format
57
  msgid ""
58
  "If empty, a default permalink based on your current <a href=\"%s\" "
@@ -61,51 +60,51 @@ msgstr ""
61
  "空の場合、現在の<a href=\"%s\" target=\"_blank\">パーマ構造 設定</a>"
62
  "に基づいたデフォルトのパーマリンクが適用されます。"
63
 
64
- #: includes/core/permalink-manager-uri-functions-tax.php:477
65
  msgid "Clear/leave the field empty to use the default permalink."
66
  msgstr "デフォルトのパーマリンクを使用するため、フィールドを空のままにする / クリアする"
67
 
68
- #: includes/core/permalink-manager-uri-functions-tax.php:509
69
- #: includes/core/permalink-manager-admin-functions.php:719
70
- #: includes/core/permalink-manager-admin-functions.php:819
71
- #: includes/core/permalink-manager-uri-functions-post.php:665
72
  msgid "Current URI"
73
  msgstr "現在のURI"
74
 
75
- #: includes/core/permalink-manager-admin-functions.php:134
76
  msgid "Are you sure? This action cannot be undone!"
77
  msgstr "本当によろしいですか?この操作は、元に戻せません!"
78
 
79
- #: includes/core/permalink-manager-admin-functions.php:155
80
  msgid "URI Editor"
81
  msgstr "URIエディター"
82
 
83
- #: includes/core/permalink-manager-admin-functions.php:156
84
  #: includes/views/permalink-manager-settings.php:14
85
  msgid "Settings"
86
  msgstr "設定"
87
 
88
- #: includes/core/permalink-manager-admin-functions.php:168
89
  msgid "Documentation"
90
  msgstr "ドキュメント"
91
 
92
- #: includes/core/permalink-manager-admin-functions.php:172
93
  msgid "Buy Permalink Manager Pro"
94
  msgstr "Permalink Manager Proを購入"
95
 
96
- #: includes/core/permalink-manager-admin-functions.php:259
97
  msgid "Select all"
98
  msgstr "全てを選択する"
99
 
100
- #: includes/core/permalink-manager-admin-functions.php:260
101
  msgid "Unselect all"
102
  msgstr "選択を全て解除する"
103
 
104
- #: includes/core/permalink-manager-admin-functions.php:375
105
  msgid "Permastructure translations"
106
  msgstr "パーマ構造 翻訳"
107
 
108
- #: includes/core/permalink-manager-admin-functions.php:376
109
  msgid ""
110
  "If you would like to translate the permastructures and set-up different "
111
  "permalink structure per language, please fill in the fields below. Otherwise "
@@ -115,118 +114,118 @@ msgstr ""
115
  "パーマ構造を翻訳し、言語ごとに異なるパーマリンク構造を設定する場合は、以下のフィールドに入力して下さい。 それ以外は、デフォルト言語のパーマ構造 "
116
  "セット(上記のフィールドを参照)が適用されます。"
117
 
118
- #: includes/core/permalink-manager-admin-functions.php:393
119
  msgid "Default permastructure"
120
  msgstr "デフォルト パーマ構造"
121
 
122
- #: includes/core/permalink-manager-admin-functions.php:394
123
  msgid "Restore default permastructure"
124
  msgstr "デフォルトのパーマ構造を復元する"
125
 
126
- #: includes/core/permalink-manager-admin-functions.php:400
127
- #: includes/core/permalink-manager-actions.php:399
128
- #: includes/core/permalink-manager-actions.php:403
129
  msgid "Permastructure settings"
130
  msgstr "パーマ構造 設定"
131
 
132
- #: includes/core/permalink-manager-admin-functions.php:401
133
  msgid "Do not automatically append the slug"
134
  msgstr "スラッグを自動的に追加しない"
135
 
136
- #: includes/core/permalink-manager-admin-functions.php:409
137
  msgid "Show additional settings"
138
  msgstr "追加設定を表示する"
139
 
140
- #: includes/core/permalink-manager-admin-functions.php:555
141
  msgid "Donate"
142
  msgstr "寄付"
143
 
144
- #: includes/core/permalink-manager-admin-functions.php:556
145
  msgid "by Maciej Bis"
146
  msgstr "by Maciej Bis"
147
 
148
- #: includes/core/permalink-manager-admin-functions.php:568
149
  msgid "Upgrade to PRO"
150
  msgstr "Pro版にアップグレード"
151
 
152
- #: includes/core/permalink-manager-admin-functions.php:635
153
- #: includes/core/permalink-manager-admin-functions.php:662
154
  msgid "Title"
155
  msgstr "タイトル"
156
 
157
- #: includes/core/permalink-manager-admin-functions.php:637
158
- #: includes/core/permalink-manager-admin-functions.php:664
159
  msgid "Old Slug"
160
  msgstr "古いスラッグ"
161
 
162
- #: includes/core/permalink-manager-admin-functions.php:638
163
- #: includes/core/permalink-manager-admin-functions.php:665
164
  msgid "New Slug"
165
  msgstr "新しいスラッグ"
166
 
167
- #: includes/core/permalink-manager-admin-functions.php:640
168
- #: includes/core/permalink-manager-admin-functions.php:667
169
  msgid "Old URI"
170
  msgstr "古いURI"
171
 
172
- #: includes/core/permalink-manager-admin-functions.php:641
173
- #: includes/core/permalink-manager-admin-functions.php:668
174
  msgid "New URI"
175
  msgstr "新しいURI"
176
 
177
- #: includes/core/permalink-manager-admin-functions.php:662
178
  msgid "Show more details"
179
  msgstr "さらなる詳細を表示する"
180
 
181
- #: includes/core/permalink-manager-admin-functions.php:675
182
  msgid "List of updated items"
183
  msgstr "更新済みのアイテムのリスト"
184
 
185
- #: includes/core/permalink-manager-admin-functions.php:688
186
  #, php-format
187
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
188
  msgid_plural "<strong class=\"updated_count\">%d</strong> slugs were updated!"
189
  msgstr[0] "<strong class=\"updated_count\">%d</strong> スラッグは、更新されました!"
190
  msgstr[1] ""
191
 
192
- #: includes/core/permalink-manager-admin-functions.php:689
193
  #, php-format
194
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
195
  msgstr "更新されたスラッグのリストは、<a %s>ここをクリック</a> "
196
 
197
- #: includes/core/permalink-manager-admin-functions.php:693
198
  #: includes/core/permalink-manager-actions.php:115
199
  msgid "<strong>No slugs</strong> were updated!"
200
  msgstr "スラッグは、更新されませんでした。"
201
 
202
- #: includes/core/permalink-manager-admin-functions.php:782
203
- #: includes/core/permalink-manager-admin-functions.php:785
204
  msgid "Yes"
205
  msgstr "はい"
206
 
207
- #: includes/core/permalink-manager-admin-functions.php:782
208
- #: includes/core/permalink-manager-admin-functions.php:786
209
  msgid "No"
210
  msgstr "いいえ"
211
 
212
- #: includes/core/permalink-manager-admin-functions.php:784
213
  #, php-format
214
  msgid "Use global settings [%s]"
215
  msgstr "グローバル設定を使用する [%s]"
216
 
217
- #: includes/core/permalink-manager-admin-functions.php:787
218
  msgid "No (ignore this URI in bulk tools)"
219
  msgstr "いいえ(一括ツールでは、このURIを無視します。)"
220
 
221
- #: includes/core/permalink-manager-admin-functions.php:801
222
  msgid "Close: "
223
  msgstr "閉じる:"
224
 
225
- #: includes/core/permalink-manager-admin-functions.php:813
226
  msgid "The custom URI cannot be edited on frontpage."
227
  msgstr "カスタムURIは、フロントページでは編集不可です。"
228
 
229
- #: includes/core/permalink-manager-admin-functions.php:820
230
  msgid ""
231
  "If custom URI is not defined, a default URI will be set (see below). The "
232
  "custom URI can be edited only if 'Auto-update the URI' feature is not "
@@ -234,40 +233,40 @@ msgid ""
234
  msgstr ""
235
  "カスタムURIが定義されていない場合、デフォルトのURIが設定されます。(以下を参照)カスタムURIは、「URIの自動更新」機能が有効になっていない場合のみ編集できます。"
236
 
237
- #: includes/core/permalink-manager-admin-functions.php:829
238
  msgid "Native slug"
239
  msgstr "ネイティブ スラッグ"
240
 
241
- #: includes/core/permalink-manager-admin-functions.php:830
242
  msgid ""
243
  "The native slug is by default automatically used in native permalinks (when "
244
  "Permalink Manager is disabled)."
245
  msgstr ""
246
  "ネイティブ スラッグは、(Permalink Managerが無効になっている場合)デフォルトでは自動的にネイティブパーマリンクが使用されます。"
247
 
248
- #: includes/core/permalink-manager-admin-functions.php:840
249
  msgid "Auto-update the URI"
250
  msgstr "URIの自動更新"
251
 
252
- #: includes/core/permalink-manager-admin-functions.php:841
253
  msgid ""
254
  "If enabled, the 'Current URI' field will be automatically changed to "
255
  "'Default URI' (displayed below) after the post is saved or updated."
256
  msgstr "有効にすると、「現在のURI」項目は投稿が更新又は保存された後に、(下記に表示された)「デフォルトURI」に自動的に変更されます。"
257
 
258
- #: includes/core/permalink-manager-admin-functions.php:849
259
  msgid "Default URI"
260
  msgstr "デフォルト URI"
261
 
262
- #: includes/core/permalink-manager-admin-functions.php:850
263
  msgid "Restore Default URI"
264
  msgstr "デフォルトのURIを復元する"
265
 
266
- #: includes/core/permalink-manager-admin-functions.php:860
267
  msgid "Automatic redirect for native URI enabled:"
268
  msgstr "ネイティブURIの自動リダイレクトを有効にする:"
269
 
270
- #: includes/core/permalink-manager-admin-functions.php:871
271
  #, php-format
272
  msgid ""
273
  "<span><strong>Need more functionalities and dedicated support?</strong> Buy "
@@ -278,23 +277,22 @@ msgstr ""
278
  "Proを購入して10%割引の<a href=\"https://permalinkmanager.pro/buy-permalink-manager-"
279
  "pro/\">PMLITEクーポンコード</a>を適用してください。</a></span>"
280
 
281
- #: includes/core/permalink-manager-admin-functions.php:882
282
  msgid "Save permalink"
283
  msgstr "パーマリンクを保存する"
284
 
285
- #: includes/core/permalink-manager-admin-functions.php:909
286
  msgid "Manage redirects"
287
  msgstr "リダイレクトを管理"
288
 
289
- #: includes/core/permalink-manager-admin-functions.php:1027
290
  #, php-format
291
  msgid ""
292
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
293
  "Permalink Manager Pro</a>."
294
  msgstr "この機能は、Permalink Manager Proのみ利用可能です。"
295
 
296
- #: includes/core/permalink-manager-pro-functions.php:127
297
- #: includes/core/permalink-manager-pro-functions.php:153
298
  #, php-format
299
  msgid ""
300
  "Please paste the licence key to access all Permalink Manager Pro updates & "
@@ -303,17 +301,11 @@ msgstr ""
303
  "<a href=\"%s\" target=\"_blank\">コチラのページ</a>にて、ライセンスキーを設定して全てのPermalink "
304
  "Manager Pro のアップデート&機能をご利用下さい。"
305
 
306
- #: includes/core/permalink-manager-pro-functions.php:132
307
- msgid ""
308
- "Expiration date could not be downloaded at this moment. Please try again in "
309
- "a few minutes."
310
- msgstr "現在、有効期限の情報をダウンロードできない可能性があります。数分後に、再度お試し下さい。"
311
-
312
- #: includes/core/permalink-manager-pro-functions.php:137
313
  msgid "Your Permalink Manager Pro licence key is invalid!"
314
  msgstr "あなたのライセンスキーは、無効です!"
315
 
316
- #: includes/core/permalink-manager-pro-functions.php:142
317
  #, php-format
318
  msgid ""
319
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
@@ -323,11 +315,11 @@ msgstr ""
323
  "あなたのライセンスキーは有効期限が切れました!プラグインのアップデートのアクセスやテクニカルサポートを受けたい場合は、<a href=\"%s\" "
324
  "target=\"_blank\">コチラのページ</a>にアクセスして、復元して下さい。"
325
 
326
- #: includes/core/permalink-manager-pro-functions.php:147
327
  msgid "You own a lifetime licence key."
328
  msgstr "あなたは、永久ライセンスキーをお持ちです。"
329
 
330
- #: includes/core/permalink-manager-pro-functions.php:150
331
  #, php-format
332
  msgid ""
333
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
@@ -336,99 +328,105 @@ msgstr ""
336
  "あなたのライセンスキーは、%s まで有効です。<br />延長するには、<a href=\"%s\" target=\"_blank\">"
337
  "コチラのページ</a>にアクセスして詳細を確認して下さい。"
338
 
339
- #: includes/core/permalink-manager-pro-functions.php:186
 
 
 
 
 
 
340
  msgid "Arabic"
341
  msgstr "アラビア語"
342
 
343
- #: includes/core/permalink-manager-pro-functions.php:187
344
  msgid "Chinese"
345
  msgstr "中国語"
346
 
347
- #: includes/core/permalink-manager-pro-functions.php:188
348
  msgid "Danish"
349
  msgstr "デンマーク語"
350
 
351
- #: includes/core/permalink-manager-pro-functions.php:189
352
  msgid "Dutch"
353
  msgstr "オランダ語"
354
 
355
- #: includes/core/permalink-manager-pro-functions.php:190
356
  msgid "English"
357
  msgstr "英語"
358
 
359
- #: includes/core/permalink-manager-pro-functions.php:191
360
  msgid "Finnish"
361
  msgstr "フィンランド語"
362
 
363
- #: includes/core/permalink-manager-pro-functions.php:192
364
  msgid "French"
365
  msgstr "フランス語"
366
 
367
- #: includes/core/permalink-manager-pro-functions.php:193
368
  msgid "German"
369
  msgstr "ドイツ語"
370
 
371
- #: includes/core/permalink-manager-pro-functions.php:194
372
  msgid "Hebrew"
373
  msgstr "ヘブライ語"
374
 
375
- #: includes/core/permalink-manager-pro-functions.php:195
376
  msgid "Hindi"
377
  msgstr "ヒンディー語"
378
 
379
- #: includes/core/permalink-manager-pro-functions.php:196
380
  msgid "Italian"
381
  msgstr "イタリア語"
382
 
383
- #: includes/core/permalink-manager-pro-functions.php:197
384
  msgid "Japanese"
385
  msgstr "日本語"
386
 
387
- #: includes/core/permalink-manager-pro-functions.php:198
388
  msgid "Korean"
389
  msgstr "韓国語"
390
 
391
- #: includes/core/permalink-manager-pro-functions.php:199
392
  msgid "Norwegian"
393
  msgstr "ノルウェー語"
394
 
395
- #: includes/core/permalink-manager-pro-functions.php:200
396
  msgid "Persian"
397
  msgstr "ペルシア語"
398
 
399
- #: includes/core/permalink-manager-pro-functions.php:201
400
  msgid "Polish"
401
  msgstr "ポーランド語"
402
 
403
- #: includes/core/permalink-manager-pro-functions.php:202
404
  msgid "Portuguese"
405
  msgstr "ポルトガル語"
406
 
407
- #: includes/core/permalink-manager-pro-functions.php:203
408
  msgid "Russian"
409
  msgstr "ロシア語"
410
 
411
- #: includes/core/permalink-manager-pro-functions.php:204
412
  msgid "Spanish"
413
  msgstr "スペイン語"
414
 
415
- #: includes/core/permalink-manager-pro-functions.php:205
416
  msgid "Swedish"
417
  msgstr "スウェーデン語"
418
 
419
- #: includes/core/permalink-manager-pro-functions.php:206
420
  msgid "Turkish"
421
  msgstr "トルコ語"
422
 
423
- #: includes/core/permalink-manager-pro-functions.php:488
424
  msgid "Coupon Link"
425
  msgstr "クーポンリンク"
426
 
427
- #: includes/core/permalink-manager-pro-functions.php:509
428
  msgid "Coupon URI"
429
  msgstr "クーポンURI"
430
 
431
- #: includes/core/permalink-manager-pro-functions.php:510
432
  msgid ""
433
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
434
  "blackfriday</strong> are equivalent."
@@ -436,7 +434,7 @@ msgstr ""
436
  "URIは、大文字・小文字は区別しません。例:<strong>BLACKFRIDAY</strong> と<strong>"
437
  "blackfriday</strong>は、同じです。"
438
 
439
- #: includes/core/permalink-manager-pro-functions.php:521
440
  msgid "Coupon Full URL"
441
  msgstr "クーポン フル URL"
442
 
@@ -444,58 +442,58 @@ msgstr "クーポン フル URL"
444
  msgid "The settings are saved!"
445
  msgstr "設定は、保存されました!"
446
 
447
- #: includes/core/permalink-manager-actions.php:367
448
  #, php-format
449
  msgid "%d Custom URIs and %d Custom Redirects were removed!"
450
  msgstr "%d カスタムURIと、%d カスタム リダイレクトは削除されました。"
451
 
452
- #: includes/core/permalink-manager-actions.php:369
453
  msgid "No Custom URIs or Custom Redirects were removed!"
454
  msgstr "カスタムURIもしくはカスタム リダイレクトは、削除されませんでした!"
455
 
456
- #: includes/core/permalink-manager-actions.php:381
457
  msgid "You are not allowed to remove Permalink Manager data!"
458
  msgstr "Permalink Manager データを削除できません!"
459
 
460
- #: includes/core/permalink-manager-actions.php:387
461
  msgid "Custom permalinks"
462
  msgstr "カスタム パーマリンク"
463
 
464
- #: includes/core/permalink-manager-actions.php:391
465
  msgid "Custom redirects"
466
  msgstr "カスタム リダイレクト"
467
 
468
- #: includes/core/permalink-manager-actions.php:395
469
  msgid "External redirects"
470
  msgstr "外部のリダイレクト"
471
 
472
- #: includes/core/permalink-manager-actions.php:414
473
  #, php-format
474
  msgid "%s were removed!"
475
  msgstr "%s は削除されました!"
476
 
477
- #: includes/core/permalink-manager-actions.php:555
478
  #, php-format
479
  msgid "URI \"%s\" was removed successfully!"
480
  msgstr "「%s」のURIは、無事削除されました!"
481
 
482
- #: includes/core/permalink-manager-actions.php:563
483
  msgid "Broken redirects were removed successfully!"
484
  msgstr "リンク切れリダイレクトは、無事削除されました!"
485
 
486
- #: includes/core/permalink-manager-actions.php:567
487
  msgid "URI and/or custom redirects does not exist or were already removed!"
488
  msgstr "URIもしくはカスタムリダイレクトは、実在しないか既に削除されています!"
489
 
490
- #: includes/core/permalink-manager-actions.php:587
491
  msgid "The redirect was removed successfully!"
492
  msgstr "リダイレクトは、無事削除されました!"
493
 
494
- #: includes/core/permalink-manager-actions.php:617
495
  msgid "URI is already in use, please select another one!"
496
  msgstr "URIは既に使用済みです。他をお選び下さい。"
497
 
498
- #: includes/core/permalink-manager-actions.php:649
499
  msgid "Sitemaps were updated!"
500
  msgstr "サイトマップは、更新されました!"
501
 
@@ -519,13 +517,13 @@ msgstr "タクソノミー"
519
  msgid "WooCommerce"
520
  msgstr "WooCommerce"
521
 
522
- #: includes/views/permalink-manager-permastructs.php:74
523
- #: includes/views/permalink-manager-pro-addons.php:188
524
- #: includes/views/permalink-manager-pro-addons.php:221
525
  msgid "Instructions"
526
  msgstr "手順"
527
 
528
- #: includes/views/permalink-manager-permastructs.php:75
529
  #, php-format
530
  msgid ""
531
  "The current permastructures settings will be applied <strong>only to the new "
@@ -537,11 +535,11 @@ msgstr ""
537
  "既存の投稿とタームに新規のパーマ構造</strong>を適用するには、<a href=\"%s\">コチラ</a>"
538
  "にてカスタムパーマリンクを再生成して下さい。"
539
 
540
- #: includes/views/permalink-manager-permastructs.php:77
541
  msgid "Permastructure tags"
542
  msgstr "パーマ構造 タグ"
543
 
544
- #: includes/views/permalink-manager-permastructs.php:78
545
  #, php-format
546
  msgid ""
547
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
@@ -551,7 +549,7 @@ msgstr ""
551
  "以下は、全て使用可能な<a href=\"%s\" target=\"_blank\">パーマ構造 タグ</a>"
552
  "です。いくつかのタグは、特定の投稿タイプやタクソノミーでのみ使用可能ですので、ご注意下さい。"
553
 
554
- #: includes/views/permalink-manager-permastructs.php:81
555
  msgid "Save permastructures"
556
  msgstr "パーマ構造を保存する"
557
 
@@ -612,104 +610,104 @@ msgstr "全日付"
612
  msgid "Filter"
613
  msgstr "フィルター"
614
 
615
- #: includes/views/permalink-manager-pro-addons.php:99
616
  msgid "Support"
617
  msgstr "サポート"
618
 
619
- #: includes/views/permalink-manager-pro-addons.php:126
620
  msgid "Licence"
621
  msgstr "ライセンス"
622
 
623
- #: includes/views/permalink-manager-pro-addons.php:132
624
  msgid "Licence key"
625
  msgstr "ライセンスキー"
626
 
627
- #: includes/views/permalink-manager-pro-addons.php:133
628
  msgid "Check the expiration date."
629
  msgstr "有効期限を確認する"
630
 
631
- #: includes/views/permalink-manager-pro-addons.php:157
632
  msgid "-- Use predefined words list --"
633
  msgstr "-- 定義済みの単語リストを使用する --"
634
 
635
- #: includes/views/permalink-manager-pro-addons.php:160
636
  msgid "Remove all words"
637
  msgstr "全ての単語を削除する"
638
 
639
- #: includes/views/permalink-manager-pro-addons.php:162
640
  msgid "Add the words from the list"
641
  msgstr "リストから単語を追加する"
642
 
643
- #: includes/views/permalink-manager-pro-addons.php:170
644
  msgid "Enable \"stop words\""
645
  msgstr "「使用禁止の単語」を有効にする"
646
 
647
- #: includes/views/permalink-manager-pro-addons.php:176
648
  msgid "\"Stop words\" list"
649
  msgstr "「使用禁止の単語」リスト"
650
 
651
- #: includes/views/permalink-manager-pro-addons.php:180
652
  msgid "Type comma to separate the words."
653
  msgstr "単語の区切りにカンマを入力下さい。"
654
 
655
- #: includes/views/permalink-manager-pro-addons.php:189
656
  msgid ""
657
  "If enabled, all selected \"stop words\" will be automatically removed from "
658
  "default URIs."
659
  msgstr "有効にすると、選択された全ての「使用禁止の単語」はデフォルトのURIから、自動的に削除されます。"
660
 
661
- #: includes/views/permalink-manager-pro-addons.php:190
662
  msgid ""
663
  "Each of the words can be removed and any new words can be added to the list. "
664
  "You can also use a predefined list (available in 21 languages)."
665
  msgstr "各単語は、リストへ追加/削除できます。また、定義済みのリスト(21の言語)も使用可能です。"
666
 
667
- #: includes/views/permalink-manager-pro-addons.php:192
668
  msgid "Save"
669
  msgstr "保存する"
670
 
671
- #: includes/views/permalink-manager-pro-addons.php:212
672
  #: includes/views/permalink-manager-tools.php:34
673
  msgid "Custom Permalinks"
674
  msgstr "カスタム パーマリンク"
675
 
676
- #: includes/views/permalink-manager-pro-addons.php:213
677
  msgid "Deactivate after import"
678
  msgstr "インポート後、非アクティブにする"
679
 
680
- #: includes/views/permalink-manager-pro-addons.php:216
681
  msgid ""
682
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
683
  "custom URIs are imported."
684
  msgstr "選択すると、カスタムURIのインポート後、「カスタムパーマリンク」プラグインが無効になります。"
685
 
686
- #: includes/views/permalink-manager-pro-addons.php:222
687
  msgid ""
688
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
689
  "of this plugin."
690
  msgstr "「カスタム パーマリンク」(有効にしている場合)により、本プラグインの動作が損なわれる場合があります。"
691
 
692
- #: includes/views/permalink-manager-pro-addons.php:223
693
  msgid ""
694
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
695
  "permalinks before using Permalink Manager Pro."
696
  msgstr ""
697
  "したがって、「カスタム パーマリンク」を無効にして、Permalink Manager Proを使用する前の古いパーマリンクのインポートを推奨します。"
698
 
699
- #: includes/views/permalink-manager-pro-addons.php:228
700
  #, php-format
701
  msgid "Import %d URIs"
702
  msgstr "%d URIをインポートする"
703
 
704
- #: includes/views/permalink-manager-pro-addons.php:233
705
  msgid "No custom URIs to import"
706
  msgstr "インポートするカスタムURIはありません"
707
 
708
- #: includes/views/permalink-manager-pro-addons.php:246
709
  msgid "Technical support"
710
  msgstr "技術的サポート"
711
 
712
- #: includes/views/permalink-manager-pro-addons.php:247
713
  #, php-format
714
  msgid ""
715
  "To find the answers on frequently asked questions and information about how "
@@ -719,7 +717,7 @@ msgstr ""
719
  "よくある質問と一般的な問題に対する対処方法についての情報は、 <a target=\"_blank\" href=\"%s\">コチラ</a>"
720
  "の<strong>Knowledge Base</strong> をご利用下さい。(英語のみ)"
721
 
722
- #: includes/views/permalink-manager-pro-addons.php:248
723
  msgid ""
724
  "If you still did not find the answer to your question, please send us your "
725
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
@@ -728,24 +726,24 @@ msgstr ""
728
  "ご質問に対して答えが見つからない場合は、問題の詳細又はご質問を<a href=\"mailto:support@permalinkmanager."
729
  "pro\">support@permalinkmanager.pro</a>までお送り下さい。(英語のみ)"
730
 
731
- #: includes/views/permalink-manager-pro-addons.php:249
732
  msgid ""
733
  "To reduce the response time, please attach your licence key and if possible "
734
  "also: URL address of your website and screenshots explaining the issue."
735
  msgstr ""
736
  "ご返答までの時間を短縮するため、ライセンスキーを添付し、可能であればWebサイトのURLと問題箇所のスクリーンショットもお送り下さい。(英語のみ)"
737
 
738
- #: includes/views/permalink-manager-pro-addons.php:251
739
  msgid "Suggestions/feedback"
740
  msgstr "ご意見 / フィードバック"
741
 
742
- #: includes/views/permalink-manager-pro-addons.php:252
743
  msgid ""
744
  "If you would like to suggest a new functionality or leave us feedback, we "
745
  "are open to all new ideas and would be grateful for all your comments!"
746
  msgstr "新たな機能の提案やフィードバックをお送り下さい。あらゆる新しいアイデアは大歓迎であり、あなたのコメントをお送り頂ければ幸いです。"
747
 
748
- #: includes/views/permalink-manager-pro-addons.php:253
749
  msgid ""
750
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
751
  "contact@permalinkmanager.pro</a>."
@@ -753,25 +751,25 @@ msgstr ""
753
  "<a href=\"mailto:contact@permalinkmanager.pro\">contact@permalinkmanager."
754
  "pro</a>まで、ご意見をお送り下さい。"
755
 
756
- #: includes/views/permalink-manager-pro-addons.php:268
757
  msgid "Extra redirects (aliases)"
758
  msgstr "追加のリダイレクト(エイリアス)"
759
 
760
- #: includes/views/permalink-manager-pro-addons.php:269
761
  msgid ""
762
  "All URIs specified below will redirect the visitors to the custom URI "
763
  "defined above in \"Current URI\" field."
764
  msgstr "以下で指定された全てのURIは、訪問者を上記の「現在のURI」フィールドで定義されたカスタムURIにリダイレクトします。"
765
 
766
- #: includes/views/permalink-manager-pro-addons.php:275
767
  msgid "sample/custom-uri"
768
  msgstr "sample/custom-uri"
769
 
770
- #: includes/views/permalink-manager-pro-addons.php:292
771
  msgid "Add new redirect"
772
  msgstr "新しいリダイレクトを追加する"
773
 
774
- #: includes/views/permalink-manager-pro-addons.php:297
775
  #, php-format
776
  msgid ""
777
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
@@ -780,21 +778,21 @@ msgstr ""
780
  "<strong>URIのみご利用下さい!</strong><br />例えば、<code>%s/old-uri</code> "
781
  "のリダイレクトを設定する場合は、<code>old-uri</code> をお使い下さい。"
782
 
783
- #: includes/views/permalink-manager-pro-addons.php:306
784
  msgid "Redirect this page to external URL"
785
  msgstr "このページを外部URLにリダイレクトする"
786
 
787
- #: includes/views/permalink-manager-pro-addons.php:307
788
  msgid ""
789
  "If not empty, the visitors trying to access this page will be redirected to "
790
  "the URL specified below."
791
  msgstr "空白でない場合、このページにアクセスしようと試みた訪問者は、下記のURLにリダイレクトされます。"
792
 
793
- #: includes/views/permalink-manager-pro-addons.php:311
794
  msgid "http://another-website.com/final-target-url"
795
  msgstr "http://another-website.com/final-target-url"
796
 
797
- #: includes/views/permalink-manager-pro-addons.php:315
798
  msgid ""
799
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
800
  "//another-website.com/final-target-url</code>."
@@ -942,11 +940,11 @@ msgstr ""
942
  "この機能は、(古い)オリジナルのパーマリンクをPermalink Managerで設定された(新しい)カスタム "
943
  "パーマリンクにリダイレクトするために使用されます。"
944
 
945
- #: includes/views/permalink-manager-settings.php:79
946
  msgid "Old slug redirect"
947
  msgstr "古いスラッグ リダイレクト"
948
 
949
- #: includes/views/permalink-manager-settings.php:82
950
  msgid ""
951
  "<strong>Old slug redirect is used by WordPress to provide a fallback for old "
952
  "version of slugs after they are changed.</strong>"
@@ -954,33 +952,33 @@ msgstr ""
954
  "<strong>古いスラッグ "
955
  "リダイレクトは、WordPressが古いバージョンのスラッグを変更した後の代替を提供するために使用されます。</strong>"
956
 
957
- #: includes/views/permalink-manager-settings.php:83
958
  msgid ""
959
  "If enabled, the visitors trying to access the URL with the old slug will be "
960
  "redirected to the canonical permalink."
961
  msgstr "有効にすると、古いスラッグでURLにアクセスした訪問者を、正規パーマリンクにリダイレクトします。"
962
 
963
- #: includes/views/permalink-manager-settings.php:89
964
  msgid "Enhanced redirect"
965
  msgstr "拡張 リダイレクト"
966
 
967
- #: includes/views/permalink-manager-settings.php:95
968
  msgid "Redirect mode"
969
  msgstr "リダイレクト モード"
970
 
971
- #: includes/views/permalink-manager-settings.php:97
972
  msgid "Disable (Permalink Manager redirect functions)"
973
  msgstr "無効(Permalink Manager リダイレクト 機能)"
974
 
975
- #: includes/views/permalink-manager-settings.php:97
976
  msgid "301 redirect"
977
  msgstr "301 リダイレクト"
978
 
979
- #: includes/views/permalink-manager-settings.php:97
980
  msgid "302 redirect"
981
  msgstr "302 リダイレクト"
982
 
983
- #: includes/views/permalink-manager-settings.php:99
984
  msgid ""
985
  "<strong>Permalink Manager includes a set of hooks that allow to extend the "
986
  "redirect functions used natively by WordPress to avoid 404 errors.</strong>"
@@ -988,24 +986,24 @@ msgstr ""
988
  "<strong>Permalink "
989
  "Managerには、404エラー回避のためにWordPressが従来使用するリダイレクト機能を拡張できる一連のフックが含まれています。</strong>"
990
 
991
- #: includes/views/permalink-manager-settings.php:100
992
  msgid ""
993
  "You can disable this feature if you do not want Permalink Manager to trigger "
994
  "any additional redirect functions at all."
995
  msgstr "Permalink Managerに、追加のリダイレクト機能を一切トリガーさせないようにする場合は、この機能を無効にします。"
996
 
997
- #: includes/views/permalink-manager-settings.php:105
998
  msgid "Old custom permalinks redirect"
999
  msgstr "古いカスタム パーマリンク リダイレクト"
1000
 
1001
- #: includes/views/permalink-manager-settings.php:110
1002
  msgid ""
1003
  "<strong>Permalink Manager can automatically set-up extra redirects after the "
1004
  "custom permalink is changed.</strong>"
1005
  msgstr ""
1006
  "<strong>Permalink Managerは、カスタム パーマリンクの変更後、自動的に追加のリダイレクトを設定できます。</strong>"
1007
 
1008
- #: includes/views/permalink-manager-settings.php:111
1009
  msgid ""
1010
  "If enabled, Permalink Manage will add redirect for earlier version of custom "
1011
  "permalink after you change it (eg. with URI Editor or Regenerate/reset tool)."
@@ -1013,17 +1011,17 @@ msgstr ""
1013
  "有効にすると、Permalink Managerは、変更後(例:URIエディターまたは再生成・リセットツールを使用)に、以前のバージョンのカスタム "
1014
  "パーマリンクのリダイレクトを追加します。"
1015
 
1016
- #: includes/views/permalink-manager-settings.php:112
1017
  msgid ""
1018
  "You can disable this feature if you use another plugin for redirects, eg. "
1019
  "Yoast SEO Premium or Redirection."
1020
  msgstr "Yoast SEO プレミアムやその他のリダイレクトプラグインを使用している場合は、この機能を無効にできます。"
1021
 
1022
- #: includes/views/permalink-manager-settings.php:117
1023
  msgid "Force HTTPS/WWW"
1024
  msgstr "HTTPS/WWW 強制"
1025
 
1026
- #: includes/views/permalink-manager-settings.php:120
1027
  msgid ""
1028
  "<strong>You can use Permalink Manager to force SSL or \"www\" prefix in "
1029
  "WordPress permalinks.</strong>"
@@ -1031,30 +1029,30 @@ msgstr ""
1031
  "<strong>Permalink "
1032
  "Managerを使って、WordPressのパーマリンク内にSSLもしくはwwwの接頭辞を強制的に付与できます。</strong>"
1033
 
1034
- #: includes/views/permalink-manager-settings.php:121
1035
  msgid "Please disable it if you encounter any redirect loop issues."
1036
  msgstr "リダイレクトのループ問題が発生した場合は、このオプションを無効にして下さい。"
1037
 
1038
- #: includes/views/permalink-manager-settings.php:126
1039
  msgid "Trailing slashes redirect"
1040
  msgstr "末尾のスラッシュリダイレクト"
1041
 
1042
- #: includes/views/permalink-manager-settings.php:129
1043
  msgid ""
1044
  "<strong>Permalink Manager can force the trailing slashes settings in the "
1045
  "custom permalinks with redirect.</strong>"
1046
  msgstr ""
1047
  "<strong>Permalink Managerは、リダイレクトのあるカスタム パーマリンクの末尾のスラッシュ設定を強制できます。</strong>"
1048
 
1049
- #: includes/views/permalink-manager-settings.php:135
1050
  msgid "Third party plugins"
1051
  msgstr "サードパーティー プラグイン"
1052
 
1053
- #: includes/views/permalink-manager-settings.php:141
1054
  msgid "WPML/Polylang language mismatch"
1055
  msgstr "WPML / Polylang 言語 不一致"
1056
 
1057
- #: includes/views/permalink-manager-settings.php:143
1058
  msgid ""
1059
  "If enabled, the plugin will load the adjacent translation of post when the "
1060
  "custom permalink is detected, but the language code in the URL does not "
@@ -1062,58 +1060,66 @@ msgid ""
1062
  msgstr ""
1063
  "有効にすると、本プラグインはカスタムパーマリンクを検出した際、投稿に用いた言語に近い翻訳を読み込みますが、投稿やタームに割当られた言語コードとURL内言語コードと一致しない場合は読み込みません。"
1064
 
1065
- #: includes/views/permalink-manager-settings.php:147
1066
  msgid "WP All Import support"
1067
  msgstr "WP All Import サポート"
1068
 
1069
- #: includes/views/permalink-manager-settings.php:149
1070
  msgid ""
1071
- "If checked, the custom permalinks will not be saved for the posts imported "
1072
- "with Wp All Import plugin."
1073
- msgstr "オンにすると、WP All Importプラグインでインポートされた投稿に対してカスタム パーマリンクは保存されません。"
 
 
 
 
1074
 
1075
- #: includes/views/permalink-manager-settings.php:153
 
 
 
 
 
 
1076
  msgid "Breadcrumbs support"
1077
  msgstr "パンくずリスト サポート"
1078
 
1079
- #: includes/views/permalink-manager-settings.php:155
1080
  msgid ""
1081
- "If checked, the HTML breadcrumbs will be filtered by Permalink Manager to "
1082
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
1083
  "SEO, RankMath and SEOPress</strong> breadcrumbs."
1084
  msgstr ""
1085
- "オンにすると、HTMLパンくずリストがPermalink Managerによってフィルタリングされ、現在のURL構造を模倣します。<br />"
1086
- "連携:<strong> WooCommerce、Yoast SEO、RankMath、SEOPress </strong>パンくずリスト"
1087
 
1088
- #: includes/views/permalink-manager-settings.php:159
1089
  msgid "Excluded content types"
1090
  msgstr "除外する投稿タイプ"
1091
 
1092
- #: includes/views/permalink-manager-settings.php:161
1093
  msgid ""
1094
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1095
  "selected above post types & taxonomies."
1096
  msgstr "Permalink Managerは、上記で選択した全ての投稿タイプとタクソノミーのカスタム パーマリンクを無視し、フィルタリングしません。"
1097
 
1098
- #: includes/views/permalink-manager-settings.php:166
1099
  msgid "Advanced settings"
1100
  msgstr "詳細設定"
1101
 
1102
- #: includes/views/permalink-manager-settings.php:172
1103
  msgid "Show \"Native slug\" field"
1104
  msgstr "「ネイティブ スラッグ」フィールドを表示する"
1105
 
1106
- #: includes/views/permalink-manager-settings.php:174
1107
  msgid ""
1108
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1109
  "single post/term edit page."
1110
  msgstr "有効にすると、それぞれの投稿やタームの編集ページ上で、URIエディター経由にてネイティブ スラッグを編集できます。"
1111
 
1112
- #: includes/views/permalink-manager-settings.php:178
1113
  msgid "Force 404 on non-existing pagination pages"
1114
  msgstr "実在しないページネーションのページに404を強制表示する"
1115
 
1116
- #: includes/views/permalink-manager-settings.php:180
1117
  msgid ""
1118
  "If enabled, the non-existing pagination pages (for single posts) will return "
1119
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
@@ -1123,61 +1129,61 @@ msgstr ""
1123
  "<strong>ページネーションのページ、もしくは独自のページネーション "
1124
  "システムをご利用で、なんらかの問題が生じた場合は、無効にしてください。</strong>"
1125
 
1126
- #: includes/views/permalink-manager-settings.php:184
1127
  msgid "Strip special characters"
1128
  msgstr "特殊文字を取り除く"
1129
 
1130
- #: includes/views/permalink-manager-settings.php:186
1131
- #: includes/views/permalink-manager-settings.php:193
1132
  msgid "Yes, use native settings"
1133
  msgstr "はい、ネイティブ 設定を使います。"
1134
 
1135
- #: includes/views/permalink-manager-settings.php:186
1136
  msgid "No, keep special characters (.,|_+) in the slugs"
1137
  msgstr "いいえ、スラッグに特殊文字(.,|_+)を保持します。"
1138
 
1139
- #: includes/views/permalink-manager-settings.php:187
1140
  msgid ""
1141
  "If enabled only alphanumeric characters, underscores and dashes will be "
1142
  "allowed for post/term slugs."
1143
  msgstr "英数字のみを有効にすると、投稿とターム スラッグにて下線とダッシュの使用が許可されます。"
1144
 
1145
- #: includes/views/permalink-manager-settings.php:191
1146
  msgid "Convert accented letters"
1147
  msgstr "アクセント付き文字の変換"
1148
 
1149
- #: includes/views/permalink-manager-settings.php:193
1150
  msgid "No, keep accented letters in the slugs"
1151
  msgstr "いいえ、スラッグにアクセント付き文字を保持します。"
1152
 
1153
- #: includes/views/permalink-manager-settings.php:194
1154
  msgid ""
1155
  "If enabled, all the accented letters will be replaced with their non-"
1156
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1157
  msgstr ""
1158
  "有効にすると、全てのアクセント付きの文字が、アクセントなしの文字に置換されます。(例:Å => A, Æ => AE, Ø => O, Ć => C)"
1159
 
1160
- #: includes/views/permalink-manager-settings.php:198
1161
  msgid "URI Editor role capability"
1162
  msgstr "URIエディター 種類と権限"
1163
 
1164
- #: includes/views/permalink-manager-settings.php:199
1165
  msgid "Administrator (edit_theme_options)"
1166
  msgstr "管理者 (edit_theme_options)"
1167
 
1168
- #: includes/views/permalink-manager-settings.php:199
1169
  msgid "Editor (publish_pages)"
1170
  msgstr "編集者 (publish_pages)"
1171
 
1172
- #: includes/views/permalink-manager-settings.php:199
1173
  msgid "Author (publish_posts)"
1174
  msgstr "投稿者 (publish_posts)"
1175
 
1176
- #: includes/views/permalink-manager-settings.php:199
1177
  msgid "Contributor (edit_posts)"
1178
  msgstr "寄稿者 (edit_posts)"
1179
 
1180
- #: includes/views/permalink-manager-settings.php:200
1181
  #, php-format
1182
  msgid ""
1183
  "Only the users who have selected capability will be able to access URI "
@@ -1187,29 +1193,29 @@ msgstr ""
1187
  "権限を持つユーザーのみがURIエディターにアクセスできます。<br />権限のリストは<a href=\"%s\" target=\"_blank\">"
1188
  "コチラ</a>で確認できます。"
1189
 
1190
- #: includes/views/permalink-manager-settings.php:204
1191
  msgid "Automatically fix broken URIs"
1192
  msgstr "壊れたURIを自動的に修正する"
1193
 
1194
- #: includes/views/permalink-manager-settings.php:206
1195
  msgid "Disable"
1196
  msgstr "無効"
1197
 
1198
- #: includes/views/permalink-manager-settings.php:206
1199
  msgid "Fix URIs individually (during page load)"
1200
  msgstr "個々にURLを修正する(ページ読込時)"
1201
 
1202
- #: includes/views/permalink-manager-settings.php:206
1203
  msgid "Bulk fix all URIs (once a day, in the background)"
1204
  msgstr "全てのURIを一括修正する(1日1回、バックグラウンド)"
1205
 
1206
- #: includes/views/permalink-manager-settings.php:208
1207
  msgid ""
1208
  "Enable this option if you would like to automatically remove redundant "
1209
  "permalinks & duplicated redirects."
1210
  msgstr "冗長なパーマリンクと重複したリダイレクトを自動的に削除したい場合は、このオプションを有効にします。"
1211
 
1212
- #: includes/views/permalink-manager-settings.php:215
1213
  msgid "Save settings"
1214
  msgstr "設定を保存する"
1215
 
2
  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: 2020-11-23 20:45+0000\n"
7
+ "Last-Translator: admin\n"
8
+ "Language-Team: Japanese\n"
9
  "Language: ja\n"
10
  "Plural-Forms: nplurals=1; plural=0;\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.4.4; wp-5.5.3"
16
 
17
+ #: permalink-manager.php:207
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
26
  "<strong>パーマリンク マネージャー Proの購入は<a href=\"%s\" target=\"_blank\">コチラ</a>! %s "
27
  "の割引 「%s」をご利用下さい。 </strong> %s まで!"
28
 
29
+ #: includes/core/permalink-manager-third-parties.php:292
30
  msgid "\"Custom Permalinks\" URIs were imported!"
31
  msgstr "「カスタム パーマリンク」URIは、インポートされました!"
32
 
33
+ #: includes/core/permalink-manager-third-parties.php:295
34
  msgid "No \"Custom Permalinks\" URIs were imported!"
35
  msgstr "「カスタム パーマリンク」 URIはインポートされませんでした!"
36
 
37
+ #: includes/core/permalink-manager-third-parties.php:681
38
+ #: includes/core/permalink-manager-gutenberg.php:26
39
+ #: includes/core/permalink-manager-admin-functions.php:111
40
+ #: includes/core/permalink-manager-admin-functions.php:111
41
+ #: includes/core/permalink-manager-admin-functions.php:737
42
+ #: includes/core/permalink-manager-admin-functions.php:818
43
+ #: includes/core/permalink-manager-admin-functions.php:823
44
+ #: includes/core/permalink-manager-admin-functions.php:824
 
45
  msgid "Permalink Manager"
46
  msgstr "Permalink Manager"
47
 
48
+ #: includes/core/permalink-manager-third-parties.php:685
49
+ #: includes/core/permalink-manager-uri-functions-tax.php:482
50
  #: includes/views/permalink-manager-tools.php:70
51
  msgid "Custom URI"
52
  msgstr "カスタム URI"
53
 
54
+ #: includes/core/permalink-manager-third-parties.php:686
55
  #, php-format
56
  msgid ""
57
  "If empty, a default permalink based on your current <a href=\"%s\" "
60
  "空の場合、現在の<a href=\"%s\" target=\"_blank\">パーマ構造 設定</a>"
61
  "に基づいたデフォルトのパーマリンクが適用されます。"
62
 
63
+ #: includes/core/permalink-manager-uri-functions-tax.php:483
64
  msgid "Clear/leave the field empty to use the default permalink."
65
  msgstr "デフォルトのパーマリンクを使用するため、フィールドを空のままにする / クリアする"
66
 
67
+ #: includes/core/permalink-manager-uri-functions-tax.php:515
68
+ #: includes/core/permalink-manager-admin-functions.php:741
69
+ #: includes/core/permalink-manager-admin-functions.php:841
70
+ #: includes/core/permalink-manager-uri-functions-post.php:687
71
  msgid "Current URI"
72
  msgstr "現在のURI"
73
 
74
+ #: includes/core/permalink-manager-admin-functions.php:135
75
  msgid "Are you sure? This action cannot be undone!"
76
  msgstr "本当によろしいですか?この操作は、元に戻せません!"
77
 
78
+ #: includes/core/permalink-manager-admin-functions.php:156
79
  msgid "URI Editor"
80
  msgstr "URIエディター"
81
 
82
+ #: includes/core/permalink-manager-admin-functions.php:157
83
  #: includes/views/permalink-manager-settings.php:14
84
  msgid "Settings"
85
  msgstr "設定"
86
 
87
+ #: includes/core/permalink-manager-admin-functions.php:169
88
  msgid "Documentation"
89
  msgstr "ドキュメント"
90
 
91
+ #: includes/core/permalink-manager-admin-functions.php:173
92
  msgid "Buy Permalink Manager Pro"
93
  msgstr "Permalink Manager Proを購入"
94
 
95
+ #: includes/core/permalink-manager-admin-functions.php:280
96
  msgid "Select all"
97
  msgstr "全てを選択する"
98
 
99
+ #: includes/core/permalink-manager-admin-functions.php:281
100
  msgid "Unselect all"
101
  msgstr "選択を全て解除する"
102
 
103
+ #: includes/core/permalink-manager-admin-functions.php:396
104
  msgid "Permastructure translations"
105
  msgstr "パーマ構造 翻訳"
106
 
107
+ #: includes/core/permalink-manager-admin-functions.php:397
108
  msgid ""
109
  "If you would like to translate the permastructures and set-up different "
110
  "permalink structure per language, please fill in the fields below. Otherwise "
114
  "パーマ構造を翻訳し、言語ごとに異なるパーマリンク構造を設定する場合は、以下のフィールドに入力して下さい。 それ以外は、デフォルト言語のパーマ構造 "
115
  "セット(上記のフィールドを参照)が適用されます。"
116
 
117
+ #: includes/core/permalink-manager-admin-functions.php:414
118
  msgid "Default permastructure"
119
  msgstr "デフォルト パーマ構造"
120
 
121
+ #: includes/core/permalink-manager-admin-functions.php:415
122
  msgid "Restore default permastructure"
123
  msgstr "デフォルトのパーマ構造を復元する"
124
 
125
+ #: includes/core/permalink-manager-admin-functions.php:421
126
+ #: includes/core/permalink-manager-actions.php:409
127
+ #: includes/core/permalink-manager-actions.php:413
128
  msgid "Permastructure settings"
129
  msgstr "パーマ構造 設定"
130
 
131
+ #: includes/core/permalink-manager-admin-functions.php:422
132
  msgid "Do not automatically append the slug"
133
  msgstr "スラッグを自動的に追加しない"
134
 
135
+ #: includes/core/permalink-manager-admin-functions.php:430
136
  msgid "Show additional settings"
137
  msgstr "追加設定を表示する"
138
 
139
+ #: includes/core/permalink-manager-admin-functions.php:577
140
  msgid "Donate"
141
  msgstr "寄付"
142
 
143
+ #: includes/core/permalink-manager-admin-functions.php:578
144
  msgid "by Maciej Bis"
145
  msgstr "by Maciej Bis"
146
 
147
+ #: includes/core/permalink-manager-admin-functions.php:590
148
  msgid "Upgrade to PRO"
149
  msgstr "Pro版にアップグレード"
150
 
151
+ #: includes/core/permalink-manager-admin-functions.php:657
152
+ #: includes/core/permalink-manager-admin-functions.php:684
153
  msgid "Title"
154
  msgstr "タイトル"
155
 
156
+ #: includes/core/permalink-manager-admin-functions.php:659
157
+ #: includes/core/permalink-manager-admin-functions.php:686
158
  msgid "Old Slug"
159
  msgstr "古いスラッグ"
160
 
161
+ #: includes/core/permalink-manager-admin-functions.php:660
162
+ #: includes/core/permalink-manager-admin-functions.php:687
163
  msgid "New Slug"
164
  msgstr "新しいスラッグ"
165
 
166
+ #: includes/core/permalink-manager-admin-functions.php:662
167
+ #: includes/core/permalink-manager-admin-functions.php:689
168
  msgid "Old URI"
169
  msgstr "古いURI"
170
 
171
+ #: includes/core/permalink-manager-admin-functions.php:663
172
+ #: includes/core/permalink-manager-admin-functions.php:690
173
  msgid "New URI"
174
  msgstr "新しいURI"
175
 
176
+ #: includes/core/permalink-manager-admin-functions.php:684
177
  msgid "Show more details"
178
  msgstr "さらなる詳細を表示する"
179
 
180
+ #: includes/core/permalink-manager-admin-functions.php:697
181
  msgid "List of updated items"
182
  msgstr "更新済みのアイテムのリスト"
183
 
184
+ #: includes/core/permalink-manager-admin-functions.php:710
185
  #, php-format
186
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
187
  msgid_plural "<strong class=\"updated_count\">%d</strong> slugs were updated!"
188
  msgstr[0] "<strong class=\"updated_count\">%d</strong> スラッグは、更新されました!"
189
  msgstr[1] ""
190
 
191
+ #: includes/core/permalink-manager-admin-functions.php:711
192
  #, php-format
193
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
194
  msgstr "更新されたスラッグのリストは、<a %s>ここをクリック</a> "
195
 
196
+ #: includes/core/permalink-manager-admin-functions.php:715
197
  #: includes/core/permalink-manager-actions.php:115
198
  msgid "<strong>No slugs</strong> were updated!"
199
  msgstr "スラッグは、更新されませんでした。"
200
 
201
+ #: includes/core/permalink-manager-admin-functions.php:804
202
+ #: includes/core/permalink-manager-admin-functions.php:807
203
  msgid "Yes"
204
  msgstr "はい"
205
 
206
+ #: includes/core/permalink-manager-admin-functions.php:804
207
+ #: includes/core/permalink-manager-admin-functions.php:808
208
  msgid "No"
209
  msgstr "いいえ"
210
 
211
+ #: includes/core/permalink-manager-admin-functions.php:806
212
  #, php-format
213
  msgid "Use global settings [%s]"
214
  msgstr "グローバル設定を使用する [%s]"
215
 
216
+ #: includes/core/permalink-manager-admin-functions.php:809
217
  msgid "No (ignore this URI in bulk tools)"
218
  msgstr "いいえ(一括ツールでは、このURIを無視します。)"
219
 
220
+ #: includes/core/permalink-manager-admin-functions.php:823
221
  msgid "Close: "
222
  msgstr "閉じる:"
223
 
224
+ #: includes/core/permalink-manager-admin-functions.php:835
225
  msgid "The custom URI cannot be edited on frontpage."
226
  msgstr "カスタムURIは、フロントページでは編集不可です。"
227
 
228
+ #: includes/core/permalink-manager-admin-functions.php:842
229
  msgid ""
230
  "If custom URI is not defined, a default URI will be set (see below). The "
231
  "custom URI can be edited only if 'Auto-update the URI' feature is not "
233
  msgstr ""
234
  "カスタムURIが定義されていない場合、デフォルトのURIが設定されます。(以下を参照)カスタムURIは、「URIの自動更新」機能が有効になっていない場合のみ編集できます。"
235
 
236
+ #: includes/core/permalink-manager-admin-functions.php:851
237
  msgid "Native slug"
238
  msgstr "ネイティブ スラッグ"
239
 
240
+ #: includes/core/permalink-manager-admin-functions.php:852
241
  msgid ""
242
  "The native slug is by default automatically used in native permalinks (when "
243
  "Permalink Manager is disabled)."
244
  msgstr ""
245
  "ネイティブ スラッグは、(Permalink Managerが無効になっている場合)デフォルトでは自動的にネイティブパーマリンクが使用されます。"
246
 
247
+ #: includes/core/permalink-manager-admin-functions.php:862
248
  msgid "Auto-update the URI"
249
  msgstr "URIの自動更新"
250
 
251
+ #: includes/core/permalink-manager-admin-functions.php:863
252
  msgid ""
253
  "If enabled, the 'Current URI' field will be automatically changed to "
254
  "'Default URI' (displayed below) after the post is saved or updated."
255
  msgstr "有効にすると、「現在のURI」項目は投稿が更新又は保存された後に、(下記に表示された)「デフォルトURI」に自動的に変更されます。"
256
 
257
+ #: includes/core/permalink-manager-admin-functions.php:871
258
  msgid "Default URI"
259
  msgstr "デフォルト URI"
260
 
261
+ #: includes/core/permalink-manager-admin-functions.php:872
262
  msgid "Restore Default URI"
263
  msgstr "デフォルトのURIを復元する"
264
 
265
+ #: includes/core/permalink-manager-admin-functions.php:882
266
  msgid "Automatic redirect for native URI enabled:"
267
  msgstr "ネイティブURIの自動リダイレクトを有効にする:"
268
 
269
+ #: includes/core/permalink-manager-admin-functions.php:893
270
  #, php-format
271
  msgid ""
272
  "<span><strong>Need more functionalities and dedicated support?</strong> Buy "
277
  "Proを購入して10%割引の<a href=\"https://permalinkmanager.pro/buy-permalink-manager-"
278
  "pro/\">PMLITEクーポンコード</a>を適用してください。</a></span>"
279
 
280
+ #: includes/core/permalink-manager-admin-functions.php:904
281
  msgid "Save permalink"
282
  msgstr "パーマリンクを保存する"
283
 
284
+ #: includes/core/permalink-manager-admin-functions.php:931
285
  msgid "Manage redirects"
286
  msgstr "リダイレクトを管理"
287
 
288
+ #: includes/core/permalink-manager-admin-functions.php:1049
289
  #, php-format
290
  msgid ""
291
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
292
  "Permalink Manager Pro</a>."
293
  msgstr "この機能は、Permalink Manager Proのみ利用可能です。"
294
 
295
+ #: includes/core/permalink-manager-pro-functions.php:126
 
296
  #, php-format
297
  msgid ""
298
  "Please paste the licence key to access all Permalink Manager Pro updates & "
301
  "<a href=\"%s\" target=\"_blank\">コチラのページ</a>にて、ライセンスキーを設定して全てのPermalink "
302
  "Manager Pro のアップデート&機能をご利用下さい。"
303
 
304
+ #: includes/core/permalink-manager-pro-functions.php:131
 
 
 
 
 
 
305
  msgid "Your Permalink Manager Pro licence key is invalid!"
306
  msgstr "あなたのライセンスキーは、無効です!"
307
 
308
+ #: includes/core/permalink-manager-pro-functions.php:136
309
  #, php-format
310
  msgid ""
311
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
315
  "あなたのライセンスキーは有効期限が切れました!プラグインのアップデートのアクセスやテクニカルサポートを受けたい場合は、<a href=\"%s\" "
316
  "target=\"_blank\">コチラのページ</a>にアクセスして、復元して下さい。"
317
 
318
+ #: includes/core/permalink-manager-pro-functions.php:141
319
  msgid "You own a lifetime licence key."
320
  msgstr "あなたは、永久ライセンスキーをお持ちです。"
321
 
322
+ #: includes/core/permalink-manager-pro-functions.php:146
323
  #, php-format
324
  msgid ""
325
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
328
  "あなたのライセンスキーは、%s まで有効です。<br />延長するには、<a href=\"%s\" target=\"_blank\">"
329
  "コチラのページ</a>にアクセスして詳細を確認して下さい。"
330
 
331
+ #: includes/core/permalink-manager-pro-functions.php:151
332
+ msgid ""
333
+ "Expiration date could not be downloaded at this moment. Please try again in "
334
+ "a few minutes."
335
+ msgstr "現在、有効期限の情報をダウンロードできない可能性があります。数分後に、再度お試し下さい。"
336
+
337
+ #: includes/core/permalink-manager-pro-functions.php:184
338
  msgid "Arabic"
339
  msgstr "アラビア語"
340
 
341
+ #: includes/core/permalink-manager-pro-functions.php:185
342
  msgid "Chinese"
343
  msgstr "中国語"
344
 
345
+ #: includes/core/permalink-manager-pro-functions.php:186
346
  msgid "Danish"
347
  msgstr "デンマーク語"
348
 
349
+ #: includes/core/permalink-manager-pro-functions.php:187
350
  msgid "Dutch"
351
  msgstr "オランダ語"
352
 
353
+ #: includes/core/permalink-manager-pro-functions.php:188
354
  msgid "English"
355
  msgstr "英語"
356
 
357
+ #: includes/core/permalink-manager-pro-functions.php:189
358
  msgid "Finnish"
359
  msgstr "フィンランド語"
360
 
361
+ #: includes/core/permalink-manager-pro-functions.php:190
362
  msgid "French"
363
  msgstr "フランス語"
364
 
365
+ #: includes/core/permalink-manager-pro-functions.php:191
366
  msgid "German"
367
  msgstr "ドイツ語"
368
 
369
+ #: includes/core/permalink-manager-pro-functions.php:192
370
  msgid "Hebrew"
371
  msgstr "ヘブライ語"
372
 
373
+ #: includes/core/permalink-manager-pro-functions.php:193
374
  msgid "Hindi"
375
  msgstr "ヒンディー語"
376
 
377
+ #: includes/core/permalink-manager-pro-functions.php:194
378
  msgid "Italian"
379
  msgstr "イタリア語"
380
 
381
+ #: includes/core/permalink-manager-pro-functions.php:195
382
  msgid "Japanese"
383
  msgstr "日本語"
384
 
385
+ #: includes/core/permalink-manager-pro-functions.php:196
386
  msgid "Korean"
387
  msgstr "韓国語"
388
 
389
+ #: includes/core/permalink-manager-pro-functions.php:197
390
  msgid "Norwegian"
391
  msgstr "ノルウェー語"
392
 
393
+ #: includes/core/permalink-manager-pro-functions.php:198
394
  msgid "Persian"
395
  msgstr "ペルシア語"
396
 
397
+ #: includes/core/permalink-manager-pro-functions.php:199
398
  msgid "Polish"
399
  msgstr "ポーランド語"
400
 
401
+ #: includes/core/permalink-manager-pro-functions.php:200
402
  msgid "Portuguese"
403
  msgstr "ポルトガル語"
404
 
405
+ #: includes/core/permalink-manager-pro-functions.php:201
406
  msgid "Russian"
407
  msgstr "ロシア語"
408
 
409
+ #: includes/core/permalink-manager-pro-functions.php:202
410
  msgid "Spanish"
411
  msgstr "スペイン語"
412
 
413
+ #: includes/core/permalink-manager-pro-functions.php:203
414
  msgid "Swedish"
415
  msgstr "スウェーデン語"
416
 
417
+ #: includes/core/permalink-manager-pro-functions.php:204
418
  msgid "Turkish"
419
  msgstr "トルコ語"
420
 
421
+ #: includes/core/permalink-manager-pro-functions.php:486
422
  msgid "Coupon Link"
423
  msgstr "クーポンリンク"
424
 
425
+ #: includes/core/permalink-manager-pro-functions.php:507
426
  msgid "Coupon URI"
427
  msgstr "クーポンURI"
428
 
429
+ #: includes/core/permalink-manager-pro-functions.php:508
430
  msgid ""
431
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
432
  "blackfriday</strong> are equivalent."
434
  "URIは、大文字・小文字は区別しません。例:<strong>BLACKFRIDAY</strong> と<strong>"
435
  "blackfriday</strong>は、同じです。"
436
 
437
+ #: includes/core/permalink-manager-pro-functions.php:519
438
  msgid "Coupon Full URL"
439
  msgstr "クーポン フル URL"
440
 
442
  msgid "The settings are saved!"
443
  msgstr "設定は、保存されました!"
444
 
445
+ #: includes/core/permalink-manager-actions.php:377
446
  #, php-format
447
  msgid "%d Custom URIs and %d Custom Redirects were removed!"
448
  msgstr "%d カスタムURIと、%d カスタム リダイレクトは削除されました。"
449
 
450
+ #: includes/core/permalink-manager-actions.php:379
451
  msgid "No Custom URIs or Custom Redirects were removed!"
452
  msgstr "カスタムURIもしくはカスタム リダイレクトは、削除されませんでした!"
453
 
454
+ #: includes/core/permalink-manager-actions.php:391
455
  msgid "You are not allowed to remove Permalink Manager data!"
456
  msgstr "Permalink Manager データを削除できません!"
457
 
458
+ #: includes/core/permalink-manager-actions.php:397
459
  msgid "Custom permalinks"
460
  msgstr "カスタム パーマリンク"
461
 
462
+ #: includes/core/permalink-manager-actions.php:401
463
  msgid "Custom redirects"
464
  msgstr "カスタム リダイレクト"
465
 
466
+ #: includes/core/permalink-manager-actions.php:405
467
  msgid "External redirects"
468
  msgstr "外部のリダイレクト"
469
 
470
+ #: includes/core/permalink-manager-actions.php:424
471
  #, php-format
472
  msgid "%s were removed!"
473
  msgstr "%s は削除されました!"
474
 
475
+ #: includes/core/permalink-manager-actions.php:565
476
  #, php-format
477
  msgid "URI \"%s\" was removed successfully!"
478
  msgstr "「%s」のURIは、無事削除されました!"
479
 
480
+ #: includes/core/permalink-manager-actions.php:573
481
  msgid "Broken redirects were removed successfully!"
482
  msgstr "リンク切れリダイレクトは、無事削除されました!"
483
 
484
+ #: includes/core/permalink-manager-actions.php:577
485
  msgid "URI and/or custom redirects does not exist or were already removed!"
486
  msgstr "URIもしくはカスタムリダイレクトは、実在しないか既に削除されています!"
487
 
488
+ #: includes/core/permalink-manager-actions.php:597
489
  msgid "The redirect was removed successfully!"
490
  msgstr "リダイレクトは、無事削除されました!"
491
 
492
+ #: includes/core/permalink-manager-actions.php:627
493
  msgid "URI is already in use, please select another one!"
494
  msgstr "URIは既に使用済みです。他をお選び下さい。"
495
 
496
+ #: includes/core/permalink-manager-actions.php:659
497
  msgid "Sitemaps were updated!"
498
  msgstr "サイトマップは、更新されました!"
499
 
517
  msgid "WooCommerce"
518
  msgstr "WooCommerce"
519
 
520
+ #: includes/views/permalink-manager-permastructs.php:75
521
+ #: includes/views/permalink-manager-pro-addons.php:190
522
+ #: includes/views/permalink-manager-pro-addons.php:223
523
  msgid "Instructions"
524
  msgstr "手順"
525
 
526
+ #: includes/views/permalink-manager-permastructs.php:76
527
  #, php-format
528
  msgid ""
529
  "The current permastructures settings will be applied <strong>only to the new "
535
  "既存の投稿とタームに新規のパーマ構造</strong>を適用するには、<a href=\"%s\">コチラ</a>"
536
  "にてカスタムパーマリンクを再生成して下さい。"
537
 
538
+ #: includes/views/permalink-manager-permastructs.php:78
539
  msgid "Permastructure tags"
540
  msgstr "パーマ構造 タグ"
541
 
542
+ #: includes/views/permalink-manager-permastructs.php:79
543
  #, php-format
544
  msgid ""
545
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
549
  "以下は、全て使用可能な<a href=\"%s\" target=\"_blank\">パーマ構造 タグ</a>"
550
  "です。いくつかのタグは、特定の投稿タイプやタクソノミーでのみ使用可能ですので、ご注意下さい。"
551
 
552
+ #: includes/views/permalink-manager-permastructs.php:82
553
  msgid "Save permastructures"
554
  msgstr "パーマ構造を保存する"
555
 
610
  msgid "Filter"
611
  msgstr "フィルター"
612
 
613
+ #: includes/views/permalink-manager-pro-addons.php:101
614
  msgid "Support"
615
  msgstr "サポート"
616
 
617
+ #: includes/views/permalink-manager-pro-addons.php:128
618
  msgid "Licence"
619
  msgstr "ライセンス"
620
 
621
+ #: includes/views/permalink-manager-pro-addons.php:134
622
  msgid "Licence key"
623
  msgstr "ライセンスキー"
624
 
625
+ #: includes/views/permalink-manager-pro-addons.php:135
626
  msgid "Check the expiration date."
627
  msgstr "有効期限を確認する"
628
 
629
+ #: includes/views/permalink-manager-pro-addons.php:159
630
  msgid "-- Use predefined words list --"
631
  msgstr "-- 定義済みの単語リストを使用する --"
632
 
633
+ #: includes/views/permalink-manager-pro-addons.php:162
634
  msgid "Remove all words"
635
  msgstr "全ての単語を削除する"
636
 
637
+ #: includes/views/permalink-manager-pro-addons.php:164
638
  msgid "Add the words from the list"
639
  msgstr "リストから単語を追加する"
640
 
641
+ #: includes/views/permalink-manager-pro-addons.php:172
642
  msgid "Enable \"stop words\""
643
  msgstr "「使用禁止の単語」を有効にする"
644
 
645
+ #: includes/views/permalink-manager-pro-addons.php:178
646
  msgid "\"Stop words\" list"
647
  msgstr "「使用禁止の単語」リスト"
648
 
649
+ #: includes/views/permalink-manager-pro-addons.php:182
650
  msgid "Type comma to separate the words."
651
  msgstr "単語の区切りにカンマを入力下さい。"
652
 
653
+ #: includes/views/permalink-manager-pro-addons.php:191
654
  msgid ""
655
  "If enabled, all selected \"stop words\" will be automatically removed from "
656
  "default URIs."
657
  msgstr "有効にすると、選択された全ての「使用禁止の単語」はデフォルトのURIから、自動的に削除されます。"
658
 
659
+ #: includes/views/permalink-manager-pro-addons.php:192
660
  msgid ""
661
  "Each of the words can be removed and any new words can be added to the list. "
662
  "You can also use a predefined list (available in 21 languages)."
663
  msgstr "各単語は、リストへ追加/削除できます。また、定義済みのリスト(21の言語)も使用可能です。"
664
 
665
+ #: includes/views/permalink-manager-pro-addons.php:194
666
  msgid "Save"
667
  msgstr "保存する"
668
 
669
+ #: includes/views/permalink-manager-pro-addons.php:214
670
  #: includes/views/permalink-manager-tools.php:34
671
  msgid "Custom Permalinks"
672
  msgstr "カスタム パーマリンク"
673
 
674
+ #: includes/views/permalink-manager-pro-addons.php:215
675
  msgid "Deactivate after import"
676
  msgstr "インポート後、非アクティブにする"
677
 
678
+ #: includes/views/permalink-manager-pro-addons.php:218
679
  msgid ""
680
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
681
  "custom URIs are imported."
682
  msgstr "選択すると、カスタムURIのインポート後、「カスタムパーマリンク」プラグインが無効になります。"
683
 
684
+ #: includes/views/permalink-manager-pro-addons.php:224
685
  msgid ""
686
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
687
  "of this plugin."
688
  msgstr "「カスタム パーマリンク」(有効にしている場合)により、本プラグインの動作が損なわれる場合があります。"
689
 
690
+ #: includes/views/permalink-manager-pro-addons.php:225
691
  msgid ""
692
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
693
  "permalinks before using Permalink Manager Pro."
694
  msgstr ""
695
  "したがって、「カスタム パーマリンク」を無効にして、Permalink Manager Proを使用する前の古いパーマリンクのインポートを推奨します。"
696
 
697
+ #: includes/views/permalink-manager-pro-addons.php:230
698
  #, php-format
699
  msgid "Import %d URIs"
700
  msgstr "%d URIをインポートする"
701
 
702
+ #: includes/views/permalink-manager-pro-addons.php:235
703
  msgid "No custom URIs to import"
704
  msgstr "インポートするカスタムURIはありません"
705
 
706
+ #: includes/views/permalink-manager-pro-addons.php:248
707
  msgid "Technical support"
708
  msgstr "技術的サポート"
709
 
710
+ #: includes/views/permalink-manager-pro-addons.php:249
711
  #, php-format
712
  msgid ""
713
  "To find the answers on frequently asked questions and information about how "
717
  "よくある質問と一般的な問題に対する対処方法についての情報は、 <a target=\"_blank\" href=\"%s\">コチラ</a>"
718
  "の<strong>Knowledge Base</strong> をご利用下さい。(英語のみ)"
719
 
720
+ #: includes/views/permalink-manager-pro-addons.php:250
721
  msgid ""
722
  "If you still did not find the answer to your question, please send us your "
723
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
726
  "ご質問に対して答えが見つからない場合は、問題の詳細又はご質問を<a href=\"mailto:support@permalinkmanager."
727
  "pro\">support@permalinkmanager.pro</a>までお送り下さい。(英語のみ)"
728
 
729
+ #: includes/views/permalink-manager-pro-addons.php:251
730
  msgid ""
731
  "To reduce the response time, please attach your licence key and if possible "
732
  "also: URL address of your website and screenshots explaining the issue."
733
  msgstr ""
734
  "ご返答までの時間を短縮するため、ライセンスキーを添付し、可能であればWebサイトのURLと問題箇所のスクリーンショットもお送り下さい。(英語のみ)"
735
 
736
+ #: includes/views/permalink-manager-pro-addons.php:253
737
  msgid "Suggestions/feedback"
738
  msgstr "ご意見 / フィードバック"
739
 
740
+ #: includes/views/permalink-manager-pro-addons.php:254
741
  msgid ""
742
  "If you would like to suggest a new functionality or leave us feedback, we "
743
  "are open to all new ideas and would be grateful for all your comments!"
744
  msgstr "新たな機能の提案やフィードバックをお送り下さい。あらゆる新しいアイデアは大歓迎であり、あなたのコメントをお送り頂ければ幸いです。"
745
 
746
+ #: includes/views/permalink-manager-pro-addons.php:255
747
  msgid ""
748
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
749
  "contact@permalinkmanager.pro</a>."
751
  "<a href=\"mailto:contact@permalinkmanager.pro\">contact@permalinkmanager."
752
  "pro</a>まで、ご意見をお送り下さい。"
753
 
754
+ #: includes/views/permalink-manager-pro-addons.php:270
755
  msgid "Extra redirects (aliases)"
756
  msgstr "追加のリダイレクト(エイリアス)"
757
 
758
+ #: includes/views/permalink-manager-pro-addons.php:271
759
  msgid ""
760
  "All URIs specified below will redirect the visitors to the custom URI "
761
  "defined above in \"Current URI\" field."
762
  msgstr "以下で指定された全てのURIは、訪問者を上記の「現在のURI」フィールドで定義されたカスタムURIにリダイレクトします。"
763
 
764
+ #: includes/views/permalink-manager-pro-addons.php:277
765
  msgid "sample/custom-uri"
766
  msgstr "sample/custom-uri"
767
 
768
+ #: includes/views/permalink-manager-pro-addons.php:294
769
  msgid "Add new redirect"
770
  msgstr "新しいリダイレクトを追加する"
771
 
772
+ #: includes/views/permalink-manager-pro-addons.php:299
773
  #, php-format
774
  msgid ""
775
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
778
  "<strong>URIのみご利用下さい!</strong><br />例えば、<code>%s/old-uri</code> "
779
  "のリダイレクトを設定する場合は、<code>old-uri</code> をお使い下さい。"
780
 
781
+ #: includes/views/permalink-manager-pro-addons.php:308
782
  msgid "Redirect this page to external URL"
783
  msgstr "このページを外部URLにリダイレクトする"
784
 
785
+ #: includes/views/permalink-manager-pro-addons.php:309
786
  msgid ""
787
  "If not empty, the visitors trying to access this page will be redirected to "
788
  "the URL specified below."
789
  msgstr "空白でない場合、このページにアクセスしようと試みた訪問者は、下記のURLにリダイレクトされます。"
790
 
791
+ #: includes/views/permalink-manager-pro-addons.php:313
792
  msgid "http://another-website.com/final-target-url"
793
  msgstr "http://another-website.com/final-target-url"
794
 
795
+ #: includes/views/permalink-manager-pro-addons.php:317
796
  msgid ""
797
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
798
  "//another-website.com/final-target-url</code>."
940
  "この機能は、(古い)オリジナルのパーマリンクをPermalink Managerで設定された(新しい)カスタム "
941
  "パーマリンクにリダイレクトするために使用されます。"
942
 
943
+ #: includes/views/permalink-manager-settings.php:87
944
  msgid "Old slug redirect"
945
  msgstr "古いスラッグ リダイレクト"
946
 
947
+ #: includes/views/permalink-manager-settings.php:90
948
  msgid ""
949
  "<strong>Old slug redirect is used by WordPress to provide a fallback for old "
950
  "version of slugs after they are changed.</strong>"
952
  "<strong>古いスラッグ "
953
  "リダイレクトは、WordPressが古いバージョンのスラッグを変更した後の代替を提供するために使用されます。</strong>"
954
 
955
+ #: includes/views/permalink-manager-settings.php:91
956
  msgid ""
957
  "If enabled, the visitors trying to access the URL with the old slug will be "
958
  "redirected to the canonical permalink."
959
  msgstr "有効にすると、古いスラッグでURLにアクセスした訪問者を、正規パーマリンクにリダイレクトします。"
960
 
961
+ #: includes/views/permalink-manager-settings.php:97
962
  msgid "Enhanced redirect"
963
  msgstr "拡張 リダイレクト"
964
 
965
+ #: includes/views/permalink-manager-settings.php:103
966
  msgid "Redirect mode"
967
  msgstr "リダイレクト モード"
968
 
969
+ #: includes/views/permalink-manager-settings.php:105
970
  msgid "Disable (Permalink Manager redirect functions)"
971
  msgstr "無効(Permalink Manager リダイレクト 機能)"
972
 
973
+ #: includes/views/permalink-manager-settings.php:105
974
  msgid "301 redirect"
975
  msgstr "301 リダイレクト"
976
 
977
+ #: includes/views/permalink-manager-settings.php:105
978
  msgid "302 redirect"
979
  msgstr "302 リダイレクト"
980
 
981
+ #: includes/views/permalink-manager-settings.php:107
982
  msgid ""
983
  "<strong>Permalink Manager includes a set of hooks that allow to extend the "
984
  "redirect functions used natively by WordPress to avoid 404 errors.</strong>"
986
  "<strong>Permalink "
987
  "Managerには、404エラー回避のためにWordPressが従来使用するリダイレクト機能を拡張できる一連のフックが含まれています。</strong>"
988
 
989
+ #: includes/views/permalink-manager-settings.php:108
990
  msgid ""
991
  "You can disable this feature if you do not want Permalink Manager to trigger "
992
  "any additional redirect functions at all."
993
  msgstr "Permalink Managerに、追加のリダイレクト機能を一切トリガーさせないようにする場合は、この機能を無効にします。"
994
 
995
+ #: includes/views/permalink-manager-settings.php:113
996
  msgid "Old custom permalinks redirect"
997
  msgstr "古いカスタム パーマリンク リダイレクト"
998
 
999
+ #: includes/views/permalink-manager-settings.php:118
1000
  msgid ""
1001
  "<strong>Permalink Manager can automatically set-up extra redirects after the "
1002
  "custom permalink is changed.</strong>"
1003
  msgstr ""
1004
  "<strong>Permalink Managerは、カスタム パーマリンクの変更後、自動的に追加のリダイレクトを設定できます。</strong>"
1005
 
1006
+ #: includes/views/permalink-manager-settings.php:119
1007
  msgid ""
1008
  "If enabled, Permalink Manage will add redirect for earlier version of custom "
1009
  "permalink after you change it (eg. with URI Editor or Regenerate/reset tool)."
1011
  "有効にすると、Permalink Managerは、変更後(例:URIエディターまたは再生成・リセットツールを使用)に、以前のバージョンのカスタム "
1012
  "パーマリンクのリダイレクトを追加します。"
1013
 
1014
+ #: includes/views/permalink-manager-settings.php:120
1015
  msgid ""
1016
  "You can disable this feature if you use another plugin for redirects, eg. "
1017
  "Yoast SEO Premium or Redirection."
1018
  msgstr "Yoast SEO プレミアムやその他のリダイレクトプラグインを使用している場合は、この機能を無効にできます。"
1019
 
1020
+ #: includes/views/permalink-manager-settings.php:125
1021
  msgid "Force HTTPS/WWW"
1022
  msgstr "HTTPS/WWW 強制"
1023
 
1024
+ #: includes/views/permalink-manager-settings.php:128
1025
  msgid ""
1026
  "<strong>You can use Permalink Manager to force SSL or \"www\" prefix in "
1027
  "WordPress permalinks.</strong>"
1029
  "<strong>Permalink "
1030
  "Managerを使って、WordPressのパーマリンク内にSSLもしくはwwwの接頭辞を強制的に付与できます。</strong>"
1031
 
1032
+ #: includes/views/permalink-manager-settings.php:129
1033
  msgid "Please disable it if you encounter any redirect loop issues."
1034
  msgstr "リダイレクトのループ問題が発生した場合は、このオプションを無効にして下さい。"
1035
 
1036
+ #: includes/views/permalink-manager-settings.php:134
1037
  msgid "Trailing slashes redirect"
1038
  msgstr "末尾のスラッシュリダイレクト"
1039
 
1040
+ #: includes/views/permalink-manager-settings.php:137
1041
  msgid ""
1042
  "<strong>Permalink Manager can force the trailing slashes settings in the "
1043
  "custom permalinks with redirect.</strong>"
1044
  msgstr ""
1045
  "<strong>Permalink Managerは、リダイレクトのあるカスタム パーマリンクの末尾のスラッシュ設定を強制できます。</strong>"
1046
 
1047
+ #: includes/views/permalink-manager-settings.php:143
1048
  msgid "Third party plugins"
1049
  msgstr "サードパーティー プラグイン"
1050
 
1051
+ #: includes/views/permalink-manager-settings.php:149
1052
  msgid "WPML/Polylang language mismatch"
1053
  msgstr "WPML / Polylang 言語 不一致"
1054
 
1055
+ #: includes/views/permalink-manager-settings.php:152
1056
  msgid ""
1057
  "If enabled, the plugin will load the adjacent translation of post when the "
1058
  "custom permalink is detected, but the language code in the URL does not "
1060
  msgstr ""
1061
  "有効にすると、本プラグインはカスタムパーマリンクを検出した際、投稿に用いた言語に近い翻訳を読み込みますが、投稿やタームに割当られた言語コードとURL内言語コードと一致しない場合は読み込みません。"
1062
 
1063
+ #: includes/views/permalink-manager-settings.php:156
1064
  msgid "WP All Import support"
1065
  msgstr "WP All Import サポート"
1066
 
1067
+ #: includes/views/permalink-manager-settings.php:159
1068
  msgid ""
1069
+ "If enabled, the custom permalinks will not be saved for the posts imported "
1070
+ "with WP All Import plugin."
1071
+ msgstr ""
1072
+
1073
+ #: includes/views/permalink-manager-settings.php:163
1074
+ msgid "Ultimate Member support"
1075
+ msgstr ""
1076
 
1077
+ #: includes/views/permalink-manager-settings.php:166
1078
+ msgid ""
1079
+ "If enabled, Permalink Manager will detect the additional Ultimate Member "
1080
+ "pages (eg. \"account\" sections)."
1081
+ msgstr ""
1082
+
1083
+ #: includes/views/permalink-manager-settings.php:170
1084
  msgid "Breadcrumbs support"
1085
  msgstr "パンくずリスト サポート"
1086
 
1087
+ #: includes/views/permalink-manager-settings.php:172
1088
  msgid ""
1089
+ "If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to "
1090
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
1091
  "SEO, RankMath and SEOPress</strong> breadcrumbs."
1092
  msgstr ""
 
 
1093
 
1094
+ #: includes/views/permalink-manager-settings.php:176
1095
  msgid "Excluded content types"
1096
  msgstr "除外する投稿タイプ"
1097
 
1098
+ #: includes/views/permalink-manager-settings.php:178
1099
  msgid ""
1100
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1101
  "selected above post types & taxonomies."
1102
  msgstr "Permalink Managerは、上記で選択した全ての投稿タイプとタクソノミーのカスタム パーマリンクを無視し、フィルタリングしません。"
1103
 
1104
+ #: includes/views/permalink-manager-settings.php:183
1105
  msgid "Advanced settings"
1106
  msgstr "詳細設定"
1107
 
1108
+ #: includes/views/permalink-manager-settings.php:189
1109
  msgid "Show \"Native slug\" field"
1110
  msgstr "「ネイティブ スラッグ」フィールドを表示する"
1111
 
1112
+ #: includes/views/permalink-manager-settings.php:191
1113
  msgid ""
1114
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1115
  "single post/term edit page."
1116
  msgstr "有効にすると、それぞれの投稿やタームの編集ページ上で、URIエディター経由にてネイティブ スラッグを編集できます。"
1117
 
1118
+ #: includes/views/permalink-manager-settings.php:195
1119
  msgid "Force 404 on non-existing pagination pages"
1120
  msgstr "実在しないページネーションのページに404を強制表示する"
1121
 
1122
+ #: includes/views/permalink-manager-settings.php:197
1123
  msgid ""
1124
  "If enabled, the non-existing pagination pages (for single posts) will return "
1125
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1129
  "<strong>ページネーションのページ、もしくは独自のページネーション "
1130
  "システムをご利用で、なんらかの問題が生じた場合は、無効にしてください。</strong>"
1131
 
1132
+ #: includes/views/permalink-manager-settings.php:201
1133
  msgid "Strip special characters"
1134
  msgstr "特殊文字を取り除く"
1135
 
1136
+ #: includes/views/permalink-manager-settings.php:203
1137
+ #: includes/views/permalink-manager-settings.php:210
1138
  msgid "Yes, use native settings"
1139
  msgstr "はい、ネイティブ 設定を使います。"
1140
 
1141
+ #: includes/views/permalink-manager-settings.php:203
1142
  msgid "No, keep special characters (.,|_+) in the slugs"
1143
  msgstr "いいえ、スラッグに特殊文字(.,|_+)を保持します。"
1144
 
1145
+ #: includes/views/permalink-manager-settings.php:204
1146
  msgid ""
1147
  "If enabled only alphanumeric characters, underscores and dashes will be "
1148
  "allowed for post/term slugs."
1149
  msgstr "英数字のみを有効にすると、投稿とターム スラッグにて下線とダッシュの使用が許可されます。"
1150
 
1151
+ #: includes/views/permalink-manager-settings.php:208
1152
  msgid "Convert accented letters"
1153
  msgstr "アクセント付き文字の変換"
1154
 
1155
+ #: includes/views/permalink-manager-settings.php:210
1156
  msgid "No, keep accented letters in the slugs"
1157
  msgstr "いいえ、スラッグにアクセント付き文字を保持します。"
1158
 
1159
+ #: includes/views/permalink-manager-settings.php:211
1160
  msgid ""
1161
  "If enabled, all the accented letters will be replaced with their non-"
1162
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1163
  msgstr ""
1164
  "有効にすると、全てのアクセント付きの文字が、アクセントなしの文字に置換されます。(例:Å => A, Æ => AE, Ø => O, Ć => C)"
1165
 
1166
+ #: includes/views/permalink-manager-settings.php:215
1167
  msgid "URI Editor role capability"
1168
  msgstr "URIエディター 種類と権限"
1169
 
1170
+ #: includes/views/permalink-manager-settings.php:216
1171
  msgid "Administrator (edit_theme_options)"
1172
  msgstr "管理者 (edit_theme_options)"
1173
 
1174
+ #: includes/views/permalink-manager-settings.php:216
1175
  msgid "Editor (publish_pages)"
1176
  msgstr "編集者 (publish_pages)"
1177
 
1178
+ #: includes/views/permalink-manager-settings.php:216
1179
  msgid "Author (publish_posts)"
1180
  msgstr "投稿者 (publish_posts)"
1181
 
1182
+ #: includes/views/permalink-manager-settings.php:216
1183
  msgid "Contributor (edit_posts)"
1184
  msgstr "寄稿者 (edit_posts)"
1185
 
1186
+ #: includes/views/permalink-manager-settings.php:217
1187
  #, php-format
1188
  msgid ""
1189
  "Only the users who have selected capability will be able to access URI "
1193
  "権限を持つユーザーのみがURIエディターにアクセスできます。<br />権限のリストは<a href=\"%s\" target=\"_blank\">"
1194
  "コチラ</a>で確認できます。"
1195
 
1196
+ #: includes/views/permalink-manager-settings.php:221
1197
  msgid "Automatically fix broken URIs"
1198
  msgstr "壊れたURIを自動的に修正する"
1199
 
1200
+ #: includes/views/permalink-manager-settings.php:223
1201
  msgid "Disable"
1202
  msgstr "無効"
1203
 
1204
+ #: includes/views/permalink-manager-settings.php:223
1205
  msgid "Fix URIs individually (during page load)"
1206
  msgstr "個々にURLを修正する(ページ読込時)"
1207
 
1208
+ #: includes/views/permalink-manager-settings.php:223
1209
  msgid "Bulk fix all URIs (once a day, in the background)"
1210
  msgstr "全てのURIを一括修正する(1日1回、バックグラウンド)"
1211
 
1212
+ #: includes/views/permalink-manager-settings.php:225
1213
  msgid ""
1214
  "Enable this option if you would like to automatically remove redundant "
1215
  "permalinks & duplicated redirects."
1216
  msgstr "冗長なパーマリンクと重複したリダイレクトを自動的に削除したい場合は、このオプションを有効にします。"
1217
 
1218
+ #: includes/views/permalink-manager-settings.php:232
1219
  msgid "Save settings"
1220
  msgstr "設定を保存する"
1221
 
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: 2020-04-24 12:22+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"
@@ -14,7 +14,7 @@ msgstr ""
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/"
16
 
17
- #: permalink-manager.php:206
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
@@ -23,84 +23,83 @@ msgid ""
23
  "and save %s using \"%s\" coupon code!</strong> Valid until %s!"
24
  msgstr ""
25
 
26
- #: includes/core/permalink-manager-third-parties.php:231
27
  msgid "\"Custom Permalinks\" URIs were imported!"
28
  msgstr ""
29
 
30
- #: includes/core/permalink-manager-third-parties.php:234
31
  msgid "No \"Custom Permalinks\" URIs were imported!"
32
  msgstr ""
33
 
34
- #. Name of the plugin
35
- #: includes/core/permalink-manager-third-parties.php:513
36
- #: includes/core/permalink-manager-gutenberg.php:14
37
- #: includes/core/permalink-manager-admin-functions.php:110
38
- #: includes/core/permalink-manager-admin-functions.php:110
39
- #: includes/core/permalink-manager-admin-functions.php:715
40
- #: includes/core/permalink-manager-admin-functions.php:796
41
- #: includes/core/permalink-manager-admin-functions.php:801
42
- #: includes/core/permalink-manager-admin-functions.php:802
43
  msgid "Permalink Manager"
44
  msgstr ""
45
 
46
- #: includes/core/permalink-manager-third-parties.php:517
47
- #: includes/core/permalink-manager-uri-functions-tax.php:476
48
  #: includes/views/permalink-manager-tools.php:70
49
  msgid "Custom URI"
50
  msgstr ""
51
 
52
- #: includes/core/permalink-manager-third-parties.php:518
53
  #, php-format
54
  msgid ""
55
  "If empty, a default permalink based on your current <a href=\"%s\" "
56
  "target=\"_blank\">permastructure settings</a> will be used."
57
  msgstr ""
58
 
59
- #: includes/core/permalink-manager-uri-functions-tax.php:477
60
  msgid "Clear/leave the field empty to use the default permalink."
61
  msgstr ""
62
 
63
- #: includes/core/permalink-manager-uri-functions-tax.php:509
64
- #: includes/core/permalink-manager-admin-functions.php:719
65
- #: includes/core/permalink-manager-admin-functions.php:819
66
- #: includes/core/permalink-manager-uri-functions-post.php:665
67
  msgid "Current URI"
68
  msgstr ""
69
 
70
- #: includes/core/permalink-manager-admin-functions.php:134
71
  msgid "Are you sure? This action cannot be undone!"
72
  msgstr ""
73
 
74
- #: includes/core/permalink-manager-admin-functions.php:155
75
  msgid "URI Editor"
76
  msgstr ""
77
 
78
- #: includes/core/permalink-manager-admin-functions.php:156
79
  #: includes/views/permalink-manager-settings.php:14
80
  msgid "Settings"
81
  msgstr ""
82
 
83
- #: includes/core/permalink-manager-admin-functions.php:168
84
  msgid "Documentation"
85
  msgstr ""
86
 
87
- #: includes/core/permalink-manager-admin-functions.php:172
88
  msgid "Buy Permalink Manager Pro"
89
  msgstr ""
90
 
91
- #: includes/core/permalink-manager-admin-functions.php:259
92
  msgid "Select all"
93
  msgstr ""
94
 
95
- #: includes/core/permalink-manager-admin-functions.php:260
96
  msgid "Unselect all"
97
  msgstr ""
98
 
99
- #: includes/core/permalink-manager-admin-functions.php:375
100
  msgid "Permastructure translations"
101
  msgstr ""
102
 
103
- #: includes/core/permalink-manager-admin-functions.php:376
104
  msgid ""
105
  "If you would like to translate the permastructures and set-up different "
106
  "permalink structure per language, please fill in the fields below. Otherwise "
@@ -108,157 +107,157 @@ msgid ""
108
  "applied."
109
  msgstr ""
110
 
111
- #: includes/core/permalink-manager-admin-functions.php:393
112
  msgid "Default permastructure"
113
  msgstr ""
114
 
115
- #: includes/core/permalink-manager-admin-functions.php:394
116
  msgid "Restore default permastructure"
117
  msgstr ""
118
 
119
- #: includes/core/permalink-manager-admin-functions.php:400
120
- #: includes/core/permalink-manager-actions.php:399
121
- #: includes/core/permalink-manager-actions.php:403
122
  msgid "Permastructure settings"
123
  msgstr ""
124
 
125
- #: includes/core/permalink-manager-admin-functions.php:401
126
  msgid "Do not automatically append the slug"
127
  msgstr ""
128
 
129
- #: includes/core/permalink-manager-admin-functions.php:409
130
  msgid "Show additional settings"
131
  msgstr ""
132
 
133
- #: includes/core/permalink-manager-admin-functions.php:555
134
  msgid "Donate"
135
  msgstr ""
136
 
137
- #: includes/core/permalink-manager-admin-functions.php:556
138
  msgid "by Maciej Bis"
139
  msgstr ""
140
 
141
- #: includes/core/permalink-manager-admin-functions.php:568
142
  msgid "Upgrade to PRO"
143
  msgstr ""
144
 
145
- #: includes/core/permalink-manager-admin-functions.php:635
146
- #: includes/core/permalink-manager-admin-functions.php:662
147
  msgid "Title"
148
  msgstr ""
149
 
150
- #: includes/core/permalink-manager-admin-functions.php:637
151
- #: includes/core/permalink-manager-admin-functions.php:664
152
  msgid "Old Slug"
153
  msgstr ""
154
 
155
- #: includes/core/permalink-manager-admin-functions.php:638
156
- #: includes/core/permalink-manager-admin-functions.php:665
157
  msgid "New Slug"
158
  msgstr ""
159
 
160
- #: includes/core/permalink-manager-admin-functions.php:640
161
- #: includes/core/permalink-manager-admin-functions.php:667
162
  msgid "Old URI"
163
  msgstr ""
164
 
165
- #: includes/core/permalink-manager-admin-functions.php:641
166
- #: includes/core/permalink-manager-admin-functions.php:668
167
  msgid "New URI"
168
  msgstr ""
169
 
170
- #: includes/core/permalink-manager-admin-functions.php:662
171
  msgid "Show more details"
172
  msgstr ""
173
 
174
- #: includes/core/permalink-manager-admin-functions.php:675
175
  msgid "List of updated items"
176
  msgstr ""
177
 
178
- #: includes/core/permalink-manager-admin-functions.php:688
179
  #, php-format
180
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
181
  msgid_plural "<strong class=\"updated_count\">%d</strong> slugs were updated!"
182
  msgstr[0] ""
183
  msgstr[1] ""
184
 
185
- #: includes/core/permalink-manager-admin-functions.php:689
186
  #, php-format
187
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
188
  msgstr ""
189
 
190
- #: includes/core/permalink-manager-admin-functions.php:693
191
  #: includes/core/permalink-manager-actions.php:115
192
  msgid "<strong>No slugs</strong> were updated!"
193
  msgstr ""
194
 
195
- #: includes/core/permalink-manager-admin-functions.php:782
196
- #: includes/core/permalink-manager-admin-functions.php:785
197
  msgid "Yes"
198
  msgstr ""
199
 
200
- #: includes/core/permalink-manager-admin-functions.php:782
201
- #: includes/core/permalink-manager-admin-functions.php:786
202
  msgid "No"
203
  msgstr ""
204
 
205
- #: includes/core/permalink-manager-admin-functions.php:784
206
  #, php-format
207
  msgid "Use global settings [%s]"
208
  msgstr ""
209
 
210
- #: includes/core/permalink-manager-admin-functions.php:787
211
  msgid "No (ignore this URI in bulk tools)"
212
  msgstr ""
213
 
214
- #: includes/core/permalink-manager-admin-functions.php:801
215
  msgid "Close: "
216
  msgstr ""
217
 
218
- #: includes/core/permalink-manager-admin-functions.php:813
219
  msgid "The custom URI cannot be edited on frontpage."
220
  msgstr ""
221
 
222
- #: includes/core/permalink-manager-admin-functions.php:820
223
  msgid ""
224
  "If custom URI is not defined, a default URI will be set (see below). The "
225
  "custom URI can be edited only if 'Auto-update the URI' feature is not "
226
  "enabled."
227
  msgstr ""
228
 
229
- #: includes/core/permalink-manager-admin-functions.php:829
230
  msgid "Native slug"
231
  msgstr ""
232
 
233
- #: includes/core/permalink-manager-admin-functions.php:830
234
  msgid ""
235
  "The native slug is by default automatically used in native permalinks (when "
236
  "Permalink Manager is disabled)."
237
  msgstr ""
238
 
239
- #: includes/core/permalink-manager-admin-functions.php:840
240
  msgid "Auto-update the URI"
241
  msgstr ""
242
 
243
- #: includes/core/permalink-manager-admin-functions.php:841
244
  msgid ""
245
  "If enabled, the 'Current URI' field will be automatically changed to "
246
  "'Default URI' (displayed below) after the post is saved or updated."
247
  msgstr ""
248
 
249
- #: includes/core/permalink-manager-admin-functions.php:849
250
  msgid "Default URI"
251
  msgstr ""
252
 
253
- #: includes/core/permalink-manager-admin-functions.php:850
254
  msgid "Restore Default URI"
255
  msgstr ""
256
 
257
- #: includes/core/permalink-manager-admin-functions.php:860
258
  msgid "Automatic redirect for native URI enabled:"
259
  msgstr ""
260
 
261
- #: includes/core/permalink-manager-admin-functions.php:871
262
  #, php-format
263
  msgid ""
264
  "<span><strong>Need more functionalities and dedicated support?</strong> Buy "
@@ -266,40 +265,33 @@ msgid ""
266
  "permalink-manager-pro/\">PMLITE coupon code</a> to get 10% off.</a></span>"
267
  msgstr ""
268
 
269
- #: includes/core/permalink-manager-admin-functions.php:882
270
  msgid "Save permalink"
271
  msgstr ""
272
 
273
- #: includes/core/permalink-manager-admin-functions.php:909
274
  msgid "Manage redirects"
275
  msgstr ""
276
 
277
- #: includes/core/permalink-manager-admin-functions.php:1027
278
  #, php-format
279
  msgid ""
280
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
281
  "Permalink Manager Pro</a>."
282
  msgstr ""
283
 
284
- #: includes/core/permalink-manager-pro-functions.php:127
285
- #: includes/core/permalink-manager-pro-functions.php:153
286
  #, php-format
287
  msgid ""
288
  "Please paste the licence key to access all Permalink Manager Pro updates & "
289
  "features <a href=\"%s\" target=\"_blank\">on this page</a>."
290
  msgstr ""
291
 
292
- #: includes/core/permalink-manager-pro-functions.php:132
293
- msgid ""
294
- "Expiration date could not be downloaded at this moment. Please try again in "
295
- "a few minutes."
296
- msgstr ""
297
-
298
- #: includes/core/permalink-manager-pro-functions.php:137
299
  msgid "Your Permalink Manager Pro licence key is invalid!"
300
  msgstr ""
301
 
302
- #: includes/core/permalink-manager-pro-functions.php:142
303
  #, php-format
304
  msgid ""
305
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
@@ -307,116 +299,122 @@ msgid ""
307
  "this page</a>."
308
  msgstr ""
309
 
310
- #: includes/core/permalink-manager-pro-functions.php:147
311
  msgid "You own a lifetime licence key."
312
  msgstr ""
313
 
314
- #: includes/core/permalink-manager-pro-functions.php:150
315
  #, php-format
316
  msgid ""
317
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
318
  "href=\"%s\" target=\"_blank\">this page</a> for more information."
319
  msgstr ""
320
 
321
- #: includes/core/permalink-manager-pro-functions.php:186
 
 
 
 
 
 
322
  msgid "Arabic"
323
  msgstr ""
324
 
325
- #: includes/core/permalink-manager-pro-functions.php:187
326
  msgid "Chinese"
327
  msgstr ""
328
 
329
- #: includes/core/permalink-manager-pro-functions.php:188
330
  msgid "Danish"
331
  msgstr ""
332
 
333
- #: includes/core/permalink-manager-pro-functions.php:189
334
  msgid "Dutch"
335
  msgstr ""
336
 
337
- #: includes/core/permalink-manager-pro-functions.php:190
338
  msgid "English"
339
  msgstr ""
340
 
341
- #: includes/core/permalink-manager-pro-functions.php:191
342
  msgid "Finnish"
343
  msgstr ""
344
 
345
- #: includes/core/permalink-manager-pro-functions.php:192
346
  msgid "French"
347
  msgstr ""
348
 
349
- #: includes/core/permalink-manager-pro-functions.php:193
350
  msgid "German"
351
  msgstr ""
352
 
353
- #: includes/core/permalink-manager-pro-functions.php:194
354
  msgid "Hebrew"
355
  msgstr ""
356
 
357
- #: includes/core/permalink-manager-pro-functions.php:195
358
  msgid "Hindi"
359
  msgstr ""
360
 
361
- #: includes/core/permalink-manager-pro-functions.php:196
362
  msgid "Italian"
363
  msgstr ""
364
 
365
- #: includes/core/permalink-manager-pro-functions.php:197
366
  msgid "Japanese"
367
  msgstr ""
368
 
369
- #: includes/core/permalink-manager-pro-functions.php:198
370
  msgid "Korean"
371
  msgstr ""
372
 
373
- #: includes/core/permalink-manager-pro-functions.php:199
374
  msgid "Norwegian"
375
  msgstr ""
376
 
377
- #: includes/core/permalink-manager-pro-functions.php:200
378
  msgid "Persian"
379
  msgstr ""
380
 
381
- #: includes/core/permalink-manager-pro-functions.php:201
382
  msgid "Polish"
383
  msgstr ""
384
 
385
- #: includes/core/permalink-manager-pro-functions.php:202
386
  msgid "Portuguese"
387
  msgstr ""
388
 
389
- #: includes/core/permalink-manager-pro-functions.php:203
390
  msgid "Russian"
391
  msgstr ""
392
 
393
- #: includes/core/permalink-manager-pro-functions.php:204
394
  msgid "Spanish"
395
  msgstr ""
396
 
397
- #: includes/core/permalink-manager-pro-functions.php:205
398
  msgid "Swedish"
399
  msgstr ""
400
 
401
- #: includes/core/permalink-manager-pro-functions.php:206
402
  msgid "Turkish"
403
  msgstr ""
404
 
405
- #: includes/core/permalink-manager-pro-functions.php:488
406
  msgid "Coupon Link"
407
  msgstr ""
408
 
409
- #: includes/core/permalink-manager-pro-functions.php:509
410
  msgid "Coupon URI"
411
  msgstr ""
412
 
413
- #: includes/core/permalink-manager-pro-functions.php:510
414
  msgid ""
415
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
416
  "blackfriday</strong> are equivalent."
417
  msgstr ""
418
 
419
- #: includes/core/permalink-manager-pro-functions.php:521
420
  msgid "Coupon Full URL"
421
  msgstr ""
422
 
@@ -424,58 +422,58 @@ msgstr ""
424
  msgid "The settings are saved!"
425
  msgstr ""
426
 
427
- #: includes/core/permalink-manager-actions.php:367
428
  #, php-format
429
  msgid "%d Custom URIs and %d Custom Redirects were removed!"
430
  msgstr ""
431
 
432
- #: includes/core/permalink-manager-actions.php:369
433
  msgid "No Custom URIs or Custom Redirects were removed!"
434
  msgstr ""
435
 
436
- #: includes/core/permalink-manager-actions.php:381
437
  msgid "You are not allowed to remove Permalink Manager data!"
438
  msgstr ""
439
 
440
- #: includes/core/permalink-manager-actions.php:387
441
  msgid "Custom permalinks"
442
  msgstr ""
443
 
444
- #: includes/core/permalink-manager-actions.php:391
445
  msgid "Custom redirects"
446
  msgstr ""
447
 
448
- #: includes/core/permalink-manager-actions.php:395
449
  msgid "External redirects"
450
  msgstr ""
451
 
452
- #: includes/core/permalink-manager-actions.php:414
453
  #, php-format
454
  msgid "%s were removed!"
455
  msgstr ""
456
 
457
- #: includes/core/permalink-manager-actions.php:555
458
  #, php-format
459
  msgid "URI \"%s\" was removed successfully!"
460
  msgstr ""
461
 
462
- #: includes/core/permalink-manager-actions.php:563
463
  msgid "Broken redirects were removed successfully!"
464
  msgstr ""
465
 
466
- #: includes/core/permalink-manager-actions.php:567
467
  msgid "URI and/or custom redirects does not exist or were already removed!"
468
  msgstr ""
469
 
470
- #: includes/core/permalink-manager-actions.php:587
471
  msgid "The redirect was removed successfully!"
472
  msgstr ""
473
 
474
- #: includes/core/permalink-manager-actions.php:617
475
  msgid "URI is already in use, please select another one!"
476
  msgstr ""
477
 
478
- #: includes/core/permalink-manager-actions.php:649
479
  msgid "Sitemaps were updated!"
480
  msgstr ""
481
 
@@ -499,13 +497,13 @@ msgstr ""
499
  msgid "WooCommerce"
500
  msgstr ""
501
 
502
- #: includes/views/permalink-manager-permastructs.php:74
503
- #: includes/views/permalink-manager-pro-addons.php:188
504
- #: includes/views/permalink-manager-pro-addons.php:221
505
  msgid "Instructions"
506
  msgstr ""
507
 
508
- #: includes/views/permalink-manager-permastructs.php:75
509
  #, php-format
510
  msgid ""
511
  "The current permastructures settings will be applied <strong>only to the new "
@@ -514,11 +512,11 @@ msgid ""
514
  "href=\"%s\">here</a>."
515
  msgstr ""
516
 
517
- #: includes/views/permalink-manager-permastructs.php:77
518
  msgid "Permastructure tags"
519
  msgstr ""
520
 
521
- #: includes/views/permalink-manager-permastructs.php:78
522
  #, php-format
523
  msgid ""
524
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
@@ -526,7 +524,7 @@ msgid ""
526
  "post types or taxonomies."
527
  msgstr ""
528
 
529
- #: includes/views/permalink-manager-permastructs.php:81
530
  msgid "Save permastructures"
531
  msgstr ""
532
 
@@ -587,103 +585,103 @@ msgstr ""
587
  msgid "Filter"
588
  msgstr ""
589
 
590
- #: includes/views/permalink-manager-pro-addons.php:99
591
  msgid "Support"
592
  msgstr ""
593
 
594
- #: includes/views/permalink-manager-pro-addons.php:126
595
  msgid "Licence"
596
  msgstr ""
597
 
598
- #: includes/views/permalink-manager-pro-addons.php:132
599
  msgid "Licence key"
600
  msgstr ""
601
 
602
- #: includes/views/permalink-manager-pro-addons.php:133
603
  msgid "Check the expiration date."
604
  msgstr ""
605
 
606
- #: includes/views/permalink-manager-pro-addons.php:157
607
  msgid "-- Use predefined words list --"
608
  msgstr ""
609
 
610
- #: includes/views/permalink-manager-pro-addons.php:160
611
  msgid "Remove all words"
612
  msgstr ""
613
 
614
- #: includes/views/permalink-manager-pro-addons.php:162
615
  msgid "Add the words from the list"
616
  msgstr ""
617
 
618
- #: includes/views/permalink-manager-pro-addons.php:170
619
  msgid "Enable \"stop words\""
620
  msgstr ""
621
 
622
- #: includes/views/permalink-manager-pro-addons.php:176
623
  msgid "\"Stop words\" list"
624
  msgstr ""
625
 
626
- #: includes/views/permalink-manager-pro-addons.php:180
627
  msgid "Type comma to separate the words."
628
  msgstr ""
629
 
630
- #: includes/views/permalink-manager-pro-addons.php:189
631
  msgid ""
632
  "If enabled, all selected \"stop words\" will be automatically removed from "
633
  "default URIs."
634
  msgstr ""
635
 
636
- #: includes/views/permalink-manager-pro-addons.php:190
637
  msgid ""
638
  "Each of the words can be removed and any new words can be added to the list. "
639
  "You can also use a predefined list (available in 21 languages)."
640
  msgstr ""
641
 
642
- #: includes/views/permalink-manager-pro-addons.php:192
643
  msgid "Save"
644
  msgstr ""
645
 
646
- #: includes/views/permalink-manager-pro-addons.php:212
647
  #: includes/views/permalink-manager-tools.php:34
648
  msgid "Custom Permalinks"
649
  msgstr ""
650
 
651
- #: includes/views/permalink-manager-pro-addons.php:213
652
  msgid "Deactivate after import"
653
  msgstr ""
654
 
655
- #: includes/views/permalink-manager-pro-addons.php:216
656
  msgid ""
657
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
658
  "custom URIs are imported."
659
  msgstr ""
660
 
661
- #: includes/views/permalink-manager-pro-addons.php:222
662
  msgid ""
663
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
664
  "of this plugin."
665
  msgstr ""
666
 
667
- #: includes/views/permalink-manager-pro-addons.php:223
668
  msgid ""
669
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
670
  "permalinks before using Permalink Manager Pro."
671
  msgstr ""
672
 
673
- #: includes/views/permalink-manager-pro-addons.php:228
674
  #, php-format
675
  msgid "Import %d URIs"
676
  msgstr ""
677
 
678
- #: includes/views/permalink-manager-pro-addons.php:233
679
  msgid "No custom URIs to import"
680
  msgstr ""
681
 
682
- #: includes/views/permalink-manager-pro-addons.php:246
683
  msgid "Technical support"
684
  msgstr ""
685
 
686
- #: includes/views/permalink-manager-pro-addons.php:247
687
  #, php-format
688
  msgid ""
689
  "To find the answers on frequently asked questions and information about how "
@@ -691,75 +689,75 @@ msgid ""
691
  "Base</strong> using <a target=\"_blank\" href=\"%s\">this link</a>."
692
  msgstr ""
693
 
694
- #: includes/views/permalink-manager-pro-addons.php:248
695
  msgid ""
696
  "If you still did not find the answer to your question, please send us your "
697
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
698
  "support@permalinkmanager.pro\">support@permalinkmanager.pro</a>."
699
  msgstr ""
700
 
701
- #: includes/views/permalink-manager-pro-addons.php:249
702
  msgid ""
703
  "To reduce the response time, please attach your licence key and if possible "
704
  "also: URL address of your website and screenshots explaining the issue."
705
  msgstr ""
706
 
707
- #: includes/views/permalink-manager-pro-addons.php:251
708
  msgid "Suggestions/feedback"
709
  msgstr ""
710
 
711
- #: includes/views/permalink-manager-pro-addons.php:252
712
  msgid ""
713
  "If you would like to suggest a new functionality or leave us feedback, we "
714
  "are open to all new ideas and would be grateful for all your comments!"
715
  msgstr ""
716
 
717
- #: includes/views/permalink-manager-pro-addons.php:253
718
  msgid ""
719
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
720
  "contact@permalinkmanager.pro</a>."
721
  msgstr ""
722
 
723
- #: includes/views/permalink-manager-pro-addons.php:268
724
  msgid "Extra redirects (aliases)"
725
  msgstr ""
726
 
727
- #: includes/views/permalink-manager-pro-addons.php:269
728
  msgid ""
729
  "All URIs specified below will redirect the visitors to the custom URI "
730
  "defined above in \"Current URI\" field."
731
  msgstr ""
732
 
733
- #: includes/views/permalink-manager-pro-addons.php:275
734
  msgid "sample/custom-uri"
735
  msgstr ""
736
 
737
- #: includes/views/permalink-manager-pro-addons.php:292
738
  msgid "Add new redirect"
739
  msgstr ""
740
 
741
- #: includes/views/permalink-manager-pro-addons.php:297
742
  #, php-format
743
  msgid ""
744
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
745
  "redirect for <code>%s/old-uri</code> please use <code>old-uri</code>."
746
  msgstr ""
747
 
748
- #: includes/views/permalink-manager-pro-addons.php:306
749
  msgid "Redirect this page to external URL"
750
  msgstr ""
751
 
752
- #: includes/views/permalink-manager-pro-addons.php:307
753
  msgid ""
754
  "If not empty, the visitors trying to access this page will be redirected to "
755
  "the URL specified below."
756
  msgstr ""
757
 
758
- #: includes/views/permalink-manager-pro-addons.php:311
759
  msgid "http://another-website.com/final-target-url"
760
  msgstr ""
761
 
762
- #: includes/views/permalink-manager-pro-addons.php:315
763
  msgid ""
764
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
765
  "//another-website.com/final-target-url</code>."
@@ -893,225 +891,235 @@ msgid ""
893
  " custom permalinks set with Permalink Manager."
894
  msgstr ""
895
 
896
- #: includes/views/permalink-manager-settings.php:79
897
  msgid "Old slug redirect"
898
  msgstr ""
899
 
900
- #: includes/views/permalink-manager-settings.php:82
901
  msgid ""
902
  "<strong>Old slug redirect is used by WordPress to provide a fallback for old "
903
  "version of slugs after they are changed.</strong>"
904
  msgstr ""
905
 
906
- #: includes/views/permalink-manager-settings.php:83
907
  msgid ""
908
  "If enabled, the visitors trying to access the URL with the old slug will be "
909
  "redirected to the canonical permalink."
910
  msgstr ""
911
 
912
- #: includes/views/permalink-manager-settings.php:89
913
  msgid "Enhanced redirect"
914
  msgstr ""
915
 
916
- #: includes/views/permalink-manager-settings.php:95
917
  msgid "Redirect mode"
918
  msgstr ""
919
 
920
- #: includes/views/permalink-manager-settings.php:97
921
  msgid "Disable (Permalink Manager redirect functions)"
922
  msgstr ""
923
 
924
- #: includes/views/permalink-manager-settings.php:97
925
  msgid "301 redirect"
926
  msgstr ""
927
 
928
- #: includes/views/permalink-manager-settings.php:97
929
  msgid "302 redirect"
930
  msgstr ""
931
 
932
- #: includes/views/permalink-manager-settings.php:99
933
  msgid ""
934
  "<strong>Permalink Manager includes a set of hooks that allow to extend the "
935
  "redirect functions used natively by WordPress to avoid 404 errors.</strong>"
936
  msgstr ""
937
 
938
- #: includes/views/permalink-manager-settings.php:100
939
  msgid ""
940
  "You can disable this feature if you do not want Permalink Manager to trigger "
941
  "any additional redirect functions at all."
942
  msgstr ""
943
 
944
- #: includes/views/permalink-manager-settings.php:105
945
  msgid "Old custom permalinks redirect"
946
  msgstr ""
947
 
948
- #: includes/views/permalink-manager-settings.php:110
949
  msgid ""
950
  "<strong>Permalink Manager can automatically set-up extra redirects after the "
951
  "custom permalink is changed.</strong>"
952
  msgstr ""
953
 
954
- #: includes/views/permalink-manager-settings.php:111
955
  msgid ""
956
  "If enabled, Permalink Manage will add redirect for earlier version of custom "
957
  "permalink after you change it (eg. with URI Editor or Regenerate/reset tool)."
958
  msgstr ""
959
 
960
- #: includes/views/permalink-manager-settings.php:112
961
  msgid ""
962
  "You can disable this feature if you use another plugin for redirects, eg. "
963
  "Yoast SEO Premium or Redirection."
964
  msgstr ""
965
 
966
- #: includes/views/permalink-manager-settings.php:117
967
  msgid "Force HTTPS/WWW"
968
  msgstr ""
969
 
970
- #: includes/views/permalink-manager-settings.php:120
971
  msgid ""
972
  "<strong>You can use Permalink Manager to force SSL or \"www\" prefix in "
973
  "WordPress permalinks.</strong>"
974
  msgstr ""
975
 
976
- #: includes/views/permalink-manager-settings.php:121
977
  msgid "Please disable it if you encounter any redirect loop issues."
978
  msgstr ""
979
 
980
- #: includes/views/permalink-manager-settings.php:126
981
  msgid "Trailing slashes redirect"
982
  msgstr ""
983
 
984
- #: includes/views/permalink-manager-settings.php:129
985
  msgid ""
986
  "<strong>Permalink Manager can force the trailing slashes settings in the "
987
  "custom permalinks with redirect.</strong>"
988
  msgstr ""
989
 
990
- #: includes/views/permalink-manager-settings.php:135
991
  msgid "Third party plugins"
992
  msgstr ""
993
 
994
- #: includes/views/permalink-manager-settings.php:141
995
  msgid "WPML/Polylang language mismatch"
996
  msgstr ""
997
 
998
- #: includes/views/permalink-manager-settings.php:143
999
  msgid ""
1000
  "If enabled, the plugin will load the adjacent translation of post when the "
1001
  "custom permalink is detected, but the language code in the URL does not "
1002
  "match the language code assigned to the post/term."
1003
  msgstr ""
1004
 
1005
- #: includes/views/permalink-manager-settings.php:147
1006
  msgid "WP All Import support"
1007
  msgstr ""
1008
 
1009
- #: includes/views/permalink-manager-settings.php:149
 
 
 
 
 
 
 
 
 
 
1010
  msgid ""
1011
- "If checked, the custom permalinks will not be saved for the posts imported "
1012
- "with Wp All Import plugin."
1013
  msgstr ""
1014
 
1015
- #: includes/views/permalink-manager-settings.php:153
1016
  msgid "Breadcrumbs support"
1017
  msgstr ""
1018
 
1019
- #: includes/views/permalink-manager-settings.php:155
1020
  msgid ""
1021
- "If checked, the HTML breadcrumbs will be filtered by Permalink Manager to "
1022
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
1023
  "SEO, RankMath and SEOPress</strong> breadcrumbs."
1024
  msgstr ""
1025
 
1026
- #: includes/views/permalink-manager-settings.php:159
1027
  msgid "Excluded content types"
1028
  msgstr ""
1029
 
1030
- #: includes/views/permalink-manager-settings.php:161
1031
  msgid ""
1032
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1033
  "selected above post types & taxonomies."
1034
  msgstr ""
1035
 
1036
- #: includes/views/permalink-manager-settings.php:166
1037
  msgid "Advanced settings"
1038
  msgstr ""
1039
 
1040
- #: includes/views/permalink-manager-settings.php:172
1041
  msgid "Show \"Native slug\" field"
1042
  msgstr ""
1043
 
1044
- #: includes/views/permalink-manager-settings.php:174
1045
  msgid ""
1046
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1047
  "single post/term edit page."
1048
  msgstr ""
1049
 
1050
- #: includes/views/permalink-manager-settings.php:178
1051
  msgid "Force 404 on non-existing pagination pages"
1052
  msgstr ""
1053
 
1054
- #: includes/views/permalink-manager-settings.php:180
1055
  msgid ""
1056
  "If enabled, the non-existing pagination pages (for single posts) will return "
1057
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1058
  "any problems with pagination pages or use custom pagination system.</strong>"
1059
  msgstr ""
1060
 
1061
- #: includes/views/permalink-manager-settings.php:184
1062
  msgid "Strip special characters"
1063
  msgstr ""
1064
 
1065
- #: includes/views/permalink-manager-settings.php:186
1066
- #: includes/views/permalink-manager-settings.php:193
1067
  msgid "Yes, use native settings"
1068
  msgstr ""
1069
 
1070
- #: includes/views/permalink-manager-settings.php:186
1071
  msgid "No, keep special characters (.,|_+) in the slugs"
1072
  msgstr ""
1073
 
1074
- #: includes/views/permalink-manager-settings.php:187
1075
  msgid ""
1076
  "If enabled only alphanumeric characters, underscores and dashes will be "
1077
  "allowed for post/term slugs."
1078
  msgstr ""
1079
 
1080
- #: includes/views/permalink-manager-settings.php:191
1081
  msgid "Convert accented letters"
1082
  msgstr ""
1083
 
1084
- #: includes/views/permalink-manager-settings.php:193
1085
  msgid "No, keep accented letters in the slugs"
1086
  msgstr ""
1087
 
1088
- #: includes/views/permalink-manager-settings.php:194
1089
  msgid ""
1090
  "If enabled, all the accented letters will be replaced with their non-"
1091
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1092
  msgstr ""
1093
 
1094
- #: includes/views/permalink-manager-settings.php:198
1095
  msgid "URI Editor role capability"
1096
  msgstr ""
1097
 
1098
- #: includes/views/permalink-manager-settings.php:199
1099
  msgid "Administrator (edit_theme_options)"
1100
  msgstr ""
1101
 
1102
- #: includes/views/permalink-manager-settings.php:199
1103
  msgid "Editor (publish_pages)"
1104
  msgstr ""
1105
 
1106
- #: includes/views/permalink-manager-settings.php:199
1107
  msgid "Author (publish_posts)"
1108
  msgstr ""
1109
 
1110
- #: includes/views/permalink-manager-settings.php:199
1111
  msgid "Contributor (edit_posts)"
1112
  msgstr ""
1113
 
1114
- #: includes/views/permalink-manager-settings.php:200
1115
  #, php-format
1116
  msgid ""
1117
  "Only the users who have selected capability will be able to access URI "
@@ -1119,29 +1127,29 @@ msgid ""
1119
  "be found here</a>."
1120
  msgstr ""
1121
 
1122
- #: includes/views/permalink-manager-settings.php:204
1123
  msgid "Automatically fix broken URIs"
1124
  msgstr ""
1125
 
1126
- #: includes/views/permalink-manager-settings.php:206
1127
  msgid "Disable"
1128
  msgstr ""
1129
 
1130
- #: includes/views/permalink-manager-settings.php:206
1131
  msgid "Fix URIs individually (during page load)"
1132
  msgstr ""
1133
 
1134
- #: includes/views/permalink-manager-settings.php:206
1135
  msgid "Bulk fix all URIs (once a day, in the background)"
1136
  msgstr ""
1137
 
1138
- #: includes/views/permalink-manager-settings.php:208
1139
  msgid ""
1140
  "Enable this option if you would like to automatically remove redundant "
1141
  "permalinks & duplicated redirects."
1142
  msgstr ""
1143
 
1144
- #: includes/views/permalink-manager-settings.php:215
1145
  msgid "Save settings"
1146
  msgstr ""
1147
 
3
  msgstr ""
4
  "Project-Id-Version: PACKAGE VERSION\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2020-11-23 20:44+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"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco https://localise.biz/"
16
 
17
+ #: permalink-manager.php:207
18
  #, php-format
19
  msgid ""
20
  "Get access to extra features: full taxonomy and WooCommerce support, "
23
  "and save %s using \"%s\" coupon code!</strong> Valid until %s!"
24
  msgstr ""
25
 
26
+ #: includes/core/permalink-manager-third-parties.php:292
27
  msgid "\"Custom Permalinks\" URIs were imported!"
28
  msgstr ""
29
 
30
+ #: includes/core/permalink-manager-third-parties.php:295
31
  msgid "No \"Custom Permalinks\" URIs were imported!"
32
  msgstr ""
33
 
34
+ #: includes/core/permalink-manager-third-parties.php:681
35
+ #: includes/core/permalink-manager-gutenberg.php:26
36
+ #: includes/core/permalink-manager-admin-functions.php:111
37
+ #: includes/core/permalink-manager-admin-functions.php:111
38
+ #: includes/core/permalink-manager-admin-functions.php:737
39
+ #: includes/core/permalink-manager-admin-functions.php:818
40
+ #: includes/core/permalink-manager-admin-functions.php:823
41
+ #: includes/core/permalink-manager-admin-functions.php:824
 
42
  msgid "Permalink Manager"
43
  msgstr ""
44
 
45
+ #: includes/core/permalink-manager-third-parties.php:685
46
+ #: includes/core/permalink-manager-uri-functions-tax.php:482
47
  #: includes/views/permalink-manager-tools.php:70
48
  msgid "Custom URI"
49
  msgstr ""
50
 
51
+ #: includes/core/permalink-manager-third-parties.php:686
52
  #, php-format
53
  msgid ""
54
  "If empty, a default permalink based on your current <a href=\"%s\" "
55
  "target=\"_blank\">permastructure settings</a> will be used."
56
  msgstr ""
57
 
58
+ #: includes/core/permalink-manager-uri-functions-tax.php:483
59
  msgid "Clear/leave the field empty to use the default permalink."
60
  msgstr ""
61
 
62
+ #: includes/core/permalink-manager-uri-functions-tax.php:515
63
+ #: includes/core/permalink-manager-admin-functions.php:741
64
+ #: includes/core/permalink-manager-admin-functions.php:841
65
+ #: includes/core/permalink-manager-uri-functions-post.php:687
66
  msgid "Current URI"
67
  msgstr ""
68
 
69
+ #: includes/core/permalink-manager-admin-functions.php:135
70
  msgid "Are you sure? This action cannot be undone!"
71
  msgstr ""
72
 
73
+ #: includes/core/permalink-manager-admin-functions.php:156
74
  msgid "URI Editor"
75
  msgstr ""
76
 
77
+ #: includes/core/permalink-manager-admin-functions.php:157
78
  #: includes/views/permalink-manager-settings.php:14
79
  msgid "Settings"
80
  msgstr ""
81
 
82
+ #: includes/core/permalink-manager-admin-functions.php:169
83
  msgid "Documentation"
84
  msgstr ""
85
 
86
+ #: includes/core/permalink-manager-admin-functions.php:173
87
  msgid "Buy Permalink Manager Pro"
88
  msgstr ""
89
 
90
+ #: includes/core/permalink-manager-admin-functions.php:280
91
  msgid "Select all"
92
  msgstr ""
93
 
94
+ #: includes/core/permalink-manager-admin-functions.php:281
95
  msgid "Unselect all"
96
  msgstr ""
97
 
98
+ #: includes/core/permalink-manager-admin-functions.php:396
99
  msgid "Permastructure translations"
100
  msgstr ""
101
 
102
+ #: includes/core/permalink-manager-admin-functions.php:397
103
  msgid ""
104
  "If you would like to translate the permastructures and set-up different "
105
  "permalink structure per language, please fill in the fields below. Otherwise "
107
  "applied."
108
  msgstr ""
109
 
110
+ #: includes/core/permalink-manager-admin-functions.php:414
111
  msgid "Default permastructure"
112
  msgstr ""
113
 
114
+ #: includes/core/permalink-manager-admin-functions.php:415
115
  msgid "Restore default permastructure"
116
  msgstr ""
117
 
118
+ #: includes/core/permalink-manager-admin-functions.php:421
119
+ #: includes/core/permalink-manager-actions.php:409
120
+ #: includes/core/permalink-manager-actions.php:413
121
  msgid "Permastructure settings"
122
  msgstr ""
123
 
124
+ #: includes/core/permalink-manager-admin-functions.php:422
125
  msgid "Do not automatically append the slug"
126
  msgstr ""
127
 
128
+ #: includes/core/permalink-manager-admin-functions.php:430
129
  msgid "Show additional settings"
130
  msgstr ""
131
 
132
+ #: includes/core/permalink-manager-admin-functions.php:577
133
  msgid "Donate"
134
  msgstr ""
135
 
136
+ #: includes/core/permalink-manager-admin-functions.php:578
137
  msgid "by Maciej Bis"
138
  msgstr ""
139
 
140
+ #: includes/core/permalink-manager-admin-functions.php:590
141
  msgid "Upgrade to PRO"
142
  msgstr ""
143
 
144
+ #: includes/core/permalink-manager-admin-functions.php:657
145
+ #: includes/core/permalink-manager-admin-functions.php:684
146
  msgid "Title"
147
  msgstr ""
148
 
149
+ #: includes/core/permalink-manager-admin-functions.php:659
150
+ #: includes/core/permalink-manager-admin-functions.php:686
151
  msgid "Old Slug"
152
  msgstr ""
153
 
154
+ #: includes/core/permalink-manager-admin-functions.php:660
155
+ #: includes/core/permalink-manager-admin-functions.php:687
156
  msgid "New Slug"
157
  msgstr ""
158
 
159
+ #: includes/core/permalink-manager-admin-functions.php:662
160
+ #: includes/core/permalink-manager-admin-functions.php:689
161
  msgid "Old URI"
162
  msgstr ""
163
 
164
+ #: includes/core/permalink-manager-admin-functions.php:663
165
+ #: includes/core/permalink-manager-admin-functions.php:690
166
  msgid "New URI"
167
  msgstr ""
168
 
169
+ #: includes/core/permalink-manager-admin-functions.php:684
170
  msgid "Show more details"
171
  msgstr ""
172
 
173
+ #: includes/core/permalink-manager-admin-functions.php:697
174
  msgid "List of updated items"
175
  msgstr ""
176
 
177
+ #: includes/core/permalink-manager-admin-functions.php:710
178
  #, php-format
179
  msgid "<strong class=\"updated_count\">%d</strong> slug was updated!"
180
  msgid_plural "<strong class=\"updated_count\">%d</strong> slugs were updated!"
181
  msgstr[0] ""
182
  msgstr[1] ""
183
 
184
+ #: includes/core/permalink-manager-admin-functions.php:711
185
  #, php-format
186
  msgid "<a %s>Click here</a> to go to the list of updated slugs"
187
  msgstr ""
188
 
189
+ #: includes/core/permalink-manager-admin-functions.php:715
190
  #: includes/core/permalink-manager-actions.php:115
191
  msgid "<strong>No slugs</strong> were updated!"
192
  msgstr ""
193
 
194
+ #: includes/core/permalink-manager-admin-functions.php:804
195
+ #: includes/core/permalink-manager-admin-functions.php:807
196
  msgid "Yes"
197
  msgstr ""
198
 
199
+ #: includes/core/permalink-manager-admin-functions.php:804
200
+ #: includes/core/permalink-manager-admin-functions.php:808
201
  msgid "No"
202
  msgstr ""
203
 
204
+ #: includes/core/permalink-manager-admin-functions.php:806
205
  #, php-format
206
  msgid "Use global settings [%s]"
207
  msgstr ""
208
 
209
+ #: includes/core/permalink-manager-admin-functions.php:809
210
  msgid "No (ignore this URI in bulk tools)"
211
  msgstr ""
212
 
213
+ #: includes/core/permalink-manager-admin-functions.php:823
214
  msgid "Close: "
215
  msgstr ""
216
 
217
+ #: includes/core/permalink-manager-admin-functions.php:835
218
  msgid "The custom URI cannot be edited on frontpage."
219
  msgstr ""
220
 
221
+ #: includes/core/permalink-manager-admin-functions.php:842
222
  msgid ""
223
  "If custom URI is not defined, a default URI will be set (see below). The "
224
  "custom URI can be edited only if 'Auto-update the URI' feature is not "
225
  "enabled."
226
  msgstr ""
227
 
228
+ #: includes/core/permalink-manager-admin-functions.php:851
229
  msgid "Native slug"
230
  msgstr ""
231
 
232
+ #: includes/core/permalink-manager-admin-functions.php:852
233
  msgid ""
234
  "The native slug is by default automatically used in native permalinks (when "
235
  "Permalink Manager is disabled)."
236
  msgstr ""
237
 
238
+ #: includes/core/permalink-manager-admin-functions.php:862
239
  msgid "Auto-update the URI"
240
  msgstr ""
241
 
242
+ #: includes/core/permalink-manager-admin-functions.php:863
243
  msgid ""
244
  "If enabled, the 'Current URI' field will be automatically changed to "
245
  "'Default URI' (displayed below) after the post is saved or updated."
246
  msgstr ""
247
 
248
+ #: includes/core/permalink-manager-admin-functions.php:871
249
  msgid "Default URI"
250
  msgstr ""
251
 
252
+ #: includes/core/permalink-manager-admin-functions.php:872
253
  msgid "Restore Default URI"
254
  msgstr ""
255
 
256
+ #: includes/core/permalink-manager-admin-functions.php:882
257
  msgid "Automatic redirect for native URI enabled:"
258
  msgstr ""
259
 
260
+ #: includes/core/permalink-manager-admin-functions.php:893
261
  #, php-format
262
  msgid ""
263
  "<span><strong>Need more functionalities and dedicated support?</strong> Buy "
265
  "permalink-manager-pro/\">PMLITE coupon code</a> to get 10% off.</a></span>"
266
  msgstr ""
267
 
268
+ #: includes/core/permalink-manager-admin-functions.php:904
269
  msgid "Save permalink"
270
  msgstr ""
271
 
272
+ #: includes/core/permalink-manager-admin-functions.php:931
273
  msgid "Manage redirects"
274
  msgstr ""
275
 
276
+ #: includes/core/permalink-manager-admin-functions.php:1049
277
  #, php-format
278
  msgid ""
279
  "This functionality is available only in <a href=\"%s\" target=\"_blank\">"
280
  "Permalink Manager Pro</a>."
281
  msgstr ""
282
 
283
+ #: includes/core/permalink-manager-pro-functions.php:126
 
284
  #, php-format
285
  msgid ""
286
  "Please paste the licence key to access all Permalink Manager Pro updates & "
287
  "features <a href=\"%s\" target=\"_blank\">on this page</a>."
288
  msgstr ""
289
 
290
+ #: includes/core/permalink-manager-pro-functions.php:131
 
 
 
 
 
 
291
  msgid "Your Permalink Manager Pro licence key is invalid!"
292
  msgstr ""
293
 
294
+ #: includes/core/permalink-manager-pro-functions.php:136
295
  #, php-format
296
  msgid ""
297
  "Your Permalink Manager Pro licence key expired! To restore access to plugin "
299
  "this page</a>."
300
  msgstr ""
301
 
302
+ #: includes/core/permalink-manager-pro-functions.php:141
303
  msgid "You own a lifetime licence key."
304
  msgstr ""
305
 
306
+ #: includes/core/permalink-manager-pro-functions.php:146
307
  #, php-format
308
  msgid ""
309
  "Your licence key is valid until %s.<br />To prolong it please go to <a "
310
  "href=\"%s\" target=\"_blank\">this page</a> for more information."
311
  msgstr ""
312
 
313
+ #: includes/core/permalink-manager-pro-functions.php:151
314
+ msgid ""
315
+ "Expiration date could not be downloaded at this moment. Please try again in "
316
+ "a few minutes."
317
+ msgstr ""
318
+
319
+ #: includes/core/permalink-manager-pro-functions.php:184
320
  msgid "Arabic"
321
  msgstr ""
322
 
323
+ #: includes/core/permalink-manager-pro-functions.php:185
324
  msgid "Chinese"
325
  msgstr ""
326
 
327
+ #: includes/core/permalink-manager-pro-functions.php:186
328
  msgid "Danish"
329
  msgstr ""
330
 
331
+ #: includes/core/permalink-manager-pro-functions.php:187
332
  msgid "Dutch"
333
  msgstr ""
334
 
335
+ #: includes/core/permalink-manager-pro-functions.php:188
336
  msgid "English"
337
  msgstr ""
338
 
339
+ #: includes/core/permalink-manager-pro-functions.php:189
340
  msgid "Finnish"
341
  msgstr ""
342
 
343
+ #: includes/core/permalink-manager-pro-functions.php:190
344
  msgid "French"
345
  msgstr ""
346
 
347
+ #: includes/core/permalink-manager-pro-functions.php:191
348
  msgid "German"
349
  msgstr ""
350
 
351
+ #: includes/core/permalink-manager-pro-functions.php:192
352
  msgid "Hebrew"
353
  msgstr ""
354
 
355
+ #: includes/core/permalink-manager-pro-functions.php:193
356
  msgid "Hindi"
357
  msgstr ""
358
 
359
+ #: includes/core/permalink-manager-pro-functions.php:194
360
  msgid "Italian"
361
  msgstr ""
362
 
363
+ #: includes/core/permalink-manager-pro-functions.php:195
364
  msgid "Japanese"
365
  msgstr ""
366
 
367
+ #: includes/core/permalink-manager-pro-functions.php:196
368
  msgid "Korean"
369
  msgstr ""
370
 
371
+ #: includes/core/permalink-manager-pro-functions.php:197
372
  msgid "Norwegian"
373
  msgstr ""
374
 
375
+ #: includes/core/permalink-manager-pro-functions.php:198
376
  msgid "Persian"
377
  msgstr ""
378
 
379
+ #: includes/core/permalink-manager-pro-functions.php:199
380
  msgid "Polish"
381
  msgstr ""
382
 
383
+ #: includes/core/permalink-manager-pro-functions.php:200
384
  msgid "Portuguese"
385
  msgstr ""
386
 
387
+ #: includes/core/permalink-manager-pro-functions.php:201
388
  msgid "Russian"
389
  msgstr ""
390
 
391
+ #: includes/core/permalink-manager-pro-functions.php:202
392
  msgid "Spanish"
393
  msgstr ""
394
 
395
+ #: includes/core/permalink-manager-pro-functions.php:203
396
  msgid "Swedish"
397
  msgstr ""
398
 
399
+ #: includes/core/permalink-manager-pro-functions.php:204
400
  msgid "Turkish"
401
  msgstr ""
402
 
403
+ #: includes/core/permalink-manager-pro-functions.php:486
404
  msgid "Coupon Link"
405
  msgstr ""
406
 
407
+ #: includes/core/permalink-manager-pro-functions.php:507
408
  msgid "Coupon URI"
409
  msgstr ""
410
 
411
+ #: includes/core/permalink-manager-pro-functions.php:508
412
  msgid ""
413
  "The URIs are case-insensitive, eg. <strong>BLACKFRIDAY</strong> and <strong>"
414
  "blackfriday</strong> are equivalent."
415
  msgstr ""
416
 
417
+ #: includes/core/permalink-manager-pro-functions.php:519
418
  msgid "Coupon Full URL"
419
  msgstr ""
420
 
422
  msgid "The settings are saved!"
423
  msgstr ""
424
 
425
+ #: includes/core/permalink-manager-actions.php:377
426
  #, php-format
427
  msgid "%d Custom URIs and %d Custom Redirects were removed!"
428
  msgstr ""
429
 
430
+ #: includes/core/permalink-manager-actions.php:379
431
  msgid "No Custom URIs or Custom Redirects were removed!"
432
  msgstr ""
433
 
434
+ #: includes/core/permalink-manager-actions.php:391
435
  msgid "You are not allowed to remove Permalink Manager data!"
436
  msgstr ""
437
 
438
+ #: includes/core/permalink-manager-actions.php:397
439
  msgid "Custom permalinks"
440
  msgstr ""
441
 
442
+ #: includes/core/permalink-manager-actions.php:401
443
  msgid "Custom redirects"
444
  msgstr ""
445
 
446
+ #: includes/core/permalink-manager-actions.php:405
447
  msgid "External redirects"
448
  msgstr ""
449
 
450
+ #: includes/core/permalink-manager-actions.php:424
451
  #, php-format
452
  msgid "%s were removed!"
453
  msgstr ""
454
 
455
+ #: includes/core/permalink-manager-actions.php:565
456
  #, php-format
457
  msgid "URI \"%s\" was removed successfully!"
458
  msgstr ""
459
 
460
+ #: includes/core/permalink-manager-actions.php:573
461
  msgid "Broken redirects were removed successfully!"
462
  msgstr ""
463
 
464
+ #: includes/core/permalink-manager-actions.php:577
465
  msgid "URI and/or custom redirects does not exist or were already removed!"
466
  msgstr ""
467
 
468
+ #: includes/core/permalink-manager-actions.php:597
469
  msgid "The redirect was removed successfully!"
470
  msgstr ""
471
 
472
+ #: includes/core/permalink-manager-actions.php:627
473
  msgid "URI is already in use, please select another one!"
474
  msgstr ""
475
 
476
+ #: includes/core/permalink-manager-actions.php:659
477
  msgid "Sitemaps were updated!"
478
  msgstr ""
479
 
497
  msgid "WooCommerce"
498
  msgstr ""
499
 
500
+ #: includes/views/permalink-manager-permastructs.php:75
501
+ #: includes/views/permalink-manager-pro-addons.php:190
502
+ #: includes/views/permalink-manager-pro-addons.php:223
503
  msgid "Instructions"
504
  msgstr ""
505
 
506
+ #: includes/views/permalink-manager-permastructs.php:76
507
  #, php-format
508
  msgid ""
509
  "The current permastructures settings will be applied <strong>only to the new "
512
  "href=\"%s\">here</a>."
513
  msgstr ""
514
 
515
+ #: includes/views/permalink-manager-permastructs.php:78
516
  msgid "Permastructure tags"
517
  msgstr ""
518
 
519
+ #: includes/views/permalink-manager-permastructs.php:79
520
  #, php-format
521
  msgid ""
522
  "All allowed <a href=\"%s\" target=\"_blank\">permastructure tags</a> are "
524
  "post types or taxonomies."
525
  msgstr ""
526
 
527
+ #: includes/views/permalink-manager-permastructs.php:82
528
  msgid "Save permastructures"
529
  msgstr ""
530
 
585
  msgid "Filter"
586
  msgstr ""
587
 
588
+ #: includes/views/permalink-manager-pro-addons.php:101
589
  msgid "Support"
590
  msgstr ""
591
 
592
+ #: includes/views/permalink-manager-pro-addons.php:128
593
  msgid "Licence"
594
  msgstr ""
595
 
596
+ #: includes/views/permalink-manager-pro-addons.php:134
597
  msgid "Licence key"
598
  msgstr ""
599
 
600
+ #: includes/views/permalink-manager-pro-addons.php:135
601
  msgid "Check the expiration date."
602
  msgstr ""
603
 
604
+ #: includes/views/permalink-manager-pro-addons.php:159
605
  msgid "-- Use predefined words list --"
606
  msgstr ""
607
 
608
+ #: includes/views/permalink-manager-pro-addons.php:162
609
  msgid "Remove all words"
610
  msgstr ""
611
 
612
+ #: includes/views/permalink-manager-pro-addons.php:164
613
  msgid "Add the words from the list"
614
  msgstr ""
615
 
616
+ #: includes/views/permalink-manager-pro-addons.php:172
617
  msgid "Enable \"stop words\""
618
  msgstr ""
619
 
620
+ #: includes/views/permalink-manager-pro-addons.php:178
621
  msgid "\"Stop words\" list"
622
  msgstr ""
623
 
624
+ #: includes/views/permalink-manager-pro-addons.php:182
625
  msgid "Type comma to separate the words."
626
  msgstr ""
627
 
628
+ #: includes/views/permalink-manager-pro-addons.php:191
629
  msgid ""
630
  "If enabled, all selected \"stop words\" will be automatically removed from "
631
  "default URIs."
632
  msgstr ""
633
 
634
+ #: includes/views/permalink-manager-pro-addons.php:192
635
  msgid ""
636
  "Each of the words can be removed and any new words can be added to the list. "
637
  "You can also use a predefined list (available in 21 languages)."
638
  msgstr ""
639
 
640
+ #: includes/views/permalink-manager-pro-addons.php:194
641
  msgid "Save"
642
  msgstr ""
643
 
644
+ #: includes/views/permalink-manager-pro-addons.php:214
645
  #: includes/views/permalink-manager-tools.php:34
646
  msgid "Custom Permalinks"
647
  msgstr ""
648
 
649
+ #: includes/views/permalink-manager-pro-addons.php:215
650
  msgid "Deactivate after import"
651
  msgstr ""
652
 
653
+ #: includes/views/permalink-manager-pro-addons.php:218
654
  msgid ""
655
  "If selected, \"Custom Permalinks\" plugin will be deactivated after its "
656
  "custom URIs are imported."
657
  msgstr ""
658
 
659
+ #: includes/views/permalink-manager-pro-addons.php:224
660
  msgid ""
661
  "Please note that \"Custom Permalinks\" (if activated) may break the behavior "
662
  "of this plugin."
663
  msgstr ""
664
 
665
+ #: includes/views/permalink-manager-pro-addons.php:225
666
  msgid ""
667
  "Therefore, it is recommended to disable \"Custom Permalink\" and import old "
668
  "permalinks before using Permalink Manager Pro."
669
  msgstr ""
670
 
671
+ #: includes/views/permalink-manager-pro-addons.php:230
672
  #, php-format
673
  msgid "Import %d URIs"
674
  msgstr ""
675
 
676
+ #: includes/views/permalink-manager-pro-addons.php:235
677
  msgid "No custom URIs to import"
678
  msgstr ""
679
 
680
+ #: includes/views/permalink-manager-pro-addons.php:248
681
  msgid "Technical support"
682
  msgstr ""
683
 
684
+ #: includes/views/permalink-manager-pro-addons.php:249
685
  #, php-format
686
  msgid ""
687
  "To find the answers on frequently asked questions and information about how "
689
  "Base</strong> using <a target=\"_blank\" href=\"%s\">this link</a>."
690
  msgstr ""
691
 
692
+ #: includes/views/permalink-manager-pro-addons.php:250
693
  msgid ""
694
  "If you still did not find the answer to your question, please send us your "
695
  "question or a detailed description of your problem/issue to <a href=\"mailto:"
696
  "support@permalinkmanager.pro\">support@permalinkmanager.pro</a>."
697
  msgstr ""
698
 
699
+ #: includes/views/permalink-manager-pro-addons.php:251
700
  msgid ""
701
  "To reduce the response time, please attach your licence key and if possible "
702
  "also: URL address of your website and screenshots explaining the issue."
703
  msgstr ""
704
 
705
+ #: includes/views/permalink-manager-pro-addons.php:253
706
  msgid "Suggestions/feedback"
707
  msgstr ""
708
 
709
+ #: includes/views/permalink-manager-pro-addons.php:254
710
  msgid ""
711
  "If you would like to suggest a new functionality or leave us feedback, we "
712
  "are open to all new ideas and would be grateful for all your comments!"
713
  msgstr ""
714
 
715
+ #: includes/views/permalink-manager-pro-addons.php:255
716
  msgid ""
717
  " Please send your remarks to <a href=\"mailto:contact@permalinkmanager.pro\">"
718
  "contact@permalinkmanager.pro</a>."
719
  msgstr ""
720
 
721
+ #: includes/views/permalink-manager-pro-addons.php:270
722
  msgid "Extra redirects (aliases)"
723
  msgstr ""
724
 
725
+ #: includes/views/permalink-manager-pro-addons.php:271
726
  msgid ""
727
  "All URIs specified below will redirect the visitors to the custom URI "
728
  "defined above in \"Current URI\" field."
729
  msgstr ""
730
 
731
+ #: includes/views/permalink-manager-pro-addons.php:277
732
  msgid "sample/custom-uri"
733
  msgstr ""
734
 
735
+ #: includes/views/permalink-manager-pro-addons.php:294
736
  msgid "Add new redirect"
737
  msgstr ""
738
 
739
+ #: includes/views/permalink-manager-pro-addons.php:299
740
  #, php-format
741
  msgid ""
742
  "<strong>Please use URIs only!</strong><br />For instance, to set-up a "
743
  "redirect for <code>%s/old-uri</code> please use <code>old-uri</code>."
744
  msgstr ""
745
 
746
+ #: includes/views/permalink-manager-pro-addons.php:308
747
  msgid "Redirect this page to external URL"
748
  msgstr ""
749
 
750
+ #: includes/views/permalink-manager-pro-addons.php:309
751
  msgid ""
752
  "If not empty, the visitors trying to access this page will be redirected to "
753
  "the URL specified below."
754
  msgstr ""
755
 
756
+ #: includes/views/permalink-manager-pro-addons.php:313
757
  msgid "http://another-website.com/final-target-url"
758
  msgstr ""
759
 
760
+ #: includes/views/permalink-manager-pro-addons.php:317
761
  msgid ""
762
  "<strong>Please use full URLs!</strong><br />For instance, <code>http:"
763
  "//another-website.com/final-target-url</code>."
891
  " custom permalinks set with Permalink Manager."
892
  msgstr ""
893
 
894
+ #: includes/views/permalink-manager-settings.php:87
895
  msgid "Old slug redirect"
896
  msgstr ""
897
 
898
+ #: includes/views/permalink-manager-settings.php:90
899
  msgid ""
900
  "<strong>Old slug redirect is used by WordPress to provide a fallback for old "
901
  "version of slugs after they are changed.</strong>"
902
  msgstr ""
903
 
904
+ #: includes/views/permalink-manager-settings.php:91
905
  msgid ""
906
  "If enabled, the visitors trying to access the URL with the old slug will be "
907
  "redirected to the canonical permalink."
908
  msgstr ""
909
 
910
+ #: includes/views/permalink-manager-settings.php:97
911
  msgid "Enhanced redirect"
912
  msgstr ""
913
 
914
+ #: includes/views/permalink-manager-settings.php:103
915
  msgid "Redirect mode"
916
  msgstr ""
917
 
918
+ #: includes/views/permalink-manager-settings.php:105
919
  msgid "Disable (Permalink Manager redirect functions)"
920
  msgstr ""
921
 
922
+ #: includes/views/permalink-manager-settings.php:105
923
  msgid "301 redirect"
924
  msgstr ""
925
 
926
+ #: includes/views/permalink-manager-settings.php:105
927
  msgid "302 redirect"
928
  msgstr ""
929
 
930
+ #: includes/views/permalink-manager-settings.php:107
931
  msgid ""
932
  "<strong>Permalink Manager includes a set of hooks that allow to extend the "
933
  "redirect functions used natively by WordPress to avoid 404 errors.</strong>"
934
  msgstr ""
935
 
936
+ #: includes/views/permalink-manager-settings.php:108
937
  msgid ""
938
  "You can disable this feature if you do not want Permalink Manager to trigger "
939
  "any additional redirect functions at all."
940
  msgstr ""
941
 
942
+ #: includes/views/permalink-manager-settings.php:113
943
  msgid "Old custom permalinks redirect"
944
  msgstr ""
945
 
946
+ #: includes/views/permalink-manager-settings.php:118
947
  msgid ""
948
  "<strong>Permalink Manager can automatically set-up extra redirects after the "
949
  "custom permalink is changed.</strong>"
950
  msgstr ""
951
 
952
+ #: includes/views/permalink-manager-settings.php:119
953
  msgid ""
954
  "If enabled, Permalink Manage will add redirect for earlier version of custom "
955
  "permalink after you change it (eg. with URI Editor or Regenerate/reset tool)."
956
  msgstr ""
957
 
958
+ #: includes/views/permalink-manager-settings.php:120
959
  msgid ""
960
  "You can disable this feature if you use another plugin for redirects, eg. "
961
  "Yoast SEO Premium or Redirection."
962
  msgstr ""
963
 
964
+ #: includes/views/permalink-manager-settings.php:125
965
  msgid "Force HTTPS/WWW"
966
  msgstr ""
967
 
968
+ #: includes/views/permalink-manager-settings.php:128
969
  msgid ""
970
  "<strong>You can use Permalink Manager to force SSL or \"www\" prefix in "
971
  "WordPress permalinks.</strong>"
972
  msgstr ""
973
 
974
+ #: includes/views/permalink-manager-settings.php:129
975
  msgid "Please disable it if you encounter any redirect loop issues."
976
  msgstr ""
977
 
978
+ #: includes/views/permalink-manager-settings.php:134
979
  msgid "Trailing slashes redirect"
980
  msgstr ""
981
 
982
+ #: includes/views/permalink-manager-settings.php:137
983
  msgid ""
984
  "<strong>Permalink Manager can force the trailing slashes settings in the "
985
  "custom permalinks with redirect.</strong>"
986
  msgstr ""
987
 
988
+ #: includes/views/permalink-manager-settings.php:143
989
  msgid "Third party plugins"
990
  msgstr ""
991
 
992
+ #: includes/views/permalink-manager-settings.php:149
993
  msgid "WPML/Polylang language mismatch"
994
  msgstr ""
995
 
996
+ #: includes/views/permalink-manager-settings.php:152
997
  msgid ""
998
  "If enabled, the plugin will load the adjacent translation of post when the "
999
  "custom permalink is detected, but the language code in the URL does not "
1000
  "match the language code assigned to the post/term."
1001
  msgstr ""
1002
 
1003
+ #: includes/views/permalink-manager-settings.php:156
1004
  msgid "WP All Import support"
1005
  msgstr ""
1006
 
1007
+ #: includes/views/permalink-manager-settings.php:159
1008
+ msgid ""
1009
+ "If enabled, the custom permalinks will not be saved for the posts imported "
1010
+ "with WP All Import plugin."
1011
+ msgstr ""
1012
+
1013
+ #: includes/views/permalink-manager-settings.php:163
1014
+ msgid "Ultimate Member support"
1015
+ msgstr ""
1016
+
1017
+ #: includes/views/permalink-manager-settings.php:166
1018
  msgid ""
1019
+ "If enabled, Permalink Manager will detect the additional Ultimate Member "
1020
+ "pages (eg. \"account\" sections)."
1021
  msgstr ""
1022
 
1023
+ #: includes/views/permalink-manager-settings.php:170
1024
  msgid "Breadcrumbs support"
1025
  msgstr ""
1026
 
1027
+ #: includes/views/permalink-manager-settings.php:172
1028
  msgid ""
1029
+ "If enabled, the HTML breadcrumbs will be filtered by Permalink Manager to "
1030
  "mimic the current URL structure.<br />Works with: <strong>WooCommerce, Yoast "
1031
  "SEO, RankMath and SEOPress</strong> breadcrumbs."
1032
  msgstr ""
1033
 
1034
+ #: includes/views/permalink-manager-settings.php:176
1035
  msgid "Excluded content types"
1036
  msgstr ""
1037
 
1038
+ #: includes/views/permalink-manager-settings.php:178
1039
  msgid ""
1040
  "Permalink Manager will ignore and not filter the custom permalinks of all "
1041
  "selected above post types & taxonomies."
1042
  msgstr ""
1043
 
1044
+ #: includes/views/permalink-manager-settings.php:183
1045
  msgid "Advanced settings"
1046
  msgstr ""
1047
 
1048
+ #: includes/views/permalink-manager-settings.php:189
1049
  msgid "Show \"Native slug\" field"
1050
  msgstr ""
1051
 
1052
+ #: includes/views/permalink-manager-settings.php:191
1053
  msgid ""
1054
  "If enabled, it would be possible to edit the native slug via URI Editor on "
1055
  "single post/term edit page."
1056
  msgstr ""
1057
 
1058
+ #: includes/views/permalink-manager-settings.php:195
1059
  msgid "Force 404 on non-existing pagination pages"
1060
  msgstr ""
1061
 
1062
+ #: includes/views/permalink-manager-settings.php:197
1063
  msgid ""
1064
  "If enabled, the non-existing pagination pages (for single posts) will return "
1065
  "404 (\"Not Found\") error.<br /><strong>Please disable it, if you encounter "
1066
  "any problems with pagination pages or use custom pagination system.</strong>"
1067
  msgstr ""
1068
 
1069
+ #: includes/views/permalink-manager-settings.php:201
1070
  msgid "Strip special characters"
1071
  msgstr ""
1072
 
1073
+ #: includes/views/permalink-manager-settings.php:203
1074
+ #: includes/views/permalink-manager-settings.php:210
1075
  msgid "Yes, use native settings"
1076
  msgstr ""
1077
 
1078
+ #: includes/views/permalink-manager-settings.php:203
1079
  msgid "No, keep special characters (.,|_+) in the slugs"
1080
  msgstr ""
1081
 
1082
+ #: includes/views/permalink-manager-settings.php:204
1083
  msgid ""
1084
  "If enabled only alphanumeric characters, underscores and dashes will be "
1085
  "allowed for post/term slugs."
1086
  msgstr ""
1087
 
1088
+ #: includes/views/permalink-manager-settings.php:208
1089
  msgid "Convert accented letters"
1090
  msgstr ""
1091
 
1092
+ #: includes/views/permalink-manager-settings.php:210
1093
  msgid "No, keep accented letters in the slugs"
1094
  msgstr ""
1095
 
1096
+ #: includes/views/permalink-manager-settings.php:211
1097
  msgid ""
1098
  "If enabled, all the accented letters will be replaced with their non-"
1099
  "accented equivalent (eg. Å => A, Æ => AE, Ø => O, Ć => C)."
1100
  msgstr ""
1101
 
1102
+ #: includes/views/permalink-manager-settings.php:215
1103
  msgid "URI Editor role capability"
1104
  msgstr ""
1105
 
1106
+ #: includes/views/permalink-manager-settings.php:216
1107
  msgid "Administrator (edit_theme_options)"
1108
  msgstr ""
1109
 
1110
+ #: includes/views/permalink-manager-settings.php:216
1111
  msgid "Editor (publish_pages)"
1112
  msgstr ""
1113
 
1114
+ #: includes/views/permalink-manager-settings.php:216
1115
  msgid "Author (publish_posts)"
1116
  msgstr ""
1117
 
1118
+ #: includes/views/permalink-manager-settings.php:216
1119
  msgid "Contributor (edit_posts)"
1120
  msgstr ""
1121
 
1122
+ #: includes/views/permalink-manager-settings.php:217
1123
  #, php-format
1124
  msgid ""
1125
  "Only the users who have selected capability will be able to access URI "
1127
  "be found here</a>."
1128
  msgstr ""
1129
 
1130
+ #: includes/views/permalink-manager-settings.php:221
1131
  msgid "Automatically fix broken URIs"
1132
  msgstr ""
1133
 
1134
+ #: includes/views/permalink-manager-settings.php:223
1135
  msgid "Disable"
1136
  msgstr ""
1137
 
1138
+ #: includes/views/permalink-manager-settings.php:223
1139
  msgid "Fix URIs individually (during page load)"
1140
  msgstr ""
1141
 
1142
+ #: includes/views/permalink-manager-settings.php:223
1143
  msgid "Bulk fix all URIs (once a day, in the background)"
1144
  msgstr ""
1145
 
1146
+ #: includes/views/permalink-manager-settings.php:225
1147
  msgid ""
1148
  "Enable this option if you would like to automatically remove redundant "
1149
  "permalinks & duplicated redirects."
1150
  msgstr ""
1151
 
1152
+ #: includes/views/permalink-manager-settings.php:232
1153
  msgid "Save settings"
1154
  msgstr ""
1155
 
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.1
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.5.2
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.1' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));
@@ -170,7 +170,8 @@ if(!class_exists('Permalink_Manager_Class')) {
170
  'trailing_slash_redirect' => 0,
171
  'auto_remove_duplicates' => 1,
172
  'fix_language_mismatch' => 1,
173
- 'pmxi_import_support' => 0,
 
174
  'yoast_breadcrumbs' => 0,
175
  'force_custom_slugs' => 0,
176
  'disable_slug_sanitization' => 0,
@@ -246,12 +247,20 @@ if(!class_exists('Permalink_Manager_Class')) {
246
 
247
  // Separate "Trailing slashes" & "Trailing slashes redirect" setting fields
248
  if(!empty($permalink_manager_options['general']['trailing_slashes']) && $permalink_manager_options['general']['trailing_slashes'] >= 10) {
249
- $permalink_manager_unfiltered_options = $permalink_manager_options;
250
 
251
  $permalink_manager_unfiltered_options['general']['trailing_slashes_redirect'] = 1;
252
  $permalink_manager_unfiltered_options['general']['trailing_slashes'] = ($permalink_manager_options['general']['trailing_slashes'] == 10) ? 1 : 2;
253
  }
254
 
 
 
 
 
 
 
 
 
255
  // Save the settings in database
256
  if(!empty($permalink_manager_unfiltered_options)) {
257
  update_option('permalink-manager', $permalink_manager_unfiltered_options);
@@ -300,6 +309,8 @@ if(!class_exists('Permalink_Manager_Class')) {
300
 
301
  'permalink_manager_uri_editor_columns' => 'permalink-manager-uri-editor-columns',
302
  'permalink_manager_uri_editor_column_content' => 'permalink-manager-uri-editor-column-content',
 
 
303
  );
304
 
305
  return ($filters) ? $deprecated_filters : array();
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.2.1
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: 4.7.0
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.2.1' );
29
  define( 'PERMALINK_MANAGER_FILE', __FILE__ );
30
  define( 'PERMALINK_MANAGER_DIR', untrailingslashit(dirname(__FILE__)) );
31
  define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__));
170
  'trailing_slash_redirect' => 0,
171
  'auto_remove_duplicates' => 1,
172
  'fix_language_mismatch' => 1,
173
+ 'pmxi_support' => 1,
174
+ 'um_support' => 1,
175
  'yoast_breadcrumbs' => 0,
176
  'force_custom_slugs' => 0,
177
  'disable_slug_sanitization' => 0,
247
 
248
  // Separate "Trailing slashes" & "Trailing slashes redirect" setting fields
249
  if(!empty($permalink_manager_options['general']['trailing_slashes']) && $permalink_manager_options['general']['trailing_slashes'] >= 10) {
250
+ $permalink_manager_unfiltered_options = (!empty($permalink_manager_unfiltered_options)) ? $permalink_manager_unfiltered_options : $permalink_manager_options;
251
 
252
  $permalink_manager_unfiltered_options['general']['trailing_slashes_redirect'] = 1;
253
  $permalink_manager_unfiltered_options['general']['trailing_slashes'] = ($permalink_manager_options['general']['trailing_slashes'] == 10) ? 1 : 2;
254
  }
255
 
256
+ // Make WP All Import setting more logi
257
+ if(isset($permalink_manager_options['general']['pmxi_import_support'])) {
258
+ $permalink_manager_unfiltered_options = (!empty($permalink_manager_unfiltered_options)) ? $permalink_manager_unfiltered_options : $permalink_manager_options;
259
+
260
+ $permalink_manager_unfiltered_options['general']['pmxi_support'] = (empty($permalink_manager_options['general']['pmxi_import_support'])) ? 1 : 0;
261
+ unset($permalink_manager_unfiltered_options['general']['pmxi_import_support']);
262
+ }
263
+
264
  // Save the settings in database
265
  if(!empty($permalink_manager_unfiltered_options)) {
266
  update_option('permalink-manager', $permalink_manager_unfiltered_options);
309
 
310
  'permalink_manager_uri_editor_columns' => 'permalink-manager-uri-editor-columns',
311
  'permalink_manager_uri_editor_column_content' => 'permalink-manager-uri-editor-column-content',
312
+
313
+ 'permalink_manager_redirect_shop_archive' => 'permalink-manager-redirect-shop-archive'
314
  );
315
 
316
  return ($filters) ? $deprecated_filters : array();