[wp-trac] [WordPress Trac] #22769: Hidden fields via attachment_fields_to_edit are missing

WordPress Trac noreply at wordpress.org
Mon Dec 10 19:51:05 UTC 2012


#22769: Hidden fields via attachment_fields_to_edit are missing
------------------------------+--------------------------
 Reporter:  nacin             |       Owner:  koopersmith
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------------

Comment (by nacin):

 The IDs weren't exactly valid, since they had brackets in them
 accidentally.

 I don't see this as an issue. A hidden field is good for its name and
 value, not its ID. If you were doing crazy manipulation on the fly via JS,
 that JS would no longer be loaded in the two instances of
 attachment_fields_to_edit, anyway — the new modal and post.php for
 attachments, versus the old media-upload.php script.

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


More information about the wp-trac mailing list