[wp-trac] [WordPress Trac] #53421: Media: Empty library triggers loading spinner to spin constantly.

WordPress Trac noreply at wordpress.org
Sun Jun 20 23:26:10 UTC 2021


#53421: Media: Empty library triggers loading spinner to spin constantly.
----------------------------------------------+------------------------
 Reporter:  peterwilsoncc                     |       Owner:  joedolson
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  5.8
Component:  Media                             |     Version:  trunk
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit  |     Focuses:
----------------------------------------------+------------------------
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/53421#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list