[wp-trac] Re: [WordPress Trac] #6516: canonical redirect doesn't redirect ?name=slug

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 23 23:38:45 GMT 2009


#6516: canonical redirect doesn't redirect ?name=slug
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  markjaquith            
     Type:  enhancement        |      Status:  new                    
 Priority:  normal             |   Milestone:  2.8                    
Component:  Canonical          |     Version:  2.5                    
 Severity:  major              |    Keywords:  has-patch needs-testing
-------------------------------+--------------------------------------------

Comment(by DD32):

 > Can we not use get_queried_object_id() and pass that to get_permalink()?

 Yes, Yes we can. (Except that i'm not aware of the usage of function such
 as those :))

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


More information about the wp-trac mailing list