Changeset 10754
- Timestamp:
- 03/10/2009 02:14:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r10749 r10754 989 989 } 990 990 991 $post_name_html = '<span id="editable-post-name" title="' .$title.'">'.$post_name_abridged.'</span><span id="editable-post-name-full">'.$post_name.'</span>';991 $post_name_html = '<span id="editable-post-name" title="' . $title . '">' . $post_name_abridged . '</span>'; 992 992 $display_link = str_replace(array('%pagename%','%postname%'), $post_name_html, $permalink); 993 993 $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink); 994 994 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink">' . $display_link . "</span>\n"; 995 995 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button" onclick="edit_permalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n"; 996 $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n"; 996 997 if ( isset($view_post) ) 997 998 $return .= "<span id='view-post-btn'><a href='$view_link' class='button' target='_blank'>$view_post</a></span>\n";
Note: See TracChangeset
for help on using the changeset viewer.