This adds a sanity check to the return value of the `image_downsize` filter in `wp_prepare_attachment_for_js()` to avoid undefined offest notices. Props justinbusa for initial patch. Fixes 34437. Built from https://develop.svn.wordpress.org/trunk@39107 git-svn-id: http://core.svn.wordpress.org/trunk@39049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
131 KiB
131 KiB