[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:11:43 UTC 2014


#22980: Get Shortlink button should be appended using the get_sample_permalink_html
filter
--------------------------+----------------------
 Reporter:  coreygilmore  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  3.5
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  3.9 =>


Comment:

 I was about two keystrokes from committing this when I realized the filter
 in get_sample_permalink_html() should be for the sample permalink HTML
 only. Not a shortlink or, for that matter, the View Post button.

 Really what we need is a new hook for all three of these to be latched
 onto, which would fix #22980 (this), #16478, and #16477. This change is
 opposite of what's being proposed in #16477 which gave me the initial
 pause. Closing as wontfix — this should be addressed in #16477 and #16478,
 both also slated for 3.9.

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


More information about the wp-trac mailing list