From 7c018a31cfa935e89ab40b930eb557f1fb878354 Mon Sep 17 00:00:00 2001 From: azaozz 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: http://svn.automattic.com/wordpress/trunk@10754 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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";