[wp-trac] [WordPress Trac] #16496: Make $sample_permalink_html human-readable on Edit Post screen
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 6 12:00:32 UTC 2011
#16496: Make $sample_permalink_html human-readable on Edit Post screen
-------------------------+-----------------------------
Reporter: linuxologos | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Changes (by linuxologos):
* keywords: needs-patch => has-patch
Comment:
[attachment:16496.patch] urldecodes $sample_permalink_html upon
definition.[[BR]]
[attachment:16496.2.patch] urldecodes $sample_permalink_html just before
being echoed.
The latter can affect the Shortlink part and may not be desirable.
A third solution would be to alter the get_sample_permalink_html()
function in wp-admin/includes/post.php, but it doesn't sound as the best
solution.
The local $sample_permalink_html in wp-admin/edit-form-advanced.php is
definitely intended to be printed on screen, so it can and should be
human-readable.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16496#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list