Make WordPress Core


Ignore:
Timestamp:
03/14/2021 04:59:45 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove some extra whitespace in sanitize_comment_cookies().

See #52627.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r50375 r50533  
    616616         * @param string $author_cookie The comment author name cookie.
    617617         */
    618         $comment_author                            = apply_filters( 'pre_comment_author_name', $_COOKIE[ 'comment_author_' . COOKIEHASH ] );
    619         $comment_author                            = wp_unslash( $comment_author );
    620         $comment_author                            = esc_attr( $comment_author );
     618        $comment_author = apply_filters( 'pre_comment_author_name', $_COOKIE[ 'comment_author_' . COOKIEHASH ] );
     619        $comment_author = wp_unslash( $comment_author );
     620        $comment_author = esc_attr( $comment_author );
     621
    621622        $_COOKIE[ 'comment_author_' . COOKIEHASH ] = $comment_author;
    622623    }
     
    633634         * @param string $author_email_cookie The comment author email cookie.
    634635         */
    635         $comment_author_email                            = apply_filters( 'pre_comment_author_email', $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] );
    636         $comment_author_email                            = wp_unslash( $comment_author_email );
    637         $comment_author_email                            = esc_attr( $comment_author_email );
     636        $comment_author_email = apply_filters( 'pre_comment_author_email', $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] );
     637        $comment_author_email = wp_unslash( $comment_author_email );
     638        $comment_author_email = esc_attr( $comment_author_email );
     639
    638640        $_COOKIE[ 'comment_author_email_' . COOKIEHASH ] = $comment_author_email;
    639641    }
     
    650652         * @param string $author_url_cookie The comment author URL cookie.
    651653         */
    652         $comment_author_url                            = apply_filters( 'pre_comment_author_url', $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] );
    653         $comment_author_url                            = wp_unslash( $comment_author_url );
     654        $comment_author_url = apply_filters( 'pre_comment_author_url', $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] );
     655        $comment_author_url = wp_unslash( $comment_author_url );
     656
    654657        $_COOKIE[ 'comment_author_url_' . COOKIEHASH ] = $comment_author_url;
    655658    }
Note: See TracChangeset for help on using the changeset viewer.