Creating custom login errors
From quick look at the login screen code (ouch): add_action(‘login_head’,’ref_access’); function ref_access() { global $error; if( !empty($_GET[‘ref’]) && ‘access’ == $_GET[‘ref’] ) $error=”Restricted area, please login to continue.”; }