[wp-trac] [WordPress Trac] #22491: Autosave / AYS on the attachment edit screen

WordPress Trac noreply at wordpress.org
Sat Nov 17 22:09:34 UTC 2012


#22491: Autosave / AYS on the attachment edit screen
--------------------------+--------------------
 Reporter:  helenyhou     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by helenyhou):

 Here are options I see:

 1. Turn off autosave for attachments. Since it isn't displayed like a
 regular post content editor, and in most use cases doesn't see a lot of
 action, it doesn't seem as crucial or disruptive to not support it.
 1. Change autosave/AYS comparison JS to look for an input with the name
 `content` rather than ID. Not sure what side effects this might cause,
 including with nonces and such. This seems like a more correct solution
 for the admin as a whole, though.
 1. Use a WP_Editor instance that supports TinyMCE, which would then need
 to be out of the metabox. This has been discussed and tried out - I think
 it disrupts the editing hierarchy and though one might think that
 consistency with other edit screens would be ideal, it isn't in this
 situation, as things like media buttons would be turned off (attachments
 to attachments, oy).

 The first option is probably the least disruptive, and is where both
 azaozz and I am leaning.

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


More information about the wp-trac mailing list