Version Description
Download this release
Release Info
Developer | Toro_Unit |
Plugin | Custom Post Type Permalinks |
Version | 0.7.9.2 |
Comparing to | |
See all releases |
Code changes from version 0.7.9.1 to 0.7.9.2
- custom-post-type-permalinks.php +2 -2
- readme.txt +1 -1
custom-post-type-permalinks.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.torounit.com
|
|
5 |
Description: Add post archives of custom post type and customizable permalinks.
|
6 |
Author: Toro-Unit
|
7 |
Author URI: http://www.torounit.com/plugins/custom-post-type-permalinks/
|
8 |
-
Version: 0.7.9.
|
9 |
Text Domain: cptp
|
10 |
Domain Path: /
|
11 |
*/
|
@@ -153,7 +153,7 @@ class Custom_Post_Type_Permalinks {
|
|
153 |
$wp_rewrite->add_rewrite_tag( '%'.$post_type.'_page%', '([0-9]{1,}?)',"page=" );
|
154 |
|
155 |
$wp_rewrite->generate_rewrite_rules( $permalink, EP_NONE, true, true, true,true);
|
156 |
-
|
157 |
endforeach;
|
158 |
|
159 |
$taxonomies = get_taxonomies( array("show_ui" => true, "_builtin" => false), 'objects' );
|
5 |
Description: Add post archives of custom post type and customizable permalinks.
|
6 |
Author: Toro-Unit
|
7 |
Author URI: http://www.torounit.com/plugins/custom-post-type-permalinks/
|
8 |
+
Version: 0.7.9.2
|
9 |
Text Domain: cptp
|
10 |
Domain Path: /
|
11 |
*/
|
153 |
$wp_rewrite->add_rewrite_tag( '%'.$post_type.'_page%', '([0-9]{1,}?)',"page=" );
|
154 |
|
155 |
$wp_rewrite->generate_rewrite_rules( $permalink, EP_NONE, true, true, true,true);
|
156 |
+
$wp_rewrite->add_permastruct( $post_type, $permalink, false );
|
157 |
endforeach;
|
158 |
|
159 |
$taxonomies = get_taxonomies( array("show_ui" => true, "_builtin" => false), 'objects' );
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Toro_Unit
|
|
3 |
Tags: custom post type,permalink
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 3.4
|
6 |
-
Stable tag: 0.7.9.
|
7 |
|
8 |
Lets you edit the permalink of custom post type.
|
9 |
|
3 |
Tags: custom post type,permalink
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 3.4
|
6 |
+
Stable tag: 0.7.9.2
|
7 |
|
8 |
Lets you edit the permalink of custom post type.
|
9 |
|