[wp-trac] [WordPress Trac] #13618: mail code cleaning in 3.0 RC
WordPress Trac
wp-trac at lists.automattic.com
Sat May 29 12:09:06 UTC 2010
#13618: mail code cleaning in 3.0 RC
-------------------------+--------------------------------------------------
Reporter: arena | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Mail | Version: 3.0
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
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);
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13618>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list