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