[wp-trac] [WordPress Trac] #26871: wp_get_shortlink() returns post link for the home page

WordPress Trac noreply at wordpress.org
Thu Mar 27 22:09:21 UTC 2014


#26871: wp_get_shortlink() returns post link for the home page
-------------------------------+------------------
 Reporter:  nacin              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  3.9
Component:  Posts, Post Types  |     Version:  3.7
 Severity:  normal             |  Resolution:
 Keywords:  has-patch commit   |     Focuses:
-------------------------------+------------------
Changes (by DH-Shredder):

 * keywords:  has-patch => has-patch commit


Comment:

 Verified that the Get Shortlink button is not supposed to show when the
 shortlink is equal to the permalink.

 [attachment:26871.diff] looks to work as described.

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


More information about the wp-trac mailing list