CoreFiles by mySites.guru
set-post-thumbnail.min.js1 lines, 525 bytes, from wordpress-4.6.21.zip
Raw History Compare with 4.6.20
md5
ef650143b20131d8101b8561d7d5436e
sha1
468fd7fea143960768036171c390b6bf89bbaf40
sha256
a263aaeb3d6c9f35c1b577e729a4a6e208b7f2b99954974f127fe1d9c660adcf
function WPSetAsThumbnail(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 166 releases, WordPress 3.7.36 to 5.0.32. See them all, or every version of this file.