diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index ec96749f46..f90effed3e 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1223,7 +1223,7 @@ 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 ); + $display_link = str_replace( array( '%pagename%', '%postname%' ), $post_name_html, urldecode( $permalink ) ); $return = '' . __( 'Permalink:' ) . "\n"; $return .= '' . $display_link . "\n";