Changeset 6817

Show
Ignore:
Timestamp:
02/13/08 18:14:38 (5 months ago)
Author:
ryan
Message:

Add a prophylactic specialchars to the object in explain nonce. see #5838

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/functions.php

    r6813 r6817  
    12571257                if ( 'use_id' != $lookup ) 
    12581258                    $object = call_user_func( $lookup, $object ); 
    1259                 return sprintf( $trans[$verb][$noun][0], $object ); 
     1259                return sprintf( $trans[$verb][$noun][0], wp_specialchars($object) ); 
    12601260            } else { 
    12611261                return $trans[$verb][$noun][0];