Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 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's profile 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 11 years ago.

Download all attachments as: .zip

Change History (6)

@c3mdigital
11 years ago

#1 @ocean90
11 years ago

Also mentioned here ticket:20299:34.

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

  • Milestone Awaiting Review deleted

#5 @SergeyBiryukov
11 years ago

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