Permalink Manager Lite - Version 2.2.9.4

Version Description

  • Fix - The language prefix for default language is now added again when "Use directory for default language" mode is turned on in WPML settings ("Language URL format")
Download this release

Release Info

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

Code changes from version 2.2.9.3 to 2.2.9.4

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: permalinks, custom permalinks, url editor, permalinks, woocommerce permali
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.4
9
  Tested up to: 5.6.0
10
- Stable tag: 2.2.9.3
11
 
12
  Permalink Manager allows to easily change full URL addresses of posts, pages, custom post types, terms and WooCommerce links. You can also set different permalink formats per language or bulk change the URLs.
13
 
@@ -103,6 +103,9 @@ It is because Permalink Manager overwrites one of the core Wordpress functionali
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
@@ -111,6 +114,7 @@ It is because Permalink Manager overwrites one of the core Wordpress functionali
111
  * Fix - The URLs with duplicated trailing slashes are now redirected to the canonical permalink
112
  * Enhancement - Basic support for Ultimate Member plugin added
113
  * Enhancement - UI improvements
 
114
  * Enhancement - New filter added - 'permalink_manager_control_trailing_slashes'
115
 
116
  = 2.2.9.2 =
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.4
9
  Tested up to: 5.6.0
10
+ Stable tag: 2.2.9.4
11
 
12
  Permalink Manager allows to easily change full URL addresses of posts, pages, custom post types, terms and WooCommerce links. You can also set different permalink formats per language or bulk change the URLs.
13
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.2.9.4 =
107
+ * Fix - The language prefix for default language is now added again when "Use directory for default language" mode is turned on in WPML settings ("Language URL format")
108
+
109
  = 2.2.9.3 =
110
  * Fix - The custom permalinks are now saved correctly for new posts with 'wp_insert_post' hook
111
  * Fix - The custom permalinks are deleted when 'delete_post' hook is called
114
  * Fix - The URLs with duplicated trailing slashes are now redirected to the canonical permalink
115
  * Enhancement - Basic support for Ultimate Member plugin added
116
  * Enhancement - UI improvements
117
+ * Enhancement - Support for "comment-page" endpoint added
118
  * Enhancement - New filter added - 'permalink_manager_control_trailing_slashes'
119
 
120
  = 2.2.9.2 =
includes/core/permalink-manager-language-plugins.php CHANGED
@@ -310,7 +310,7 @@ class Permalink_Manager_Language_Plugins extends Permalink_Manager_Class {
310
  $home_url = get_home_url();
311
 
312
  // Hide language code if "Use directory for default language" option is enabled
313
- $hide_prefix_for_default_lang = ((isset($sitepress_settings['urls']['directory_for_default_language']) && $sitepress_settings['urls']['directory_for_default_language'] != 1) || !empty($polylang->links_model->options['hide_default']) || empty($translate_press_settings['add-subdirectory-to-default-language'])) ? true : false;
314
 
315
  // Last instance - use language paramater from &_GET array
316
  if(is_admin()) {
310
  $home_url = get_home_url();
311
 
312
  // Hide language code if "Use directory for default language" option is enabled
313
+ $hide_prefix_for_default_lang = ((isset($sitepress_settings['urls']['directory_for_default_language']) && $sitepress_settings['urls']['directory_for_default_language'] != 1) || !empty($polylang->links_model->options['hide_default']) || (!empty($translate_press_settings) && empty($translate_press_settings['add-subdirectory-to-default-language']))) ? true : false;
314
 
315
  // Last instance - use language paramater from &_GET array
316
  if(is_admin()) {
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.3
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.7.0
16
  */
17
 
18
  // If this file is called directly or plugin is already defined, abort.
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.4
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.8.0
16
  */
17
 
18
  // If this file is called directly or plugin is already defined, abort.