wordpress-develop/src/js
Sergey Biryukov 7b64dc237a Media: Check if the item is defined before setting the skipHistory property in media frame router.
This avoids a JS error when refreshing the "Attachment details" modal for an item that is not currently queried.

Follow-up to [41021].

Props Mista-Flo, mukesh27.
Fixes #51395.

git-svn-id: https://develop.svn.wordpress.org/trunk@49062 602fd350-edb4-49c9-b593-d223f7449a82
2020-09-27 08:48:05 +00:00
..
_enqueues Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5. 2020-08-31 20:28:41 +00:00
media Media: Check if the item is defined before setting the skipHistory property in media frame router. 2020-09-27 08:48:05 +00:00