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
45 stars 2 forks source link

Can't update secondary button text #2

Closed joppuyo closed 1 year ago

joppuyo commented 1 year ago

Hey! Thanks for this great plugin. It's exactly what I was looking for.

However, I noticed that there's an issue where the secondary button text cannot be changed. The secondary button overwrites the primary button text when text is entered in the field.

It looks like there is a typo in this file: https://github.com/pressidium/pressidium-cookie-consent/blob/a14cc38d78e0f06863f2408a1f05c9a178bb342c/src/admin/store/reducer.js#L334

So it should be relatively easy to fix.

over-engineer commented 1 year ago

Hey, @joppuyo!

Thank you for your kind words and for spotting that issue! We appreciate you taking the time to report it.

The issue was fixed in 1.0.2, which was just released on the Plugin Directory.

joppuyo commented 1 year ago

I updated to the latest version and now I can update the button text as expected. Thank you for the fast response!