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

WordPress Trac noreply at wordpress.org
Wed Oct 29 19:01:17 UTC 2014


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

Comment (by johnbillion):

 In [changeset:"30091"]:
 {{{
 #!CommitTicketReference repository="" revision="30091"
 Introduce some actions and filters which aid plugins in revisioning post
 meta.

  * `wp_save_post_revision_post_has_changed` filter which can be used to
 determine if a post has been changed, and therefore if a revision should
 be created for a post.
  * `wp_get_revision_ui_diff` filter which can be used to filter the fields
 displayed in the post revision diff UI.
  * `wp_creating_autosave` action which is fired just before an autosave is
 created.

 See #20564.
 Props mattheu, adamsilverstein.
 }}}

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


More information about the wp-trac mailing list