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

WordPress Trac noreply at wordpress.org
Thu Sep 28 17:25:10 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):

 @mukesh27 thanks for flagging, I will take a look and get that fixed.

 E2E testing in GB on https://github.com/WordPress/gutenberg/pull/52988
 also revealed a bug where published post meta with quotes (`"`) cannot be
 previewed. The reason is the meta values need to be slashed before being
 inserted. This doesn't affect other code paths because in general we copy
 the already saved raw meta values over to the revision, so slashing has
 already been added.

 I have a fix for this issue in https://github.com/WordPress/wordpress-
 develop/pull/5344

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


More information about the wp-trac mailing list