Make WordPress Core

Changes between Version 5 and Version 6 of Ticket #55228, comment 3


Ignore:
Timestamp:
02/25/2022 04:15:23 PM (3 years ago)
Author:
generosus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55228, comment 3

    v5 v6  
    99>
    1010\\
    11 After further research and your valuable feedback, yeah, let's scrap my recommendation. Since Team WordPress introduced the password visibility functionality into the login form, I would still like to recommend that Team WordPress develop and publish a constant or filter that will allow its removal. In this case, I feel using a plugin is a band-aid solution. It's a lot easier (and simpler), to say, offer a /wp-config.php constant that could look like this:
     11After further research and your valuable feedback, yeah, let's scrap my recommendation. Since Team WordPress introduced the password visibility functionality into the login form, I would still like to recommend that Team WordPress develop and publish a constant or filter that will allow its removal. In this case, I feel using a plugin is a band-aid solution. It's a lot easier (and simpler), to say, offer a /wp-config.php constant or filter that could look like this:
    1212
    13 
     13**Constant:**
    1414{{{
    1515define('WP_PASSWORD_BUTTON_DISPLAY', false);
    1616}}}
    1717
    18 It could then be added to the list of constants published [https://wordpress.org/support/article/editing-wp-config-php/ here:]
     18**Filter:**
     19
     20{{{
     21add_filter( 'wp_pw_button_display', '__return_false' );
     22}}}
    1923
    2024
    21 Fair?
     25They could then be added to the list of constants published [https://wordpress.org/support/article/editing-wp-config-php/ here:]
    2226
    2327Thank you!