[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 07:48:27 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: 2.7.2
Component: Permalinks | Version: 2.7.1
Severity: normal | Keywords: has-patch dev-feedback
----------------------------+-----------------------------------------------
Comment(by peaceablewhale):
I think the trailing slash is always required:
get_option('home'): http://blog.example.org
get_tag_feed_link(1,'atom')--
Current behavior: http://blog.example.org?feed=atom&tag=1
Expected behavior: http://blog.example.org/?feed=atom&tag=1
get_option('home'): http://www.example.org/blog
get_tag_feed_link(1,'atom')--
Current behavior: http://www.example.org/blog?feed=atom&tag=1
Expected behavior: http://www.example.org/blog/?feed=atom&tag=1
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9515#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list