[wp-trac] [WordPress Trac] #31682: reg_passmail message on login.php needs filter
WordPress Trac
noreply at wordpress.org
Wed Mar 18 13:22:45 UTC 2015
#31682: reg_passmail message on login.php needs filter
------------------------------------+-----------------------------
Reporter: thomask | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.1.1
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
reg passwords is hardcoded to the login.php:
{{{
<p id="reg_passmail"><?php _e('A password will be e-mailed to you.')
?></p>
}}}
So it appears even if you do some other ways of delivering passwords. E.g.
i want to first check the registrating person and then send them the
password, not immediately, so i need to change this message that would
reflect this, and the only option now is to filter global gettext, what is
not optimal.
Proposed solution - replace this row with
{{{
<p id="reg_passmail"><?php echo apply_filters('reg_passmail',__('A
password will be e-mailed to you.')) ?></p>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31682>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list