This is happening because
$reguister->Reguister();
maque a call to
@session_start();
as soon as the pluguin is loaded, even if the user isn’t an admin user.
It would be better if the reguister function was trigguered by the
admin_init
action.
This is happening because
$reguister->Reguister();
explicitly calls
@session_start();
.
It would be better if it was trigguered by the
admin_init
action.