Version Description
Download this release
Release Info
Developer | mbis |
Plugin | Permalink Manager Lite |
Version | 0.5.3 |
Comparing to | |
See all releases |
Code changes from version 0.5.4 to 0.5.3
README.txt
CHANGED
@@ -5,9 +5,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
5 |
Tags: urls, permalinks, slugs, custom url, custom permalinks, uris, url, slug, permalink
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 4.7.2
|
8 |
-
Stable tag: 0.5.
|
9 |
|
10 |
-
Permalink Manager helps to maintain and bulk regenerate or "find and replace" any word in your permalinks & slugs.
|
11 |
|
12 |
== Description ==
|
13 |
|
@@ -80,9 +80,6 @@ After the plugin is installed you can access its dashboard from this page: `Tool
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
-
= 0.5.4 =
|
84 |
-
* Additional hook for custom slug
|
85 |
-
|
86 |
= 0.5.2/0.5.3 =
|
87 |
* Another hotfix
|
88 |
|
5 |
Tags: urls, permalinks, slugs, custom url, custom permalinks, uris, url, slug, permalink
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 4.7.2
|
8 |
+
Stable tag: 0.5.3
|
9 |
|
10 |
+
Permalink Manager helps to maintain and bulk regenerate or "find and replace" any word in your permalinks & slugs.
|
11 |
|
12 |
== Description ==
|
13 |
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
83 |
= 0.5.2/0.5.3 =
|
84 |
* Another hotfix
|
85 |
|
includes/core/permalink-manager-admin-functions.php
CHANGED
@@ -14,7 +14,7 @@ class Permalink_Manager_Admin_Functions extends Permalink_Manager_Class {
|
|
14 |
add_action( 'admin_init', array($this, 'init') );
|
15 |
|
16 |
// Allow to edit URIs in posts, pages & CPT elements
|
17 |
-
add_filter( 'get_sample_permalink_html', array($this, 'edit_uri_box'),
|
18 |
}
|
19 |
|
20 |
/**
|
14 |
add_action( 'admin_init', array($this, 'init') );
|
15 |
|
16 |
// Allow to edit URIs in posts, pages & CPT elements
|
17 |
+
add_filter( 'get_sample_permalink_html', array($this, 'edit_uri_box'), 999, 4 );
|
18 |
}
|
19 |
|
20 |
/**
|
includes/core/permalink-manager-post-uri-functions.php
CHANGED
@@ -130,7 +130,7 @@ class Permalink_Manager_Post_URI_Functions extends Permalink_Manager_Class {
|
|
130 |
}
|
131 |
|
132 |
// 2. Fix for hierarchical CPT (start)
|
133 |
-
$full_slug =
|
134 |
$post_type_tag = Permalink_Manager_Helper_Functions::get_post_tag($post_type);
|
135 |
|
136 |
// 3A. Do the replacement (post tag is removed now to enable support for hierarchical CPT)
|
130 |
}
|
131 |
|
132 |
// 2. Fix for hierarchical CPT (start)
|
133 |
+
$full_slug = get_page_uri($post);
|
134 |
$post_type_tag = Permalink_Manager_Helper_Functions::get_post_tag($post_type);
|
135 |
|
136 |
// 3A. Do the replacement (post tag is removed now to enable support for hierarchical CPT)
|
permalink-manager.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Permalink Manager
|
5 |
* Plugin URI: http://maciejbis.net/
|
6 |
* Description: A simple tool that allows to mass update of slugs that are used to build permalinks for Posts, Pages and Custom Post Types.
|
7 |
-
* Version: 0.5.
|
8 |
* Author: Maciej Bis
|
9 |
* Author URI: http://maciejbis.net/
|
10 |
* License: GPL-2.0+
|
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
20 |
// Define the directories used to load plugin files.
|
21 |
define( 'PERMALINK_MANAGER_PLUGIN_NAME', 'Permalink Manager' );
|
22 |
define( 'PERMALINK_MANAGER_PLUGIN_SLUG', 'permalink-manager' );
|
23 |
-
define( 'PERMALINK_MANAGER_VERSION', '0.5.
|
24 |
define( 'PERMALINK_MANAGER_DIR', untrailingslashit( dirname( __FILE__ ) ) );
|
25 |
define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__) );
|
26 |
define( 'PERMALINK_MANAGER_URL', untrailingslashit( plugins_url( '', __FILE__ ) ) );
|
4 |
* Plugin Name: Permalink Manager
|
5 |
* Plugin URI: http://maciejbis.net/
|
6 |
* Description: A simple tool that allows to mass update of slugs that are used to build permalinks for Posts, Pages and Custom Post Types.
|
7 |
+
* Version: 0.5.3
|
8 |
* Author: Maciej Bis
|
9 |
* Author URI: http://maciejbis.net/
|
10 |
* License: GPL-2.0+
|
20 |
// Define the directories used to load plugin files.
|
21 |
define( 'PERMALINK_MANAGER_PLUGIN_NAME', 'Permalink Manager' );
|
22 |
define( 'PERMALINK_MANAGER_PLUGIN_SLUG', 'permalink-manager' );
|
23 |
+
define( 'PERMALINK_MANAGER_VERSION', '0.5.3' );
|
24 |
define( 'PERMALINK_MANAGER_DIR', untrailingslashit( dirname( __FILE__ ) ) );
|
25 |
define( 'PERMALINK_MANAGER_BASENAME', plugin_basename(__FILE__) );
|
26 |
define( 'PERMALINK_MANAGER_URL', untrailingslashit( plugins_url( '', __FILE__ ) ) );
|