diff --git wp-includes/post-template.php wp-includes/post-template.php
index 3164509..e26b6fd 100644
|
|
|
function get_the_excerpt( $deprecated = '' ) { |
| 361 | 361 | } |
| 362 | 362 | |
| 363 | 363 | if ( post_password_required() ) { |
| 364 | | return __( 'There is no excerpt because this is a protected post.' ); |
| | 364 | /** |
| | 365 | * Filter the post excerpt when is a protected post. |
| | 366 | * |
| | 367 | * @param string |
| | 368 | */ |
| | 369 | return apply_filters( 'get_the_protected_excerpt' , __( 'There is no excerpt because this is a protected post.' ) ); |
| 365 | 370 | } |
| 366 | 371 | |
| 367 | 372 | /** |