Changeset 5244
- Timestamp:
- 04/11/2007 10:47:36 PM (19 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
post-template.php (modified) (1 diff)
-
post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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 {
Note: See TracChangeset
for help on using the changeset viewer.