Forums
(@codebymikey)
6 years, 12 months ago
This is happening because $register->Register(); makes a call to @session_start(); as soon as the plugin is loaded, even if the user isn’t an admin user. It would be better if the register function was triggered by the admin_init action.
$register->Register();
@session_start();
admin_init
7 years ago
This is happening because $register->Register(); explicitly calls @session_start();. It would be better if it was triggered by the admin_init action.