WordPress.org

Make WordPress Core

Ticket #10736: unneeded-initialization.diff

File unneeded-initialization.diff, 456 bytes (added by nbachiyski, 11 years ago)
  • wp-includes/post-template.php

     
    254254 */
    255255function get_the_excerpt($deprecated = '') {
    256256        global $post;
    257         $output = '';
    258257        $output = $post->post_excerpt;
    259258        if ( post_password_required($post) ) {
    260259                $output = __('There is no excerpt because this is a protected post.');