Changeset 5244
- Timestamp:
- 04/11/07 22:47:36 (2 years ago)
- Files:
-
- trunk/wp-includes/post-template.php (modified) (1 diff)
- trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/post-template.php
r5242 r5244 81 81 82 82 $content = $pages[$page-1]; 83 if ( preg_match('/<!--more(. +?)?-->/', $content, $matches) ) {83 if ( preg_match('/<!--more(.*?)?-->/', $content, $matches) ) { 84 84 $content = explode($matches[0], $content, 2); 85 85 if ( !empty($matches[1]) && !empty($more_link_text) ) trunk/wp-includes/post.php
r5243 r5244 75 75 function get_extended($post) { 76 76 //Match the new style more links 77 if ( preg_match('/<!--more(.*?) -->/', $post, $matches) ) {77 if ( preg_match('/<!--more(.*?)?-->/', $post, $matches) ) { 78 78 list($main, $extended) = explode($matches[0], $post, 2); 79 79 } else {
