pressidium / pressidium-cookie-consent

🍪 Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
https://wordpress.org/plugins/pressidium-cookie-consent/
GNU General Public License v2.0
53 stars 4 forks source link

Empty blocked script breaks other scripts #41

Closed williarin closed 12 months ago

williarin commented 12 months ago

Hello,

In Blocked Scripts section, if we add a row then save the form without filling a script name, it breaks the frontend because some scripts can't be loaded anymore.

A solution would be to add a required attribute on the input, or to automatically erase empty rows upon saving.

over-engineer commented 12 months ago

Hey, @williarin!

Good catch! Thanks for spotting and reporting that.

This issue was address in 1.3.0, which was just released on the Plugin Directory.

williarin commented 12 months ago

Thank you! Hands down the best cookie consent plugin I ever encountered.