WordPress.org

Make WordPress Core

Ticket #40355: 40355.diff

File 40355.diff, 513 bytes (added by johnjamesjacoby, 5 years ago)

Update default URL value in wp_get_current_commenter()

  • src/wp-includes/comment.php

    diff --git src/wp-includes/comment.php src/wp-includes/comment.php
    index 7398f99..c7e64f3 100644
     
    16491649        if ( isset($_COOKIE['comment_author_email_'.COOKIEHASH]) )
    16501650                $comment_author_email = $_COOKIE['comment_author_email_'.COOKIEHASH];
    16511651
    1652         $comment_author_url = '';
     1652        $comment_author_url = 'https://';
    16531653        if ( isset($_COOKIE['comment_author_url_'.COOKIEHASH]) )
    16541654                $comment_author_url = $_COOKIE['comment_author_url_'.COOKIEHASH];
    16551655