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

WordPress Trac noreply at wordpress.org
Wed Nov 21 20:45:54 UTC 2012


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

Comment (by nacin):

 Replying to [comment:20 azaozz]:
 > Also: fixing and loading autosave here would run it and catch changes to
 the title only. If the title is edited, it will create a revision of the
 attachment post and show AYS on unload.
 >
 > We can avoid creating a revision/showing AYS by changing the id of the
 title field (not the name, so $_POST won't change).

 The chance of the title field changing but not being saved is fairly slim.
 We can improve autosave in a future release.

 I'm also okay with keeping [22725] as long as we also apply
 [attachment:22491-4.patch] or [attachment:22491.2.diff] for 3.5. But we
 should also apply [attachment:22491.4.diff] for the sake of plugins.

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


More information about the wp-trac mailing list