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

WordPress Trac noreply at wordpress.org
Fri Mar 28 02:58:55 UTC 2014


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

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27802"]:
 {{{
 #!CommitTicketReference repository="" revision="27802"
 Shortlinks: Use the home URL for a page on front.

 This will result in 'Get Shortlink' hiding by default, as it will match
 the permalink (also the home URL).

 fixes #26871.
 }}}

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


More information about the wp-trac mailing list