Make WordPress Core

Changes between Version 7 and Version 8 of Ticket #59841, comment 2


Ignore:
Timestamp:
11/08/2023 05:43:11 PM (13 months ago)
Author:
rebasaurus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59841, comment 2

    v7 v8  
    55}}}
    66
    7 To be clear this happens on WP 6.3, when you directly call the function, but I noticed that `class-wp-rest-template-revisions-controller.php` was newly added on 6.4. In that class, `get_registered_fields()` is called now, which calls `rest_default_additional_properties_to_false()`. I wasn't sure if ya'll wanted to do any additional handling for unexpected formatted schemas?
     7To be clear this happens on WP 6.3, when you directly call the function, but I noticed that `class-wp-rest-template-revisions-controller.php` was newly added on 6.4. In that class, `get_registered_fields()` is called now, which calls `rest_default_additional_properties_to_false()`. I wasn't sure if ya'll wanted to do any additional handling for unexpected formatted schemas passed into `register_post_meta()` now?
    88
    99{{{