[wp-trac] [WordPress Trac] #53419: Media: Links to individual media items don't work
WordPress Trac
noreply at wordpress.org
Sun Jun 20 23:26:10 UTC 2021
#53419: Media: Links to individual media items don't work
------------------------------+-------------------------
Reporter: ryelle | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: javascript
------------------------------+-------------------------
Changes (by joedolson):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"51187" 51187]:
{{{
#!CommitTicketReference repository="" revision="51187"
Media: Adapt response shape depending on type of query.
Restore inheriting the backbone fetch in the media library and adapt the
AJAX response according to the action performed in the media query.
In [51145], the response shape was restored to the original shape, and a
custom fetch was added to handle assigning the totalAttachments
information in the collection. The custom fetch triggered a new set of
bugs relating to zero-sized collections and loading individual images.
props adamsilverstein, ryelle, peterwilsoncc, Presskopp, desrosj.
Fixes #53421, #53419.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53419#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list