gitium
gitium copied to clipboard
Update the code to not use trigger error or error log in production
The Plugin Check https://wordpress.org/plugins/plugin-check/ reports the following messages:
| Type | Code | Message |
|---|---|---|
WARNING |
WordPress.PHP.DevelopmentFunctions.error_log_trigger_error |
trigger_error() found. Debug code should not normally be used in production. |
WARNING |
WordPress.PHP.DevelopmentFunctions.error_log_error_log |
error_log() found. Debug code should not normally be used in production. |