Make WordPress Core


Ignore:
Timestamp:
04/11/2007 10:47:36 PM (18 years ago)
Author:
rob1n
Message:

<!--more--> regex fixes. Props Nazgul. fixes #3698

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r5242 r5244  
    8181
    8282    $content = $pages[$page-1];
    83     if ( preg_match('/<!--more(.+?)?-->/', $content, $matches) ) {
     83    if ( preg_match('/<!--more(.*?)?-->/', $content, $matches) ) {
    8484        $content = explode($matches[0], $content, 2);
    8585        if ( !empty($matches[1]) && !empty($more_link_text) )
Note: See TracChangeset for help on using the changeset viewer.