[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 14:06:23 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 scribu):

 Replying to [comment:4 DD32]:
 > 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)

 Thanks for the explanation.

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


More information about the wp-trac mailing list