[wp-trac] [WordPress Trac] #20564: Framework for storing revisions of Post Meta

WordPress Trac noreply at wordpress.org
Sat Mar 8 14:27:41 UTC 2014


#20564: Framework for storing revisions of Post Meta
-------------------------------------------------+-------------------------
 Reporter:  alexkingorg                          |       Owner:
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Revisions                            |  Release
 Severity:  normal                               |     Version:  3.4
 Keywords:  needs-testing needs-codex dev-       |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by TV productions):

 Replying to [comment:95 adamsilverstein]:
 > Replying to [comment:94 TV productions]:
 > > Replying to [comment:92 adamsilverstein]:
 > > > Replying to [comment:91 TV productions]:
 > > > > [...]
 > > > [...]
 > > [...]
 >
 > Thank you for the more detailed description and the screenshot.
 >
 > I think what you are looking for is a way to hook in right before the
 autosave, or a filter applied to the transmitted autosave data. This type
 of JavaScript hook or action is currently not standardized in WordPress -
 see ticket #21170 for more details and a proposed solution.
 >
 > In the mean time you may be able to hook in using this:
 >
 > {{{$( document ).on( 'before-autosave', function() { /* Your Function */
 } );}}}
 >
 > (based on [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/js/autosave.js#L517 this code])

 Okay, thanks for pointing me in the right direction and for the jQuery
 hook. I am going to into #21170.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20564#comment:96>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list