[wp-hackers] Addition to template-loader.php
    scribu 
    scribu at gmail.com
       
    Sat Apr  4 11:41:03 GMT 2009
    
    
  
On Fri, Apr 3, 2009 at 8:01 PM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:
> Given my learning more about template_redirect here's what I'd ask for
> instead which should be backward compatible. Add the following code in place
> of "if ( is_robots() )":
>
>        if (apply_filters('template_redirect',null)===false) {
>                return;
>        } else if ( is_robots() ) {
>
+1. You should make a trac ticket with this patch.
-- 
http://scribu.net
    
    
More information about the wp-hackers
mailing list