Changeset 6794 for trunk/wp-admin/includes/post.php
- Timestamp:
- 02/11/2008 11:19:09 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r6761 r6794 556 556 return ''; 557 557 } 558 $title = __(' You can edit this part of the permalink using the Edit button on the right');558 $title = __('Click to edit this part of the permalink'); 559 559 if (strlen($post_name) > 30) { 560 $post_name = substr($post_name, 0, 14). '…' . substr($post_name, -14); 561 } 562 $post_name_html = '<span id="editable-post-name" title="'.$title.'">'.$post_name.'</span>'; 560 $post_name_abridged = substr($post_name, 0, 14). '…' . substr($post_name, -14); 561 } else { 562 $post_name_abridged = $post_name; 563 } 564 $post_name_html = '<span id="editable-post-name" title="'.$title.'">'.$post_name_abridged.'</span><span id="editable-post-name-full">'.$post_name.'</span>'; 563 565 $display_link = str_replace('%postname%', $post_name_html, $permalink); 564 566 return $display_link;
Note: See TracChangeset
for help on using the changeset viewer.