Double attribute escaping for post attachments
|Reported by:||dwc||Owned by:|
When the rich editor is off, editing attachments causes the description field to be double encoded. This is due to the use of htmlspecialchars, when the value is already encoded in sanitize_post_field.
Switching to attribute_escape fixes this; I'll attach patches for 2.7 and trunk.