WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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:

Description

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 7 years ago.

Download all attachments as: .zip

Change History (6)

@c3mdigital
7 years ago

#1 @ocean90
7 years ago

Also mentioned here ticket:20299:34.

#2 @johnbillion
7 years 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.

#3 @c3mdigital
7 years 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.

#4 @helen
7 years ago

  • Milestone Awaiting Review deleted

#5 @SergeyBiryukov
7 years ago

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