Changeset 6726 for trunk/wp-admin/includes/post.php
- Timestamp:
- 02/05/2008 06:47:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r6712 r6726 543 543 } 544 544 if (!is_null($name)) { 545 $post->post_name = sanitize_title($name, $post->ID); 545 $post->post_name = sanitize_title($name, $post->ID); 546 546 } 547 547 $permalink = get_permalink($post, true); … … 566 566 $display_link = str_replace('%postname%', $post_name_html, $permalink); 567 567 return $display_link; 568 } 568 } 569 569 570 570 ?>
Note: See TracChangeset
for help on using the changeset viewer.