Changeset 23823 for trunk/wp-includes/post.php
- Timestamp:
- 03/27/2013 08:21:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r23740 r23823 3013 3013 */ 3014 3014 function wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent ) { 3015 if ( in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) )3015 if ( in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) || ( 'inherit' == $post_status && 'revision' == $post_type ) ) 3016 3016 return $slug; 3017 3017
Note: See TracChangeset
for help on using the changeset viewer.