CoreFiles by mySites.guru
set-post-thumbnail.min.js1 lines, 533 bytes, from wordpress-5.3.21.zip
Raw History Compare with 5.3.20
md5
f037e26c97a0b05a4acc67e8cfeee01b
sha1
c978387b2b28728b5470fa6a3dfaa67ab87455f4
sha256
856a8a4b562e343dc132256bcaed9036f9275b9b9bc65911c1ea7efc2ec8ddd4
window.WPSetAsThumbnail=function(e,t){var o=jQuery("a#wp-post-thumbnail-"+e);o.text(setPostThumbnailL10n.saving),jQuery.post(ajaxurl,{action:"set-post-thumbnail",post_id:post_id,thumbnail_id:e,_ajax_nonce:t,cookie:encodeURIComponent(document.cookie)},function(t){var n=window.dialogArguments||opener||parent||top;o.text(setPostThumbnailL10n.setThumbnail),"0"==t?alert(setPostThumbnailL10n.error):(jQuery("a.wp-post-thumbnail").show(),o.text(setPostThumbnailL10n.done),o.fadeOut(2e3),n.WPSetThumbnailID(e),n.WPSetThumbnailHTML(t))})};

The same content is in 81 releases, WordPress 5.1.9 to 5.3.28. See them all, or every version of this file.