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

WordPress Trac noreply at wordpress.org
Thu Aug 15 14:48:36 UTC 2013


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

Comment (by sillybean):

 Otto beat me to it. Having the function return a blank is certainly not
 what most developers would expect. If there's no shorter link, it should
 just return the original link.

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


More information about the wp-trac mailing list