custom unset wperror for WP < 4.0
add loggedout rewrite, fix register rewrite default value