Changeset 4074 for trunk/wp-includes/post.php
- Timestamp:
- 08/05/2006 04:11:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r4027 r4074 55 55 // get extended entry info (<!--more-->) 56 56 function get_extended($post) { 57 list($main,$extended) = explode('<!--more-->', $post, 2); 58 57 //Match the new style more links 58 if (preg_match('/<!--more(.+?)?-->/', $post, $matches)) { 59 list($main,$extended) = explode($matches[0],$post,2); 60 } else { 61 $main = $post; 62 $extended = ''; 63 } 64 59 65 // Strip leading and trailing whitespace 60 66 $main = preg_replace('/^[\s]*(.*)[\s]*$/','\\1',$main);
Note: See TracChangeset
for help on using the changeset viewer.