[wp-trac] Re: [WordPress Trac] #9455: Change template_redirect from
action to filter in template-loader.php
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 4 13:34:58 GMT 2009
#9455: Change template_redirect from action to filter in template-loader.php
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner: mikeschinkel
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Permalinks | Version: 2.8
Severity: normal | Keywords: template_redirect template-loader.php urls permalinks url-routing
--------------------------+-------------------------------------------------
Comment(by DD32):
> Why is it that way?
Its one of the easiest filters to use after WP has loaded and parsed
everything, and is ready to start outputting. when this action fires,
Plugins have everything at their disposal, and the theme hasnt displayed
anything yet, Very useful time to inspect and redirect if need be, or to
enqueue stuff that'll be needed (since you can see the posts now)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9455#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list