fix notice clear_log is unset when WP_DEBUG is true