[wp-trac] [WordPress Trac] #35463: reserved characters not decoded for e-mail address/password change e-mails

WordPress Trac noreply at wordpress.org
Fri Jan 15 00:45:04 UTC 2016


#35463: reserved characters not decoded for e-mail address/password change e-mails
--------------------------+------------------------------
 Reporter:  Tauwasser     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.4.1
 Severity:  trivial       |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Tauwasser):

 Proposed fix for subject line:

 {{{
 diff -Naur a/wp-includes/user.php b/wp-includes/user.php
 --- a/wp-includes/user.php      2016-01-15 01:31:57.369891500 +0100
 +++ b/wp-includes/user.php      2016-01-15 01:43:03.581061900 +0100
 @@ -1689,7 +1689,7 @@

         if ( ! is_wp_error( $user_id ) ) {

 -               $blog_name = wp_specialchars_decode( get_option(
 'blogname' ) );
 +               $blog_name = wp_specialchars_decode( get_option(
 'blogname' ), ENT_QUOTES );

                 if ( ! empty( $send_password_change_email ) ) {
  }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35463#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list