Still works on 6.8.2
-
Since the last review from 2018 was/is a really negative one, I decided to add mine also. I’ve been using this plugin for ages now, and it still works.
There are some things that could be improved to make it more safe and more “2025”:- Sanitize All Shortcode Attributes: Use
sanitize_text_field()for all user-supplied attributes before use, even if you escape them on output. - Defensive Defaults: Ensure all attributes have safe defaults and are validated.
- Escaping: You already use
esc_url()andesc_html(), but also useesc_attr()for all HTML attributes. - Remove Deprecated PHP: The use of
&$thisinadd_shortcodeis not needed in modern PHP.
I don’t know how to suggest codechanges via SVN, but if the code is somewhere in github, I’m happy to provide them. And others: thank you for providing this plugin for free all those many years ago! 🙂
- Sanitize All Shortcode Attributes: Use
The topic ‘Still works on 6.8.2’ is closed to new replies.