diff --git a/wp-includes/post.php b/wp-includes/post.php
index ac29d9628f..f368dffcb2 100644
|
a
|
b
|
function check_and_publish_future_post( $post_id ) {
|
| 4123 | 4123 | */ |
| 4124 | 4124 | function wp_unique_post_slug( $slug, $post_ID, $post_status, $post_type, $post_parent ) { |
| 4125 | 4125 | if ( in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) || ( 'inherit' == $post_status && 'revision' == $post_type ) || 'user_request' === $post_type ) { |
| 4126 | | return $slug; |
| | 4126 | return ''; |
| 4127 | 4127 | } |
| 4128 | 4128 | |
| 4129 | 4129 | /** |