WP Code Prettify
[resolved] WP 3.5 bug (2 posts)

  1. nextendweb
    Posted 2 years ago #


    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?


  2. Soli
    Plugin Author

    Posted 2 years ago #

    I'm sorry, I am very busy these days, but I will fix this as soon as I have time.
    Thanks for your feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Code Prettify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic