CoreFiles by mySites.guru
set-post-thumbnail.min.js2 lines, 568 bytes, from wordpress-5.4.21.zip
Raw History Compare with 5.4.20
md5
ba88585b7e0465b5de31f14e5a9aa60c
sha1
02e9505d9d1f8d3835e43d73bd43d0170913f014
sha256
02db7f539b400f8597ab23cb929fdee3cc44a59861ea0f6de1e0348295a6d807
/*! This file is auto-generated */
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 38 releases, WordPress 5.4-beta1 to 5.4.26. See them all, or every version of this file.