From 1479f1e5438846ca655634361f0fb4553e7e9436 Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Mon, 15 Mar 2021 19:49:50 +0000 Subject: [PATCH] Help/About: Run image comparison script after all assets have loaded. If the callback is called before the images are loaded, the comparison doesn't work. `wp.domReady` uses `DOMContentLoaded`, which does not guarantee that the images are loaded. This switches to use the `load` event, which waits for all resources to load. Props vladytimy, joyously, sergeybiryukov. Fixes #52758. git-svn-id: https://develop.svn.wordpress.org/trunk@50535 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 423df20198..9eaf4fdc88 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -239,7 +239,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';