From eeaa9c307ea7d1050cae9a7e29a475a12e86a5fb Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 4 Feb 2010 16:45:55 +0000 Subject: [PATCH] Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919 git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/post.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 8324ac2aea..f16e46ce34 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1071,7 +1071,9 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { $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 = '' . __('Permalink:') . "\n"; + $return .= '' . $display_link . "\n"; + $return .= '‎'; // Fix bi-directional text display defect in RTL languages. $return .= '' . __('Edit') . "\n"; $return .= '' . $post_name . "\n"; if ( isset($view_post) )