Make WordPress Core


Ignore:
Timestamp:
02/13/2008 06:14:38 PM (19 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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];
Note: See TracChangeset for help on using the changeset viewer.