Skip to content

Commit

Permalink
Bump to v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
samiahmedsiddiqui committed Aug 2, 2021
1 parent 2b67227 commit acce33d
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 5 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@ function yasglobal_exclude_posts( $post ) {
add_filter( 'custom_permalinks_exclude_posts', 'yasglobal_exclude_posts' );
```

### Allow Accents Letters

To allow accents letters, please add below-mentioned line in your theme `functions.php`:

```php
function yasglobal_permalink_allow_accents() {
return true;
}
add_filter( 'custom_permalinks_allow_accents', 'yasglobal_permalink_allow_accents' );
```

### Allow Uppercase Letters

To allow uppercase letters/words, please add below-mentioned line in your theme `functions.php`:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion custom-permalinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Custom Permalinks
* Plugin URI: https://www.custompermalinks.com/
* Description: Set custom permalinks on a per-post basis.
* Version: 2.0.0
* Version: 2.0.1
* Requires at least: 2.6
* Requires PHP: 5.4
* Author: Sami Ahmed Siddiqui
Expand Down
2 changes: 1 addition & 1 deletion includes/class-custom-permalinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Custom_Permalinks {
*
* @var string
*/
public $version = '2.0.0';
public $version = '2.0.1';

/**
* Class constructor.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"gulp-uglify": "3.0.2"
},
"customPermalinks": {
"pluginVersion": "2.0.0"
"pluginVersion": "2.0.1"
}
}
21 changes: 19 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=== Custom Permalinks ===
Contributors: sasiddiqui, michaeltyson
Contributors: sasiddiqui
Tags: permalink, url, link, address, custom, redirect, custom post type, GDPR, GDPR Compliant
Tested up to: 5.8
Stable tag: 2.0.0
Stable tag: 2.0.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -115,6 +115,17 @@ function yasglobal_exclude_posts( $post ) {
add_filter( 'custom_permalinks_exclude_posts', 'yasglobal_exclude_posts' );
`

=== Allow Accents Letters ===

To allow accents letters, please add below-mentioned line in your theme `functions.php`:

`
function yasglobal_permalink_allow_accents() {
return true;
}
add_filter( 'custom_permalinks_allow_accents', 'yasglobal_permalink_allow_accents' );
`

=== Allow Uppercase Letters ===

To allow uppercase letters/words, please add below-mentioned line in your theme `functions.php`:
Expand Down Expand Up @@ -177,6 +188,12 @@ This process defines you the steps to follow either you are installing through W

== Changelog ==

= 2.0.1 - Aug 02, 2021 =

* Bugs
* [Plugin not save persian alphabet](https://wordpress.org/support/topic/plugin-not-save-persian-alphabet/)
* [404 error when post/page custom permalink is part of category custom permalink](https://github.com/samiahmedsiddiqui/custom-permalinks/issues/49)

= 2.0.0 - Jul 30, 2021 =

* Bugs
Expand Down

0 comments on commit acce33d

Please sign in to comment.