Custom Post Type Permalinks - Version 0.9.1

Version Description

Download this release

Release Info

Developer Toro_Unit
Plugin Icon 128x128 Custom Post Type Permalinks
Version 0.9.1
Comparing to
See all releases

Code changes from version 0.9 to 0.9.1

Files changed (2) hide show
  1. custom-post-type-permalinks.php +1 -2
  2. readme.txt +2 -2
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.9
9
  Text Domain: cptp
10
  License: GPL2 or later
11
  Domain Path: /
@@ -319,7 +319,6 @@ class Custom_Post_Type_Permalinks {
319
  if(reset($terms)->parent == 0){
320
 
321
  $keys = array_keys($terms);
322
- var_dump($keys);
323
  $term = $terms[$keys[1]]->slug;
324
  if ( $terms[$keys[0]]->term_id == $terms[$keys[1]]->parent ) {
325
  $term = $this->get_taxonomy_parents( $terms[$keys[1]]->parent,$taxonomy, false, '/', true ) . $term;
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.9.1
9
  Text Domain: cptp
10
  License: GPL2 or later
11
  Domain Path: /
319
  if(reset($terms)->parent == 0){
320
 
321
  $keys = array_keys($terms);
 
322
  $term = $terms[$keys[1]]->slug;
323
  if ( $terms[$keys[0]]->term_id == $terms[$keys[1]]->parent ) {
324
  $term = $this->get_taxonomy_parents( $terms[$keys[1]]->parent,$taxonomy, false, '/', true ) . $term;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Toro_Unit
3
  Tags: permalink,permalinks,custom post type,custom taxonomy,cms
4
  Requires at least: 3.4
5
  Tested up to: 3.6
6
- Stable tag: 0.9
7
 
8
  Lets you edit the permalink of custom post type.
9
 
@@ -40,7 +40,7 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
40
  * Change hook custom post link.
41
  * Use Slug in wp_get_archive().
42
  * Fix attachment link.
43
- *
44
 
45
  = 0.8.7 =
46
  * Translate Bug Fix.
3
  Tags: permalink,permalinks,custom post type,custom taxonomy,cms
4
  Requires at least: 3.4
5
  Tested up to: 3.6
6
+ Stable tag: 0.9.1
7
 
8
  Lets you edit the permalink of custom post type.
9
 
40
  * Change hook custom post link.
41
  * Use Slug in wp_get_archive().
42
  * Fix attachment link.
43
+
44
 
45
  = 0.8.7 =
46
  * Translate Bug Fix.