Is ther a way to Strip out Caption Tag in the 'WP Limit Posts Automatically' Plugin
Is ther a way to Strip out Caption Tag in the 'WP Limit Posts Automatically' Plugin
In 'wp-limit-posts-automatically.php', after this line:
$content2 = "<p>" . strip_tags($content, '');
... which shows up twice (for me, it's lines 41 & 94), add the line:
$content2 = ereg_replace("\[caption.*\[\/caption\]","", $content2);
Worked for me, best of luck.
This topic has been closed to new replies.