diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index 462386b19b..28c56b08a2 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/wp-includes/js/media-views.js @@ -6450,7 +6450,7 @@ t.media.remove(); } - delete mejs.players[t.id]; + delete window.mejs.players[t.id]; t.container.remove(); t.globalUnbind();