[wp-trac] [WordPress Trac] #50565: Prevent attachment ID/image source mismatch when editing an image through the REST API
WordPress Trac
noreply at wordpress.org
Mon Jul 6 00:21:35 UTC 2020
#50565: Prevent attachment ID/image source mismatch when editing an image through
the REST API
----------------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+---------------------
Changes (by TimothyBlynJacobs):
* keywords: has-patch => has-patch needs-unit-tests
Comment:
This looks right to me. We can add a `format => uri` to the src argument.
This'll also require updating the tests in
`WP_Test_REST_Attachments_Controller`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50565#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list