[wp-trac] [WordPress Trac] #16929: pass the $type_of_url context param on user_trailingslashit() for CPT's

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 22 09:55:03 UTC 2011


#16929: pass the $type_of_url context param on user_trailingslashit() for CPT's
--------------------------+-----------------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Template      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by dd32):

 `redirect_canonical()` also passes url's through this filter, In the case
 of *all* single pages(including that of CPT's), the context is set to
 'single'.

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


More information about the wp-trac mailing list