[wp-trac] [WordPress Trac] #18798: Sanitizing post in get_attachment_fields_to_edit() can cause double encoding under certain circumstances

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 5 14:27:45 UTC 2012


#18798: Sanitizing post in get_attachment_fields_to_edit() can cause double
encoding under certain circumstances
--------------------------+------------------------------
 Reporter:  wpdavis       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  2.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by wpdavis):

 To add some context to this ticket, we change the Post Caption field from
 a text field to a textarea, and when we do this everything gets double-
 encoded.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18798#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list