[wp-trac] [WordPress Trac] #8975: redirect_canonical returns too
early when redirect_url cannot be determined
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 27 19:24:56 GMT 2009
#8975: redirect_canonical returns too early when redirect_url cannot be determined
--------------------------+-------------------------------------------------
Reporter: wnorris | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Permalinks | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
redirect_canoncial() returns if the value of $redirect_url is false,
before calling the 'redirect_canonical' filter. This prevents plugins
from being able to provide a proper redirect URL in the event that
WordPress is unable to. The second check AFTER the hook is called should
continue to check if $redirect_url is false, but the one BEFORE the hook
should not.
--
Ticket URL: <http://trac.wordpress.org/ticket/8975>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list