I’d like to announce the official release of the updated Hide Broken Shortcodes plugin (v1.2) for WordPress.
Prevent broken shortcodes from appearing in posts and pages.
Minor update. Highlights: added hooks for customization; renamed class; re-prioritized hook to avoid conflict with other plugins; verified WP 3.0 compatibility.
For more details, instructions, and the download link, visit the plugin’s official homepage at :
Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.
Read more for a detailed ChangeLog of the release.
These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.
- Allow customization of the filters the plugin applies to via the ‘hide_broken_shortcodes_filters’ filter
- Change do_shortcode filter priority from 12 to 1001 (to avoid incompatibility with Preserve Code Formatting, and maybe others)
- Move registering filters into register_filters()
- Rename class from ‘HideBrokenShortcodes’ to ‘c2c_HideBrokenShortcodes’
- Store plugin instance in global variable, $c2c_hide_broken_shortcodes, to allow for external manipulation
- Note compatibility with WP 3.0+
- Minor code reformatting (spacing)
- Add Filters and Upgrade Notice sections to readme.txt
- Remove all header documentation and instructions from plugin file (all that and more are in readme.txt)
- Remove trailing whitespace from header docs