I have no name!@wordpress-78f5777878-p4rwq:/opt/bitnami/wordpress$ cat /opt/bitnami/php/etc/php.ini | grep display_error
; display_errors
display_errors = Off
; separately from display_errors. We strongly recommend you set this to 'off'
I have no name!@wordpress-78f5777878-p4rwq:/opt/bitnami/wordpress$ cat /opt/bitnami/php/etc/php.ini | grep display_startup_errors
; display_startup_errors
display_startup_errors = Off
Notice on the MainWP Dashboard that it doesn't think PHP error reporting is disabled
Expected behavior
I would expect MainWP to perform case insensitive checks for things like these security settings.
Describe the bug Today, Security checks appear to be case sensitive; Example: https://github.com/mainwp/mainwp-child/blob/1c176473001fd698e810434463a9e06cff42ebd6/class/class-mainwp-security.php#L454 looks only for
off
, but doesn't account for things likeOff
orOFF
To Reproduce Steps to reproduce the behavior:
Expected behavior I would expect MainWP to perform case insensitive checks for things like these security settings.
Screenshots