Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
git-svn-id: https://develop.svn.wordpress.org/trunk@12194 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cac2e59fda
commit
8565a52fb0
|
@ -247,7 +247,6 @@ function the_excerpt() {
|
||||||
*/
|
*/
|
||||||
function get_the_excerpt($deprecated = '') {
|
function get_the_excerpt($deprecated = '') {
|
||||||
global $post;
|
global $post;
|
||||||
$output = '';
|
|
||||||
$output = $post->post_excerpt;
|
$output = $post->post_excerpt;
|
||||||
if ( post_password_required($post) ) {
|
if ( post_password_required($post) ) {
|
||||||
$output = __('There is no excerpt because this is a protected post.');
|
$output = __('There is no excerpt because this is a protected post.');
|
||||||
|
|
Loading…
Reference in New Issue