CoreFiles by mySites.guru
set-post-thumbnail.min.js1 lines, 533 bytes, from wordpress-5.2.zip
Raw History Compare with 5.1.29
md5
927b30f924f2e11a7a78f63bb8d54393
sha1
b6cb479c90805d4dca3617d7fe14b136940a4b28
sha256
2c454ca76f546db7f1c462a1b123c39ed0c058187bb1871005a163749155b2eb
window.WPSetAsThumbnail=function(a,b){var c=jQuery("a#wp-post-thumbnail-"+a);c.text(setPostThumbnailL10n.saving),jQuery.post(ajaxurl,{action:"set-post-thumbnail",post_id:post_id,thumbnail_id:a,_ajax_nonce:b,cookie:encodeURIComponent(document.cookie)},function(b){var d=window.dialogArguments||opener||parent||top;c.text(setPostThumbnailL10n.setThumbnail),"0"==b?alert(setPostThumbnailL10n.error):(jQuery("a.wp-post-thumbnail").show(),c.text(setPostThumbnailL10n.done),c.fadeOut(2e3),d.WPSetThumbnailID(a),d.WPSetThumbnailHTML(b))})};

The same content is in 37 releases, WordPress 5.1-beta1 to 5.3-beta2. See them all, or every version of this file.