[wp-trac] Re: [WordPress Trac] #4550: Category RSS feed function broken with URL rewrites

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 27 23:34:27 GMT 2007


#4550: Category RSS feed function broken with URL rewrites
--------------------------+-------------------------------------------------
 Reporter:  gwagenknecht  |        Owner:  markjaquith
     Type:  defect        |       Status:  assigned   
 Priority:  normal        |    Milestone:  2.3 (trunk)
Component:  General       |      Version:  2.2.1      
 Severity:  normal        |   Resolution:             
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by markjaquith):

  * owner:  anonymous => markjaquith
  * status:  new => assigned

Comment:

 Westi, but in that case, people who DO have trailing slashes will get:

 {{{
 http://example.com/category/foo//feed/
 }}}

 If we're adding something to the end of the URL, we must use
 {{{trailingslashit()}}} on the previous part.  And then we use
 {{{user_trailingslashit()}}} on the last part.  See patch.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4550#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list