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.php

    r5243 r5244  
    7575function get_extended($post) {
    7676    //Match the new style more links
    77     if ( preg_match('/<!--more(.*?)-->/', $post, $matches) ) {
     77    if ( preg_match('/<!--more(.*?)?-->/', $post, $matches) ) {
    7878        list($main, $extended) = explode($matches[0], $post, 2);
    7979    } else {
Note: See TracChangeset for help on using the changeset viewer.