BoldGrid / w3-total-cache

GNU General Public License v2.0
153 stars 86 forks source link

Remove CSS/JS error/warning fixes #906

Closed jacobd91 closed 5 months ago

jacobd91 commented 5 months ago

When no singles are defined, the singles block would throw an error when displaying due to how it saves a completely blank section. A check was added to skip processing if the sub-config wasn't an array

This PR also addresses a PHP warning that is thrown for textarea settings that were blank and removes some duplicated hook calls for the Remove CSS/JS feature