Fix for PHP Warnings
-
Currently PHP warnings are generated because the get_option fallback is boolean false by default but EML expects an array for the \wpuxss_eml_lib_options (line 462 of enhanced-media-library.php)
Currently:
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options');
Please update this to:
$wpuxss_eml_lib_options = get_option('wpuxss_eml_lib_options', array());
I’d be happy to provide a patch but I can’t find your source code on GitHub.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fix for PHP Warnings’ is closed to new replies.