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

WordPress Trac noreply at wordpress.org
Sat Jan 18 21:51:24 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:  Post Types    |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 wp_get_shortlink() was changed in [25030] to return links for public post
 types. It doesn't account for pages on the front page, though. Patch
 attached.

 This was a regression from 3.6 -> 3.7.

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


More information about the wp-trac mailing list