Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13618 closed defect (bug) (wontfix)

mail code cleaning

Reported by: arena's profile arena Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Mail 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)

#1 @xibe
16 years ago

  • Milestone changed from Unassigned to 3.0

#2 @markjaquith
16 years ago

  • Milestone changed from 3.0 to Unassigned

It's marked as an enhancement, and it lacks a patch, so it gets punted.

#3 @markmcwilliams
16 years ago

  • Keywords needs-patch added
  • Type changed from enhancement to defect (bug)

What needs cleaned exactly?

#4 @McGurk
16 years ago

  • Cc jonathan.wilsson@… added

#5 @hakre
15 years ago

  • Keywords reporter-feedback added
  • Summary changed from mail code cleaning in 3.0 RC to mail code cleaning

#6 @nacin
15 years ago

  • Milestone changed from Awaiting Review to Future Release

#7 @arena
15 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

#8 @nacin
15 years ago

  • Milestone Future Release deleted

#9 @markmcwilliams
15 years ago

  • Keywords needs-patch reporter-feedback removed

Bye bye reporter-feedback and needs-patch, it was nice knowing you! ;)

Note: See TracTickets for help on using tickets.