Skip to content

Commit 6add216

Browse files
Bump to v2.4.0
1 parent 6614c17 commit 6add216

7 files changed

+64
-43
lines changed
File renamed without changes.
File renamed without changes.

changelog.txt

+39
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
This file contains only old changelog. See readme.txt for newer versions.
44

5+
= 2.2.0 - Aug 13, 2021 =
6+
7+
* Bugs
8+
* Show decoded permalink in meta box
9+
* Enhancements
10+
* Update script to fix linting issues and use updated permalink to view the post/page
11+
12+
= 2.1.0 - Aug 09, 2021 =
13+
14+
* Bugs
15+
* [Plugin not save persian alphabet](https://wordpress.org/support/topic/plugin-not-save-persian-alphabet/)
16+
* Fix PHP Error on Deactivating the plugin
17+
* Enhancements
18+
* Exclude processing for sitemap URLs
19+
20+
= 2.0.1 - Aug 02, 2021 =
21+
22+
* Bugs
23+
* [404 error when post/page custom permalink is part of category custom permalink](https://github.com/samiahmedsiddiqui/custom-permalinks/issues/49)
24+
25+
= 2.0.0 - Jul 30, 2021 =
26+
27+
* Bugs
28+
* [Bug with AMP plugin](https://wordpress.org/support/topic/bug-with-amp-plugin/)
29+
* [Oembed links not working](https://wordpress.org/support/topic/oembed-links-not-working/)
30+
* [Uncaught (in promise) TypeError: getHomeURL is null](https://wordpress.org/support/topic/uncaught-in-promise-typeerror-gethomeurl-is-null/)
31+
* [Plugin stop saving uppercase slugs](https://wordpress.org/support/topic/plugin-stop-saving-upppercase-slugs/)
32+
* [template_redirect](https://wordpress.org/support/topic/make-redirect/)
33+
* conflict with WooCommerce Paid courses
34+
* Fix creating duplicated permalink while creating multiple `Categories` and/or `Tags`
35+
* Enhancements
36+
* Added Query caching to improve performance
37+
* Changed Permalink sanitization method (Similar way as WP does)
38+
* Added Nonce verification to make forms secure
39+
* [Permalink Filter before saving](https://wordpress.org/support/topic/permalink-filter/)
40+
* Show/Hide column and Pagination features added on Post Type Permalinks and Taxonomies Permalinks page
41+
* Removed deprecated functions
42+
* Applied WPCS Standards
43+
544
= 1.7.1 - Aug 30, 2020 =
645

746
* Bugs

custom-permalinks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Custom Permalinks
44
* Plugin URI: https://www.custompermalinks.com/
55
* Description: Set custom permalinks on a per-post basis.
6-
* Version: 2.3.0
6+
* Version: 2.4.0
77
* Requires at least: 2.6
88
* Requires PHP: 5.4
99
* Author: Sami Ahmed Siddiqui

includes/class-custom-permalinks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Custom_Permalinks {
1818
*
1919
* @var string
2020
*/
21-
public $version = '2.3.0';
21+
public $version = '2.4.0';
2222

2323
/**
2424
* Class constructor.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"gulp-uglify": "3.0.2"
2929
},
3030
"customPermalinks": {
31-
"pluginVersion": "2.3.0"
31+
"pluginVersion": "2.4.0"
3232
}
3333
}

readme.txt

+22-40
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: sasiddiqui
33
Tags: permalink, url, link, address, custom, redirect, custom post type, GDPR, GDPR Compliant
44
Tested up to: 5.8
5-
Stable tag: 2.3.0
5+
Stable tag: 2.4.0
66
License: GPLv3
77
License URI: https://www.gnu.org/licenses/gpl-3.0.html
88

@@ -137,6 +137,17 @@ function yasglobal_allow_uppercaps() {
137137
add_filter( 'custom_permalinks_allow_caps', 'yasglobal_allow_uppercaps' );
138138
`
139139

140+
=== Allow Redundant Hyphens ===
141+
142+
To allow redundant hyphens, please add below-mentioned line in your theme `functions.php`:
143+
144+
`
145+
function yasglobal_redundant_hyphens() {
146+
return true;
147+
}
148+
add_filter( 'custom_permalinks_redundant_hyphens', 'yasglobal_redundant_hyphens' );
149+
`
150+
140151
=== Manipulate Permalink Before Saving ===
141152

142153
To make changes in permalink before saving, please use `custom_permalink_before_saving` filter. Here is an example to see how it works.
@@ -188,6 +199,16 @@ This process defines you the steps to follow either you are installing through W
188199

189200
== Changelog ==
190201

202+
= 2.4.0 - Nov 26, 2021 =
203+
204+
* Bugs
205+
* [filter for leading special characters](https://wordpress.org/support/topic/filter-for-leading-special-characters/)
206+
* [“search Permalinks” button doesn’t work. (part2)](https://wordpress.org/support/topic/search-permalinks-button-doesnt-work-part2/)
207+
* [PHP 8 errors on first visit of Taxonomy Permalinks tab](https://github.com/samiahmedsiddiqui/custom-permalinks/issues/59)
208+
* [Notice: Undefined variable: site_url in custom-permalinks/admin/class-custom-permalinks-post-types-table.php on line 306](https://github.com/samiahmedsiddiqui/custom-permalinks/issues/56)
209+
* Enhancements
210+
* [Pending Post Preview Link](https://wordpress.org/support/topic/pending-post-preview-link/)
211+
191212
= 2.3.0 - Sep 21, 2021 =
192213

193214
* Bugs
@@ -198,45 +219,6 @@ This process defines you the steps to follow either you are installing through W
198219
* Enhancements
199220
* Allow period in the permalink
200221

201-
= 2.2.0 - Aug 13, 2021 =
202-
203-
* Bugs
204-
* Show decoded permalink in meta box
205-
* Enhancements
206-
* Update script to fix linting issues and use updated permalink to view the post/page
207-
208-
= 2.1.0 - Aug 09, 2021 =
209-
210-
* Bugs
211-
* [Plugin not save persian alphabet](https://wordpress.org/support/topic/plugin-not-save-persian-alphabet/)
212-
* Fix PHP Error on Deactivating the plugin
213-
* Enhancements
214-
* Exclude processing for sitemap URLs
215-
216-
= 2.0.1 - Aug 02, 2021 =
217-
218-
* Bugs
219-
* [404 error when post/page custom permalink is part of category custom permalink](https://github.com/samiahmedsiddiqui/custom-permalinks/issues/49)
220-
221-
= 2.0.0 - Jul 30, 2021 =
222-
223-
* Bugs
224-
* [Bug with AMP plugin](https://wordpress.org/support/topic/bug-with-amp-plugin/)
225-
* [Oembed links not working](https://wordpress.org/support/topic/oembed-links-not-working/)
226-
* [Uncaught (in promise) TypeError: getHomeURL is null](https://wordpress.org/support/topic/uncaught-in-promise-typeerror-gethomeurl-is-null/)
227-
* [Plugin stop saving uppercase slugs](https://wordpress.org/support/topic/plugin-stop-saving-upppercase-slugs/)
228-
* [template_redirect](https://wordpress.org/support/topic/make-redirect/)
229-
* conflict with WooCommerce Paid courses
230-
* Fix creating duplicated permalink while creating multiple `Categories` and/or `Tags`
231-
* Enhancements
232-
* Added Query caching to improve performance
233-
* Changed Permalink sanitization method (Similar way as WP does)
234-
* Added Nonce verification to make forms secure
235-
* [Permalink Filter before saving](https://wordpress.org/support/topic/permalink-filter/)
236-
* Show/Hide column and Pagination features added on Post Type Permalinks and Taxonomies Permalinks page
237-
* Removed deprecated functions
238-
* Applied WPCS Standards
239-
240222
= Earlier versions =
241223

242224
* For the changelog of earlier versions, please refer to the separate changelog.txt file.

0 commit comments

Comments
 (0)