mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
git-svn-id: http://svn.automattic.com/wordpress/trunk@12194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7154852c94
commit
6c2248e2d2
@ -247,7 +247,6 @@ function the_excerpt() {
|
||||
*/
|
||||
function get_the_excerpt($deprecated = '') {
|
||||
global $post;
|
||||
$output = '';
|
||||
$output = $post->post_excerpt;
|
||||
if ( post_password_required($post) ) {
|
||||
$output = __('There is no excerpt because this is a protected post.');
|
||||
|
Loading…
Reference in New Issue
Block a user