CoreFiles by mySites.guru
set-post-thumbnail.min.js2 lines, 620 bytes, from wordpress-5.6.21.zip
Raw History Compare with 5.6.20
md5
31c250b54ebc48820839657f0bf24049
sha1
1d9dc81f8e52002176e44dba25907c2ab437bc2b
sha256
3d4c86520283172c8e3d257b722aeb41cb698e5b0c120c8f02f150a05c9c14aa
/*! This file is auto-generated */
window.WPSetAsThumbnail=function(n,t){var a=jQuery("a#wp-post-thumbnail-"+n);a.text(wp.i18n.__("Saving\u2026")),jQuery.post(ajaxurl,{action:"set-post-thumbnail",post_id:post_id,thumbnail_id:n,_ajax_nonce:t,cookie:encodeURIComponent(document.cookie)},function(t){var e=window.dialogArguments||opener||parent||top;a.text(wp.i18n.__("Use as featured image")),"0"==t?alert(wp.i18n.__("Could not set that as the thumbnail image. Try a different attachment.")):(jQuery("a.wp-post-thumbnail").show(),a.text(wp.i18n.__("Done")),a.fadeOut(2e3),e.WPSetThumbnailID(n),e.WPSetThumbnailHTML(t))})};

The same content is in 463 releases, WordPress 5.5-beta1 to 7.2-RC2. See them all, or every version of this file.