Somehow with WordPress 3.5 the line-breaks removed from the code and some <p> tags appear in the code.
My fast solution was this problem is to change the add_filter priority to 1:
add_filter('the_content', array(&$wpcodeprettify, 'WPCP_Content'), 1); add_filter('comment_text', array(&$wpcodeprettify, 'WPCP_Content'), 1);
What do you think, is it the real solution?
- The topic ‘WP 3.5 bug’ is closed to new replies.