[wp-trac] [WordPress Trac] #11731: single_post_title() Should Use Object ID Instead of post_name?

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 22:09:47 UTC 2010


#11731: single_post_title() Should Use Object ID Instead of post_name?
-------------------------+--------------------------------------------------
 Reporter:  miqrogroove  |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Template     |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
 Isn't it silly for single_post_title() to do its own post query?

 get_queried_object() should be adequate here?

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


More information about the wp-trac mailing list