[wp-trac] [WordPress Trac] #14760: wp_get_shortlink not working on pages

WordPress Trac noreply at wordpress.org
Thu Aug 15 20:08:07 UTC 2013


#14760: wp_get_shortlink not working on pages
--------------------------------------------------+------------------
 Reporter:  mattsay                               |       Owner:
     Type:  enhancement                           |      Status:  new
 Priority:  normal                                |   Milestone:  3.7
Component:  General                               |     Version:  3.0
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |
--------------------------------------------------+------------------

Comment (by ryan):

 In [changeset:"25030"]:
 {{{
 #!CommitTicketReference repository="" revision="25030"
 wp_get_shortlink() improvements.

 * Return shortlinks for pages and public CPTs.
 * Return shortlinks even when cruft-free links are not enabled.
 * Unit tests

 Props sillybean, layotte, cais
 fixes #18632
 see #14760
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/14760#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list