WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/26/2017 10:19:48 PM (3 years ago)
Author:
johnbillion
Message:

Mail: Ensure entities in the site title are decoded when used in the body of the new user email.

Props ajoah
Fixes #39446

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/user.php

    r39269 r40127  
    536536
    537537Please click the following link to activate your user account:
    538 %%s' ), get_bloginfo( 'name' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) );
    539 }
     538%%s' ), wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) );
     539}
Note: See TracChangeset for help on using the changeset viewer.