Also, I think testing `is_admin()` would be more appropriate.