WordPress.org

Make WordPress Core

Ticket #3670: post-template.php.diff

File post-template.php.diff, 544 bytes (added by shidouhikari, 8 years ago)

Moves filter to the end of the function, letting each Wordpress user deal with the situation without having to edit core files

  • wp-includes/post-template.php

     
    164164 */
    165165function the_content($more_link_text = null, $stripteaser = 0) {
    166166        $content = get_the_content($more_link_text, $stripteaser);
    167         $content = apply_filters('the_content', $content);
    168167        $content = str_replace(']]>', ']]>', $content);
     168        $content = apply_filters('the_content', $content);
    169169        echo $content;
    170170}
    171171