CoreFiles by mySites.guru
media-gallery.js1 lines, 547 bytes, from wordpress-3.4.zip
Raw History Compare with 3.3.3
md5
75e959d883beb502e661572dd86d84f3
sha1
8a545e85d4d326be313d009f95e19edb5f72ab9a
sha256
1f5d1b8fa6bd6590405c3a0104afa9081775b131f3b495de5b4c98ee28ce3e86
jQuery(function(a){a("body").bind("click.wp-gallery",function(d){var c=a(d.target),f,b;if(c.hasClass("wp-set-header")){(window.dialogArguments||opener||parent||top).location.href=c.data("location");d.preventDefault()}else{if(c.hasClass("wp-set-background")){f=c.data("attachment-id");b=a('input[name="attachments['+f+'][image-size]"]:checked').val();jQuery.post(ajaxurl,{action:"set-background-image",attachment_id:f,size:b},function(){var e=window.dialogArguments||opener||parent||top;e.tb_remove();e.location.reload()});d.preventDefault()}}})});

The same content is in 10 releases, WordPress 3.4-beta2 to 3.4.2. See them all, or every version of this file.