Fix back-end dashboard fatal; use admin_init for backend, wp for front-end