[wp-trac] Re: [WordPress Trac] #8752: get_permalink() bug
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 30 12:46:35 GMT 2008
#8752: get_permalink() bug
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7.1
Component: Permalinks | Version: 2.7
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------------+--------------------------------------------
Comment (by Denis-de-Bernardy):
Btw, I initially ran into the bug when I tried adding a filter to
option_home.
add_filter('option_home', 'user_trailingslashit', 30);
It seemed to make more sense that way, since http://www.domain.com gets
redirected by the canonical url stuff to http://www.domain.com/ when the
permalink structure has a trailing /.
--
Ticket URL: <http://trac.wordpress.org/ticket/8752#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list