Ticket #27059: 27059.2.patch
| File 27059.2.patch, 651 bytes (added by , 12 years ago) |
|---|
-
src/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 if ( current_user_can( 'read_post', $post->ID ) ) { 1086 $ptype = get_post_type_object( $post->post_type ); 1087 1087 $view_post = $ptype->labels->view_item; 1088 1088 $title = __('Click to edit this part of the permalink'); 1089 1089 } else {