Remove [caption] shortcode from All in One SEO Pack in WordPress 2.6

Starting in WordPress 2.6, they’ve added captions to images that are automatically generated and use the Shortcode API to make it happen.  One side effect is that All in One SEO Pack isn’t set up to strip the caption from the automatically generated META tags, so you may end up with in your description.

Thanks to a WordPress Trac entry, I got the right regular expression to strip all shortcode in All in One plugin. Continue reading “Remove shortcode from All in One SEO Pack in WordPress 2.6″