function check_referrer() { if (!isset($_SERVER['HTTP_REFERER']) || $_SERVER['HTTP_REFERER'] == “”) { wp_die( __('Please enable referrers in your browser, or, if you\'re a spammer, bugger off!') ); } } add_action('check_comment_flood', 'check_referrer'); Comments on: Restful Authentication with all the bells and whistles http://www.darkhelmetlive.com/blog/2008/04/18/restful-authentication-with-all-the-bells-and-whistles programming, video games, love, and in between Thu, 08 Jan 2009 22:44:00 +0000 http://wordpress.org/?v=2.7 hourly 1