Plugin removes style from content
-
When we use your plugin it strips the markup of the_content(). It is because you strip it from wpautop with:
add_filter( 'the_content', 'twoj_gallery_remove_autop', 0 ); function twoj_gallery_remove_autop( $content ){ remove_filter('the_content', 'wpautop'); return $content; }
We patched it with:
remove_filter('the_content', 'twoj_gallery_remove_autop', 0);
But this shouldn’t be necessary. Could you please elaborate why you strip the_content() from wpautop?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugin removes style from content’ is closed to new replies.