Make WordPress Core

Changes between Version 5 and Version 6 of Ticket #59841, comment 2


Ignore:
Timestamp:
11/08/2023 05:39:42 PM (8 months ago)
Author:
rebasaurus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59841, comment 2

    v5 v6  
    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()`.
     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?