Make WordPress Core

Opened 12 months ago

Closed 8 months ago

Last modified 8 months ago

#23973 closed enhancement (duplicate)

Add filter to _wp_post_revision_meta_keys() so developers can store custom meta data revisions

Reported by: c3mdigital Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Revisions Keywords: has-patch
Focuses: Cc:


In r23928 we added functionality to:

  • Store the post format as meta on revisions (including autosaves).
  • Add post formats data (post meta) when autosaving.

There is still no way to autosave and revision custom post meta.
Adding a filter to _wp_post_revision_meta_keys() will allow developers and plugin authors to effectively save post_meta revisions.

Related #20564,

Attachments (1)

23973.patch (685 bytes) - added by c3mdigital 12 months ago.

Download all attachments as: .zip

Change History (6)

c3mdigital12 months ago

comment:1 ocean9012 months ago

Also mentioned here ticket:20299:34.

comment:2 johnbillion12 months ago

It's worth noting that MarkJaquith's plan is to explicitly only store revisions for post format metadata in 3.6 and introduce an API for revisioning custom metadata at a later date.

comment:3 c3mdigital8 months ago

  • Keywords close added; has-patch removed
  • Resolution set to duplicate
  • Status changed from new to closed

This should be closed since #20564 has been re opened this is a duplicate.

comment:4 helen8 months ago

  • Milestone Awaiting Review deleted

comment:5 SergeyBiryukov8 months ago

  • Keywords has-patch added; close removed
Note: See TracTickets for help on using tickets.