Changeset 21159
- Timestamp:
- 06/28/2012 07:26:06 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r21124 r21159 261 261 262 262 global $post; 263 $output = $post->post_excerpt;264 263 if ( post_password_required($post) ) { 265 $output = __('There is no excerpt because this is a protected post.'); 266 return $output; 267 } 268 269 return apply_filters('get_the_excerpt', $output); 264 return __( 'There is no excerpt because this is a protected post.' ); 265 } 266 267 return apply_filters( 'get_the_excerpt', $post->post_excerpt ); 270 268 } 271 269
Note: See TracChangeset
for help on using the changeset viewer.