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

WordPress Trac noreply at wordpress.org
Sun Mar 9 14:03:48 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 nacin):

 admin-ajax.php does a full load of the admin bootstrap so inlining it is
 fine. However, it should happen on include so a plugin could still de-
 register it on admin_init.

 I'm also going to go with priority 20, that way any existing usage of the
 hook on the default priority doesn't suddenly get moved around.

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


More information about the wp-trac mailing list