Make WordPress Core


Ignore:
Timestamp:
08/23/2024 11:15:26 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Use an empty string for the default “Post via email” password.

This aims to avoid a security warning in Chrome, which could previously be triggered even if the default value is not actually used as a password.

Follow-up to [208], [230], [233], [662], [1599], [1601]

Props adamkheckler, sabernhardt, peterwilsoncc, psykro, petitphp.
Fixes #61332.

File:
1 edited

Legend:

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

    r58400 r58928  
    425425                'mailserver_url'                  => 'mail.example.com',
    426426                'mailserver_login'                => 'login@example.com',
    427                 'mailserver_pass'                 => 'password',
     427                'mailserver_pass'                 => '',
    428428                'mailserver_port'                 => 110,
    429429                'default_category'                => 1,
Note: See TracChangeset for help on using the changeset viewer.