[wp-hackers] is_feed() broken ?
Ozh
ozh at planetozh.com
Fri Jan 25 12:55:15 GMT 2008
Hello guys
I don't get how is_feed() is supposed to work. Consider the following
in a plugin:
add_action('init', 'breakfeed');
function breakfeed() {
if (is_feed()) die('moo');
}
I wasn't able to get the breakfeed() function triggered:
site.com/feed/, site.com/wp-feed.php etc work as usual.
What am I missing ?
--
http://FrenchFragFactory.net ~ Daily Quake News
http://planetOzh.com ~ Blog and WordPress Stuff
More information about the wp-hackers
mailing list