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

WordPress Trac noreply at wordpress.org
Tue Sep 26 15:43:13 UTC 2023


#20564: Framework for storing revisions of Post Meta
-------------------------------------------------+-------------------------
 Reporter:  alexkingorg                          |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Revisions                            |     Version:  3.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit needs-dev-note      |     Focuses:
  has-unit-tests                                 |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 In [changeset:"56715" 56715]:
 {{{
 #!CommitTicketReference repository="" revision="56715"
 Revisions: avoid double call to wp_restore_post_revision_meta when
 restoring post.

 Remove an extra call to `wp_restore_post_revision_meta` - the meta restore
 action is already hooked to `wp_restore_post_revision`.

 Follow up to [56714].

 Props: spacedmonkey.
 Fixes #20564.
 }}}

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


More information about the wp-trac mailing list