Changeset 10954
- Timestamp:
- 04/16/2009 07:43:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r10950 r10954 184 184 185 185 $output = ''; 186 $hasTeaser = false; 186 187 187 188 // If post password required and it doesn't match the cookie. … … 204 205 if ( !empty($matches[1]) && !empty($more_link_text) ) 205 206 $more_link_text = strip_tags(wp_kses_no_null(trim($matches[1]))); 207 208 $hasTeaser = true; 206 209 } else { 207 210 $content = array($content); … … 210 213 $stripteaser = 1; 211 214 $teaser = $content[0]; 212 if ( ($more) && ($stripteaser) )215 if ( ($more) && ($stripteaser) && ($hasTeaser) ) 213 216 $teaser = ''; 214 217 $output .= $teaser;
Note: See TracChangeset
for help on using the changeset viewer.