[wp-hackers] Addition to template-loader.php
Mike Schinkel
mikeschinkel at newclarity.net
Sat Apr 4 11:45:48 GMT 2009
Thanks, will do. I guess it is *finally* time for me to learn how. :)
-Mike Schinkel
Custom Wordpress Plugins
http://mikeschinkel.com/custom-wordpress-plugins
----- Original Message -----
From: "scribu" <scribu at gmail.com>
To: wp-hackers at lists.automattic.com
Sent: Saturday, April 4, 2009 7:41:03 AM GMT -05:00 US/Canada Eastern
Subject: Re: [wp-hackers] Addition to template-loader.php
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
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list