Closed (fixed)
Project:
Services
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2011 at 14:16 UTC
Updated:
2 Jun 2012 at 16:32 UTC
I suggest we change this in user_resources.inc:
theme('placeholder', $user->name)
to:
$user->name
alternatively (minor issue with this approach is that in the watchdog, html is ignored).
drupal_placeholder($user->name)
Comments
Comment #1
kylebrowning commentedWhy?
Comment #2
marcingy commentedComment #3
marcingy commentedtheme placeholder no longer exists so we need to swap it out.
Comment #4
kylebrowning commentedComment #5
magnusk commentedIn _user_resource_logout()(), the use of drupal_placeholder() in the watchdog call is redundant with the use of %, so the site log displays a literal <em> tag in italics:
Session closed for <em class="placeholder">USERNAME</em>.
The watchdog call should be
watchdog('user', 'Session closed for %name.', array('%name' => $user->name));
Comment #6
marcingy commentedPlease open a new issue rather reopening an issue that is 6 months old and unrelated.