Make WordPress Core


Ignore:
Timestamp:
01/21/2023 09:05:14 AM (23 months ago)
Author:
audrasjb
Message:

Upgrade/Install: Disable spellcheck for password field on Setup screen.

This changeset adds spellcheck="false" attribute to Database Password field on the Database Setup screen.

Follow-up to [55094], [55095], [55096].

See #56763.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r54231 r55110  
    224224        <tr>
    225225            <th scope="row"><label for="pwd"><?php _e( 'Password' ); ?></label></th>
    226             <td><input name="pwd" id="pwd" type="text" aria-describedby="pwd-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td>
     226            <td><input name="pwd" id="pwd" type="text" aria-describedby="pwd-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" spellcheck="false" /></td>
    227227            <td id="pwd-desc"><?php _e( 'Your database password.' ); ?></td>
    228228        </tr>
Note: See TracChangeset for help on using the changeset viewer.