[wp-trac] [WordPress Trac] #20564: Framework for storing revisions of Post Meta
WordPress Trac
noreply at wordpress.org
Fri Sep 29 15:05:55 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:"56745" 56745]:
{{{
#!CommitTicketReference repository="" revision="56745"
Revisions: slash meta values for autosave (preview) revisions.
Correct an issue where meta values containing characters like quote `”`
could not be previewed on published posts. The function `update_metadata`
expects data to be slashed.
Also, add a test to confirm that storing JSON data which requires slashing
in autosave meta works as expected, and improve naming for a data provider
added in [56714].
Follow up to [56714].
Props mukesh27, spacedmonkey.
Fixes #20564.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20564#comment:203>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list