Ticket #16496: 16496.3.patch
File 16496.3.patch, 717 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/post.php
1223 1223 } 1224 1224 1225 1225 $post_name_html = '<span id="editable-post-name" title="' . $title . '">' . $post_name_abridged . '</span>'; 1226 $display_link = str_replace( array( '%pagename%', '%postname%' ), $post_name_html, $permalink);1226 $display_link = str_replace( array( '%pagename%', '%postname%' ), $post_name_html, urldecode( $permalink ) ); 1227 1227 1228 1228 $return = '<strong>' . __( 'Permalink:' ) . "</strong>\n"; 1229 1229 $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n";