- 0259B97C471CEA621CC846A3C22AB4E8E160F88D44CFB8720A518FE7813EA79831ECFA85C08A8BCB91915DED8D462C90296940787DA889D2EE8BC8D603A839D5+ 0F56A6D784E662B0FFFCE0FE0EC9277715912422E89A577D4C614C07B044C49672357BA556355D0308F7B09CAF3AC7F6D62E45C4427A813221525323C8D8EA58mp-wp/wp-admin/includes/post.php(926 . 6)(926 . 7)
24825 $post->post_status = $original_status;
24826 $post->post_date = $original_date;
24827 $post->post_name = $original_name;
24828
24829 return $permalink;
24830 }
24831
(945 . 24)(946 . 8)
24833 if (false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%')) {
24834 return '';
24835 }
24836 $title = __('Click to edit this part of the permalink');
24837 if (function_exists('mb_strlen')) {
24838 if (mb_strlen($post_name) > 30) {
24839 $post_name_abridged = mb_substr($post_name, 0, 14). '…' . mb_substr($post_name, -14);
24840 } else {
24841 $post_name_abridged = $post_name;
24842 }
24843 } else {
24844 if (strlen($post_name) > 30) {
24845 $post_name_abridged = substr($post_name, 0, 14). '…' . substr($post_name, -14);
24846 } else {
24847 $post_name_abridged = $post_name;
24848 }
24849 }
24850 $post_name_html = '<span id="editable-post-name" title="'.$title.'">'.$post_name_abridged.'</span><span id="editable-post-name-full">'.$post_name.'</span>';
24851 $display_link = str_replace(array('%pagename%','%postname%'), $post_name_html, $permalink);
24852 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink">' . $display_link . "</span>\n";
24853 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button" onclick="edit_permalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";
24854 $display_link = str_replace(array('%pagename%/','%postname%/'), '', $permalink);
24855 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink">' . $display_link . "</span>".'<input type="text" id="new-post-slug" name="post_name" value="' . $post_name . '" />';
24856 return $return;
24857 }
24858