Changeset 43011 for trunk/src/wp-includes/post.php
- Timestamp:
- 04/27/2018 05:30:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r43008 r43011 3981 3981 */ 3982 3982 function wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent ) { 3983 if ( in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) || ( 'inherit' == $post_status && 'revision' == $post_type ) ) {3983 if ( in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) || ( 'inherit' == $post_status && 'revision' == $post_type ) || 'user_request' === $post_type ) { 3984 3984 return $slug; 3985 3985 }
Note: See TracChangeset
for help on using the changeset viewer.