Make WordPress Core

Changeset 51441


Ignore:
Timestamp:
07/15/2021 05:28:27 PM (2 years ago)
Author:
desrosj
Message:

Media: Fix JS error in Media Library when infinite scroll enabled.

Wrap call to this.updateLoadMoreView() is wrapped in a check that infinite scroll is disabled to prevent JS errors.

Props wildworks, joedolson.
Merges [51440] to the 5.8 branch.
Fixes #53672.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.