WordPress.org

Make WordPress Core

Ticket #45290: 45290.diff

File 45290.diff, 799 bytes (added by nerrad, 22 months ago)
  • src/wp-includes/default-filters.php

    diff --git src/wp-includes/default-filters.php src/wp-includes/default-filters.php
    index dfc0508f05..6b05284d27 100644
    add_filter( 'the_title', 'trim' ); 
    174174add_filter( 'the_content', 'do_blocks',                      9 );
    175175add_filter( 'the_content', 'wptexturize'                       );
    176176add_filter( 'the_content', 'convert_smilies',               20 );
    177 add_filter( 'the_content', 'wpautop'                          );
     177add_filter( 'the_content', 'wpautop',                        8 );
    178178add_filter( 'the_content', 'shortcode_unautop'                 );
    179179add_filter( 'the_content', 'prepend_attachment'                );
    180180add_filter( 'the_content', 'wp_make_content_images_responsive' );