#53421 closed defect (bug) (fixed)
Media: Empty library triggers loading spinner to spin constantly.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Media | Keywords: | has-patch has-screenshots commit |
Focuses: | Cc: |
Description
Visiting the WP Admin > Media page will show as constantly loading in the UI (ie, the spinner never stops spinning) when the media library is empty.
Steps to recreate:
- Install from
trunk
/the latest beta (or delete all media items for an existing install). - Visit WP Admin > Media
- Observe the loader spinner keep spinning
Introduced in [51145] for #50105. This restored the shape of the libraries AJAX response so it is possible something was missed while restoring.
Attachments (3)
Change History (14)
#3
@
4 years ago
I'm also seeing this within the block editor when selecting Media Library in the image block.
#5
@
4 years ago
- Keywords commit added; reporter-feedback removed
Thanks @adamsilverstein,
Testing with 53419.2.diff:ticket:53419 (added shortly after your message above) appears to resolve the issue both on the Media page and in the editor's media library dialog.
Marking for commit
in relation to this ticket pending Kelly's feedback on the related ticket.
Hi @peterwilsoncc - thanks for catching and reporting this bug, and especially for identifying the offending commit!
I have a fix for a closely related ticket #53419 and in my testing the patch there resolves the spinner issue you were seeing. Can you please give this patch a test and verify it fixes the issue for you? https://core.trac.wordpress.org/attachment/ticket/53419/53419.diff