WordPress.org

Make WordPress Core

Ticket #24330: 24330.patch

File 24330.patch, 458 bytes (added by johnjamesjacoby, 5 years ago)
  • wp-includes/post-formats.php

     
    941941
    942942        $extra = get_the_remaining_content( $more_link_text, $strip_teaser, $post->ID );
    943943
    944         remove_filter( 'the_content', 'post_formats_compat', 7 );
     944        remove_filter( 'the_content', 'post_formats_compat', 7, 2 );
    945945        $content = apply_filters( 'the_content', $extra, $post->ID );
    946946        add_filter( 'the_content', 'post_formats_compat', 7, 2 );
    947947