Version Description
-
May 22, 2018 =
- Enhancement
- Added Privacy Policy Content for WordPress 4.9.6 and higher.
Download this release
Release Info
Developer | sasiddiqui |
Plugin | Custom Permalinks |
Version | 1.2.23 |
Comparing to | |
See all releases |
Code changes from version 1.2.22 to 1.2.23
- admin/class-custom-permalinks-admin.php +28 -0
- changelog.txt +74 -0
- custom-permalinks.php +2 -2
- readme.txt +13 -76
admin/class-custom-permalinks-admin.php
CHANGED
@@ -13,6 +13,7 @@ class Custom_Permalinks_Admin {
|
|
13 |
add_filter( 'plugin_action_links_' . CUSTOM_PERMALINKS_BASENAME,
|
14 |
array( $this, 'settings_link' )
|
15 |
);
|
|
|
16 |
}
|
17 |
|
18 |
/**
|
@@ -554,4 +555,31 @@ class Custom_Permalinks_Admin {
|
|
554 |
|
555 |
return $links;
|
556 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
557 |
}
|
13 |
add_filter( 'plugin_action_links_' . CUSTOM_PERMALINKS_BASENAME,
|
14 |
array( $this, 'settings_link' )
|
15 |
);
|
16 |
+
add_action( 'admin_init', array( $this, 'cp_privacy_policy' ) );
|
17 |
}
|
18 |
|
19 |
/**
|
555 |
|
556 |
return $links;
|
557 |
}
|
558 |
+
|
559 |
+
/**
|
560 |
+
* Add Privacy Policy about the Plugin.
|
561 |
+
*
|
562 |
+
* @access public
|
563 |
+
* @since 1.2.23
|
564 |
+
* @return void
|
565 |
+
*/
|
566 |
+
public function cp_privacy_policy() {
|
567 |
+
if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
|
568 |
+
return;
|
569 |
+
}
|
570 |
+
|
571 |
+
$content = sprintf(
|
572 |
+
__( 'This plugin doesn\'t collects/store any user related information.
|
573 |
+
|
574 |
+
To have any kind of further query please feel free to
|
575 |
+
<a href="%s" target="_blank">contact us</a>.',
|
576 |
+
'custom-permalinks' ),
|
577 |
+
'https://www.custompermalinks.com/contact-us/'
|
578 |
+
);
|
579 |
+
|
580 |
+
wp_add_privacy_policy_content(
|
581 |
+
'Custom Permalinks',
|
582 |
+
wp_kses_post( wpautop( $content, false ) )
|
583 |
+
);
|
584 |
+
}
|
585 |
}
|
changelog.txt
CHANGED
@@ -2,6 +2,80 @@
|
|
2 |
|
3 |
This file contains only old changelog. See readme.txt for newer versions.
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
= 1.2.5 - Oct 17, 2017 =
|
6 |
|
7 |
* Fixed Category/Tag Update Issue + Typo on Admin Page
|
2 |
|
3 |
This file contains only old changelog. See readme.txt for newer versions.
|
4 |
|
5 |
+
= 1.2.19 - April 10, 2018 =
|
6 |
+
|
7 |
+
* Bugs
|
8 |
+
* Fixed undefined variable issue on PostTypes Permalinks page
|
9 |
+
* Fixed LIKE Query Issue
|
10 |
+
|
11 |
+
= 1.2.18 - April 05, 2018 =
|
12 |
+
|
13 |
+
* Enhancement
|
14 |
+
* Merged custom-permalinks-main.php with custom-permalinks.php
|
15 |
+
* Added uninstall.php
|
16 |
+
|
17 |
+
* Bugs
|
18 |
+
* Added feed redirect of default permalink
|
19 |
+
* Provide proper feed of custom permalink
|
20 |
+
|
21 |
+
= 1.2.17 - Feb 13, 2018 =
|
22 |
+
|
23 |
+
* Fixed Pagination Issue on Comments
|
24 |
+
* Optimize Post Pager Query
|
25 |
+
|
26 |
+
= 1.2.16 - Feb 09, 2018 =
|
27 |
+
|
28 |
+
* Added compatibility with Tasty Recipes Plugin
|
29 |
+
|
30 |
+
= 1.2.15 - Feb 08, 2018 =
|
31 |
+
|
32 |
+
* Added filter which can be used to add PATH_INFO in $_SERVER Variable
|
33 |
+
|
34 |
+
= 1.2.14 - Feb 07, 2018 =
|
35 |
+
|
36 |
+
* Enhancement
|
37 |
+
* Added PATH_INFO in $_SERVER Variable
|
38 |
+
|
39 |
+
* Bugs
|
40 |
+
* $this variable issue on static method
|
41 |
+
|
42 |
+
= 1.2.12 - Jan 25, 2018 =
|
43 |
+
|
44 |
+
* Fixed translation path and pager content issue
|
45 |
+
|
46 |
+
= 1.2.11 - Jan 24, 2018 =
|
47 |
+
|
48 |
+
* Fixed pager issue
|
49 |
+
|
50 |
+
= 1.2.10 - Jan 17, 2018 =
|
51 |
+
|
52 |
+
* Fixed Redirect Issue of Child Pages
|
53 |
+
|
54 |
+
= 1.2.9 - Jan 16, 2018 =
|
55 |
+
|
56 |
+
* Enhancements
|
57 |
+
* Added Filter to enable the like query
|
58 |
+
* Bugs
|
59 |
+
* PHP error displayed on all pages using custom permalinks
|
60 |
+
* Removed LIKE Query in default. It only works if the site uses PolyLang,
|
61 |
+
AMP Plugins or separately enabled using the provided filter.
|
62 |
+
|
63 |
+
= 1.2.8 - Nov 03, 2017 =
|
64 |
+
|
65 |
+
* Add Order by in request query
|
66 |
+
|
67 |
+
= 1.2.7 - Oct 27, 2017 =
|
68 |
+
|
69 |
+
* Fixed Parse Error
|
70 |
+
|
71 |
+
= 1.2.6 - Oct 27, 2017 =
|
72 |
+
|
73 |
+
* Enhancements
|
74 |
+
* Added Filter to Exclude Post types
|
75 |
+
* Bugs
|
76 |
+
* Fixed Query Issue on parse_request
|
77 |
+
* Resolving Issues with Cornerstone
|
78 |
+
|
79 |
= 1.2.5 - Oct 17, 2017 =
|
80 |
|
81 |
* Fixed Category/Tag Update Issue + Typo on Admin Page
|
custom-permalinks.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Custom Permalinks
|
4 |
* Plugin URI: https://wordpress.org/plugins/custom-permalinks/
|
5 |
* Description: Set custom permalinks on a per-post basis
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Sami Ahmed Siddiqui
|
8 |
* Author URI: https://www.custompermalinks.com/
|
9 |
* Donate link: https://www.paypal.me/yasglobal
|
@@ -64,7 +64,7 @@ class Custom_Permalinks {
|
|
64 |
}
|
65 |
|
66 |
if ( ! defined( 'CUSTOM_PERMALINKS_PLUGIN_VERSION' ) ) {
|
67 |
-
define( 'CUSTOM_PERMALINKS_PLUGIN_VERSION', '1.2.
|
68 |
}
|
69 |
|
70 |
if ( ! defined( 'CUSTOM_PERMALINKS_PATH' ) ) {
|
3 |
* Plugin Name: Custom Permalinks
|
4 |
* Plugin URI: https://wordpress.org/plugins/custom-permalinks/
|
5 |
* Description: Set custom permalinks on a per-post basis
|
6 |
+
* Version: 1.2.23
|
7 |
* Author: Sami Ahmed Siddiqui
|
8 |
* Author URI: https://www.custompermalinks.com/
|
9 |
* Donate link: https://www.paypal.me/yasglobal
|
64 |
}
|
65 |
|
66 |
if ( ! defined( 'CUSTOM_PERMALINKS_PLUGIN_VERSION' ) ) {
|
67 |
+
define( 'CUSTOM_PERMALINKS_PLUGIN_VERSION', '1.2.23' );
|
68 |
}
|
69 |
|
70 |
if ( ! defined( 'CUSTOM_PERMALINKS_PATH' ) ) {
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Custom Permalinks ===
|
2 |
Contributors: sasiddiqui, michaeltyson
|
3 |
Donate link: https://www.paypal.me/yasglobal
|
4 |
-
Tags: permalink, url, link, address, custom, redirect, custom post type
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl.html
|
10 |
|
@@ -25,6 +25,12 @@ within that category.
|
|
25 |
|
26 |
> If anyone wants the different Structure Tags for their Post types or use symbols in the URLs So, use the [Permalinks Customizer](https://wordpress.org/plugins/permalinks-customizer/) which is a fork of this plugin and contains the enhancement of this plugin.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
== Filters ==
|
29 |
|
30 |
Plugin provides some filter which maybe used according to your needs.
|
@@ -91,6 +97,11 @@ This process defines you the steps to follow either you are installing through W
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
|
|
|
|
94 |
= 1.2.22 - May 16, 2018 =
|
95 |
|
96 |
* Enhancement
|
@@ -114,80 +125,6 @@ This process defines you the steps to follow either you are installing through W
|
|
114 |
For further details:
|
115 |
https://wordpress.org/support/topic/page-not-found-404-errors-after-latest-update/
|
116 |
|
117 |
-
= 1.2.19 - April 10, 2018 =
|
118 |
-
|
119 |
-
* Bugs
|
120 |
-
* Fixed undefined variable issue on PostTypes Permalinks page
|
121 |
-
* Fixed LIKE Query Issue
|
122 |
-
|
123 |
-
= 1.2.18 - April 05, 2018 =
|
124 |
-
|
125 |
-
* Enhancement
|
126 |
-
* Merged custom-permalinks-main.php with custom-permalinks.php
|
127 |
-
* Added uninstall.php
|
128 |
-
|
129 |
-
* Bugs
|
130 |
-
* Added feed redirect of default permalink
|
131 |
-
* Provide proper feed of custom permalink
|
132 |
-
|
133 |
-
= 1.2.17 - Feb 13, 2018 =
|
134 |
-
|
135 |
-
* Fixed Pagination Issue on Comments
|
136 |
-
* Optimize Post Pager Query
|
137 |
-
|
138 |
-
= 1.2.16 - Feb 09, 2018 =
|
139 |
-
|
140 |
-
* Added compatibility with Tasty Recipes Plugin
|
141 |
-
|
142 |
-
= 1.2.15 - Feb 08, 2018 =
|
143 |
-
|
144 |
-
* Added filter which can be used to add PATH_INFO in $_SERVER Variable
|
145 |
-
|
146 |
-
= 1.2.14 - Feb 07, 2018 =
|
147 |
-
|
148 |
-
* Enhancement
|
149 |
-
* Added PATH_INFO in $_SERVER Variable
|
150 |
-
|
151 |
-
* Bugs
|
152 |
-
* $this variable issue on static method
|
153 |
-
|
154 |
-
= 1.2.12 - Jan 25, 2018 =
|
155 |
-
|
156 |
-
* Fixed translation path and pager content issue
|
157 |
-
|
158 |
-
= 1.2.11 - Jan 24, 2018 =
|
159 |
-
|
160 |
-
* Fixed pager issue
|
161 |
-
|
162 |
-
= 1.2.10 - Jan 17, 2018 =
|
163 |
-
|
164 |
-
* Fixed Redirect Issue of Child Pages
|
165 |
-
|
166 |
-
= 1.2.9 - Jan 16, 2018 =
|
167 |
-
|
168 |
-
* Enhancements
|
169 |
-
* Added Filter to enable the like query
|
170 |
-
* Bugs
|
171 |
-
* PHP error displayed on all pages using custom permalinks
|
172 |
-
* Removed LIKE Query in default. It only works if the site uses PolyLang,
|
173 |
-
AMP Plugins or separately enabled using the provided filter.
|
174 |
-
|
175 |
-
= 1.2.8 - Nov 03, 2017 =
|
176 |
-
|
177 |
-
* Add Order by in request query
|
178 |
-
|
179 |
-
= 1.2.7 - Oct 27, 2017 =
|
180 |
-
|
181 |
-
* Fixed Parse Error
|
182 |
-
|
183 |
-
= 1.2.6 - Oct 27, 2017 =
|
184 |
-
|
185 |
-
* Enhancements
|
186 |
-
* Added Filter to Exclude Post types
|
187 |
-
* Bugs
|
188 |
-
* Fixed Query Issue on parse_request
|
189 |
-
* Resolving Issues with Cornerstone
|
190 |
-
|
191 |
= Earlier versions =
|
192 |
|
193 |
* For the changelog of earlier versions, please refer to the separate changelog.txt file.
|
1 |
=== Custom Permalinks ===
|
2 |
Contributors: sasiddiqui, michaeltyson
|
3 |
Donate link: https://www.paypal.me/yasglobal
|
4 |
+
Tags: permalink, url, link, address, custom, redirect, custom post type, GDPR, GDPR Compliant
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.2.23
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl.html
|
10 |
|
25 |
|
26 |
> If anyone wants the different Structure Tags for their Post types or use symbols in the URLs So, use the [Permalinks Customizer](https://wordpress.org/plugins/permalinks-customizer/) which is a fork of this plugin and contains the enhancement of this plugin.
|
27 |
|
28 |
+
== Privacy Policy ==
|
29 |
+
|
30 |
+
This plugin doesn't collects/store any user related information.
|
31 |
+
|
32 |
+
To have any kind of further query please feel free to [contact us](https://www.custompermalinks.com/contact-us/).
|
33 |
+
|
34 |
== Filters ==
|
35 |
|
36 |
Plugin provides some filter which maybe used according to your needs.
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 1.2.23 - May 22, 2018 =
|
101 |
+
|
102 |
+
* Enhancement
|
103 |
+
* Added Privacy Policy Content for WordPress 4.9.6 and higher.
|
104 |
+
|
105 |
= 1.2.22 - May 16, 2018 =
|
106 |
|
107 |
* Enhancement
|
125 |
For further details:
|
126 |
https://wordpress.org/support/topic/page-not-found-404-errors-after-latest-update/
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
= Earlier versions =
|
129 |
|
130 |
* For the changelog of earlier versions, please refer to the separate changelog.txt file.
|