WordPress.org

Ready to get started?Download WordPress

Forums

WP Code Prettify
WP 3.5 bug (2 posts)

  1. nextendweb
    Member
    Posted 1 year ago #

    Hi!

    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:
    \wp-content\plugins\wp-code-prettify\wp-code-prettify.php

    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?

    http://wordpress.org/extend/plugins/wp-code-prettify/

  2. Soli
    Member
    Plugin Author

    Posted 1 year 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

About this Topic