CoreFiles by mySites.guru
media-gallery.min.js1 lines, 537 bytes, from wordpress-4.5.21.zip
Raw History Compare with 4.5.20
md5
3296d1fa20d292b002bba10490f1ba6e
sha1
3ff518123016082231ee68e3ce9ba5f4efff2808
sha256
bd6b31903607cb2911e0cbfd0176e3293e908278cfa617489ef169a0a799f5ea
jQuery(function(a){a("body").bind("click.wp-gallery",function(b){var c,d,e=a(b.target);e.hasClass("wp-set-header")?((window.dialogArguments||opener||parent||top).location.href=e.data("location"),b.preventDefault()):e.hasClass("wp-set-background")&&(c=e.data("attachment-id"),d=a('input[name="attachments['+c+'][image-size]"]:checked').val(),jQuery.post(ajaxurl,{action:"set-background-image",attachment_id:c,size:d},function(){var a=window.dialogArguments||opener||parent||top;a.tb_remove(),a.location.reload()}),b.preventDefault())})});

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