[wp-trac] [WordPress Trac] #22980: Get Shortlink button should be appended using the get_sample_permalink_html filter

WordPress Trac noreply at wordpress.org
Sat Mar 8 05:16:19 UTC 2014


#22980: Get Shortlink button should be appended using the get_sample_permalink_html
filter
--------------------------+------------------
 Reporter:  coreygilmore  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Editor        |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by jeremyfelt):

 [https://core.trac.wordpress.org/attachment/ticket/22980/22980.diff
 22980.diff] refreshes @coreygilmore's patch against the latest trunk and
 adapts it to other recent changes in `edit-form-advanced.php`.

 I put the filter in `default-filters.php` as it needs to run on an ajax
 request as well to be completely effective. When the filter is enabled
 here, both this ticket and #16478 are resolved for me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22980#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list