From f4c5df18b4245ce8202b4a2c28c8510feb57805d Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 10 Mar 2009 02:14:42 +0000 Subject: [PATCH] Move hidden span so it's not copied together with the permalink git-svn-id: https://develop.svn.wordpress.org/trunk@10754 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/post.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 08ccfcb4cd..9c829f8576 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -988,11 +988,12 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { } } - $post_name_html = ''.$post_name_abridged.''.$post_name.''; + $post_name_html = '' . $post_name_abridged . ''; $display_link = str_replace(array('%pagename%','%postname%'), $post_name_html, $permalink); $view_link = str_replace(array('%pagename%','%postname%'), $post_name, $permalink); $return = '' . __('Permalink:') . "\n" . '' . $display_link . "\n"; $return .= '' . __('Edit') . "\n"; + $return .= '' . $post_name . "\n"; if ( isset($view_post) ) $return .= "$view_post\n";