#13618 closed defect (bug) (wontfix)
mail code cleaning
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.0 |
| Component: | Keywords: | ||
| Focuses: | Cc: |
Description
in pluggable.php
$user_login = stripslashes($user->user_login); $user_email = stripslashes($user->user_email);
and
// The blogname option is escaped with esc_html on the way into the database in sanitize_option // we want to reverse this for the plain text arena of emails. $blogname = wp_specialchars_decode(get_option(‘blogname’), ENT_QUOTES);
in wp-login.php
$user_login = $user_data->user_login; $user_email = $user_data->user_email;
and
if ( is_multisite() ) $blogname = $GLOBALS['current_site']->site_name; else // The blogname option is escaped with esc_html on the way into the database in sanitize_option // we want to reverse this for the plain text arena of emails. $blogname = wp_specialchars_decode(get_option(‘blogname’), ENT_QUOTES);
Change History (9)
Note: See
TracTickets for help on using
tickets.
It's marked as an enhancement, and it lacks a patch, so it gets punted.