CoreFiles by mySites.guru
set-post-thumbnail.min.js1 lines, 525 bytes, from wordpress-4.2.21.zip
Raw History Compare with 4.2.20
md5
8bc5ca12fa38a607d5af2181311b7a5b
sha1
6a9d23c8a0fc7cb3889decf09fc58fe82ebaa1f8
sha256
e263d0fdab3719d7c1b67806019ef16db218e58587e8c2f296c603e772c877a6
function WPSetAsThumbnail(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 475 releases, WordPress 3.7-beta1 to 5.0.11. See them all, or every version of this file.