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

WordPress Trac noreply at wordpress.org
Thu Sep 28 21:05:20 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):

 > @adamsilverstein Just to flag. The unit tests
 test_revisioned_single_post_meta_with_posts_endpoint_page_and_cpt added in
 [56714] did not perform any assertions.

 Turns out this was just poor naming, the function in question is a data
 provider and should have a `data_` prefixed name.

 I fixed this, and added tests for slashed data in my
 [https://github.com/WordPress/wordpress-develop/pull/5344 PR]

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


More information about the wp-trac mailing list