[wp-trac] [WordPress Trac] #22980: Get Shortlink button should be appended using the get_sample_permalink_html filter
WordPress Trac
noreply at wordpress.org
Mon Dec 17 18:39:43 UTC 2012
#22980: Get Shortlink button should be appended using the get_sample_permalink_html
filter
-----------------------------+-------------------------
Reporter: coreygilmore | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Editor
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+-------------------------
Currently the Get Shortlink button is appended directly to the output of
get_sample_permalink_html(), which makes it impossible (without CSS/JS) to
append items to the HTML.
The get_sample_permalink_html filter should be used inside of
[source:/trunk/wp-admin/edit-form-advanced.php?rev=23180#L334 edit-form-
advanced.php] so the user has complete control over the generated output.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22980>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list