[wp-trac] [WordPress Trac] #3506: Characters in custom field are not escaped

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 29 21:43:02 GMT 2006


#3506: Characters in custom field are not escaped
---------------------+------------------------------------------------------
 Reporter:  llynix   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  low      |   Milestone:  2.2      
Component:  General  |     Version:           
 Severity:  minor    |    Keywords:           
---------------------+------------------------------------------------------
 While editing an entry if I put in special html entities like & into a
 custom field these get put in the database correctly.  However, when
 reloading the edit screen any & get turned into plain &'s in the text
 box, so any re-editing causes problems.

 Here is someone else describing the problem in case my description is
 lacking.

 I think what he's saying is, if you put & in a custom field, save it,
 and then go to edit that custom field, its echoed out as &, which your
 browser interprets, so the next time its saved you only save an &.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3506>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list