[wp-trac] Re: [WordPress Trac] #9515: feed_link functions should add a slash before the query when permalink structure is default

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 12 03:25:15 GMT 2009


#9515: feed_link functions should add a slash before the query when permalink
structure is default
----------------------------+-----------------------------------------------
 Reporter:  peaceablewhale  |       Owner:  ryan      
     Type:  defect (bug)    |      Status:  new       
 Priority:  normal          |   Milestone:  Unassigned
Component:  Permalinks      |     Version:  2.7.1     
 Severity:  normal          |    Keywords:  has-patch 
----------------------------+-----------------------------------------------

Comment(by DD32):

 {{{get_option('home')}}} might already have a trailing slash.

 {{{trailingslashit( get_option('home') )}}} would be the correct way of
 doing it in that case.

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


More information about the wp-trac mailing list