Ticket #27059: 27059.patch
| File 27059.patch, 726 bytes (added by , 12 years ago) |
|---|
-
wp-admin/includes/post.php
1082 1082 1083 1083 list($permalink, $post_name) = get_sample_permalink($post->ID, $new_title, $new_slug); 1084 1084 1085 if ( 'publish' == get_post_status( $post ) ) {1086 $ptype = get_post_type_object($post->post_type);1085 $ptype = get_post_type_object($post->post_type); 1086 if ( 'publish' == get_post_status( $post ) || ( 'private' == get_post_status( $post ) && current_user_can( $ptype->cap->read_private_posts ) ) ) { 1087 1087 $view_post = $ptype->labels->view_item; 1088 1088 $title = __('Click to edit this part of the permalink'); 1089 1089 } else {