Files
WordPress/wp-includes
Sergey Biryukov 6bdbb8b25c 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.
Built from https://develop.svn.wordpress.org/trunk@49062


git-svn-id: http://core.svn.wordpress.org/trunk@48824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-27 08:50:06 +00:00
..
2020-08-27 16:36:39 +00:00
2020-08-27 16:36:39 +00:00
2017-11-30 23:11:00 +00:00