Conversation
supportYour plugin has 4 mentions of: error_reporting(0); Two of them cause all WordPress errors being supressed, even if WP_DEBUG is true. This makes it hard for developers like me to find issues, please fix this. The two mentions causing the issue are in: /admin-custom-login/init.php /admin-custom-login/login-form-screen.php There are two more, but they don’t seem to give any problem right now: /admin-custom-login/installation.php /admin-custom-login/includes/login-inline-css.php Thanks!
Hi @emiel9d , Thank you very much for bringing this to our attention! You are completely correct. Hardcoding error_reporting(0); inside a plugin is bad practice as it overrides custom developer configurations and suppresses critical WordPress errors (like when WP_DEBUG is active), making debugging incredibly difficult. We have addressed this issue immediately. We went ahead and completely removed all 4 instances of error_reporting(0); across all the files you mentioned: init.php login-form-screen.php installation.php includes/login-inline-css.php These changes have been released in the latest version 3.6.6. Please update the plugin, and you should no longer experience forced error suppression. Thank you again for helping us make the plugin better and more developer-friendly!
Hi @emiel9d , Thank you very much for bringing this to our attention! You are completely correct. Hardcoding error_reporting(0); inside a plugin is bad practice as it overrides custom developer configurations and suppresses critical WordPress errors (like when WP_DEBUG is active), making debugging incredibly difficult. We have addressed this issue immediately. We went ahead and completely removed all 4 instances of error_reporting(0); across all the files you mentioned: init.php login-form-screen.php installation.php includes/login-inline-css.php These changes have been released in the latest version 3.6.6. Please update the plugin, and you should no longer experience forced error suppression. Thank you again for helping us make the plugin better and more developer-friendly!