WordPress.org

Make WordPress Core

Ticket #10248: p.patch

File p.patch, 535 bytes (added by McShelby, 6 years ago)
  • post-template.php

     
    196196                $page = count($pages); // give them the highest numbered page that DOES exist 
    197197 
    198198        $content = $pages[$page-1]; 
     199        $content = apply_filters('the_content_raw', $content); 
    199200        if ( preg_match('/<!--more(.*?)?-->/', $content, $matches) ) { 
    200201                $content = explode($matches[0], $content, 2); 
    201202                if ( !empty($matches[1]) && !empty($more_link_text) )