[wp-trac] [WordPress Trac] #33654: wp_new_user_notification breaking change.
WordPress Trac
noreply at wordpress.org
Wed Sep 9 22:31:40 UTC 2015
#33654: wp_new_user_notification breaking change.
-----------------------------------------------------+--------------------
Reporter: alexander.rohmann | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3.1
Component: Users | Version: 4.3
Severity: normal | Resolution:
Keywords: dev-feedback has-patch needs-unit-tests | Focuses:
-----------------------------------------------------+--------------------
Comment (by kraftbj):
@adamsilverstein: Are you thinking something along the lines of
{{{
wp_new_user_notification( $user_id,
apply_filter('password_removed_text', __( '{plaintext password
removed}' ) ),
'both' );
}}}
Then update the function to throw deprecated if anything else is returned
besides the filtered value? We can't change the function itself since it
is pluggable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33654#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list