[wp-trac] [WordPress Trac] #51393: REST API: Inconsistent type for 'media_details' and 'sizes' in attachments controller
WordPress Trac
noreply at wordpress.org
Fri Sep 25 01:30:07 UTC 2020
#51393: REST API: Inconsistent type for 'media_details' and 'sizes' in attachments
controller
----------------------------+----------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: REST API | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses:
----------------------------+----------------------
Comment (by SergeyBiryukov):
In [changeset:"49044" 49044]:
{{{
#!CommitTicketReference repository="" revision="49044"
Tests: Check if image sizes were successfully retrieved in some REST API
attachments controller tests.
This outputs a proper message in case of failure, instead of an obscure
PHP error further in the test.
Props TimothyBlynJacobs.
See #50913, #51393.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51393#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list