[wp-trac] [WordPress Trac] #13212: shortlink wp_get_shortlink fix

WordPress Trac wp-trac at lists.automattic.com
Sun May 2 14:41:11 UTC 2010


#13212: shortlink wp_get_shortlink fix
--------------------------+-------------------------------------------------
 Reporter:  ShaneF        |       Owner:                            
     Type:  defect (bug)  |      Status:  new                       
 Priority:  normal        |   Milestone:  3.0                       
Component:  General       |     Version:  3.0                       
 Severity:  normal        |    Keywords:  shortlink has-patch commit
--------------------------+-------------------------------------------------
 If inside the loop:
 {{{
 echo wp_get_shortlink();
 }}}
 ..it does not return anything. Have to add $id to the global to fix that.

 Fixed in patch. :)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13212>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list