Categories
Package/plugin/module WordPress

Hide Broken Shortcodes v1.1

I’d like to announce the official release of the updated Hide Broken Shortcodes plugin (v1.1) for WordPress.

Prevent broken shortcodes from appearing in posts and pages.

This release adds a filter, ‘hide_broken_shortcode’, to allow customization of the output for broken shortcodes; widget_text is also now filtered by the plugin. WordPress 2.9+ compatibility has been noted code documentation was added, and the copyright date was updated.

For more details, instructions, and the download link, visit the plugin’s official homepage at :
coffee2code.com/wp-plugins/hide-broken-shortcodes.

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.

Detailed ChangeLog

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.

  • Create filter ‘hide_broken_shortcode’ to allow customization of the output for broken shortcodes
  • Now also filter widget_text
  • Add PHPDoc documentation
  • Note compatibility with WP 2.9+
  • Update copyright date

2 replies on “Hide Broken Shortcodes v1.1”

Hi, have you come across a method for replacing the shortcode permanently with the content it generates? I’ve used tantan flickr that “caches” the generated content as a customfield, but I have a case where I want to pull inn an article from and old publishing system and simply replace the shortcode with this content, and thats it. I thought that would be a nice function for others as well, for instance if you wanted to “retire” a wordpress blog, and archive it. To minimize the risk of shortcode content dying you could pull it in and store it as part of the post content.