[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 Sep 29 23:02:34 UTC 2011


#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):

 FYI, checked history. The function was introduced in 2.5, it seems, and I
 couldn't find any discussion about why that particular flag was used. I
 patched it on our live site a few days ago and we haven't seen any issues.

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


More information about the wp-trac mailing list