V2 contain breaking changes
-
V2.0 of this plugin contains a breaking change. It is part of the recent XSS fix did on the settings page. Even though only a user with ‘manage_options’ capability(by default only Administrator role has this capability) can do this XSS, this is needed as per the “WordPress Plugin Review Team”.
What is changing?
Message text no longer allow script tags. If you already have script tags in your notification bar message, they will be removed before displaying the message.Why is this change needed?
This change is needed as per the directions from “WordPress Plugin Review Team”. As per them, Administrators can be tricked into entering malicious code in this field by clicking on a link.Is there a way to allow script tags?
Yes, use the ‘wpfront_notification_bar_message’ filter to set your message.My message text doesn’t contain script tags. Is there anything else I need to do?
No. If your notification bar message doesn’t contain script tags(<script>, </script>), then there is nothing you need to do. Everything will work as usual.
- The topic ‘V2 contain breaking changes’ is closed to new replies.