Changes between Initial Version and Version 1 of Ticket #51393, comment 2
- Timestamp:
- 09/25/2020 12:55:37 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51393, comment 2
initial v1 3 3 Regardless, the correct schema type is an `object`. See https://developer.wordpress.org/rest-api/extending-the-rest-api/schema/#primitive-types for reference. 4 4 5 > The tests should probably be updated to check if $data['media_details']['sizes']is not empty before proceeding5 > The tests should probably be updated to check if `$data['media_details']['sizes']` is not empty before proceeding 6 6 7 7 I think this is the correct fix. Changing the data values in the controller would be a BC break.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)