diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 4cc857306d..5ceed59165 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -372,7 +372,7 @@ function get_the_excerpt( $post = null ) { return ''; } - if ( post_password_required() ) { + if ( post_password_required( $post ) ) { return __( 'There is no excerpt because this is a protected post.' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index c5edb40dc8..d3618f8578 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-1452896951889'; +$wp_version = '4.5-alpha-1452939254282'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.