• I try to add

    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_excerpt', 'wpautop' );

    in the line 439 and 440 on wp-includes/formatting.php but it does not work.
    I would like to validate in html the site and it seems that wordpress add some </ p> which should not add and then I retrieve pages with 4 to 10 errors.
    I’ve read that the function of adding <p> </ p> <br> in car is called wpautop.
    Thank you.

Viewing 16 replies (of 16 total)
  • Thread Starter Centopino

    (@centopino)

    Yes, I tried a plugin at a time.
    Hope this can be useful to someone:
    Scan your website https://sitecheck.sucuri.net/ Malicious code name: “rogueads.unwanted_ads?1”
    In the database look for: WP_wfIssues to search the files-core mod, these are the infected files of my site:

    wp-includes/post.php ; readme.html ; wp-includes/post.php ; wp-includes/wp-vcd.php ; wp-includes/wp-tmp.php ; wp-includes/wp-feed.php ; wp-includes/class.wp.php ;

Viewing 16 replies (of 16 total)
  • The topic ‘I would like to remove wpautop from wordpress’ is closed to new replies.