CoreFiles by mySites.guru
custom-background.min.js1 lines, 941 bytes, from wordpress-4.2.29.zip
Raw History Compare with 4.2.28
md5
b8dab1edb309a4b7e21dead64991eaa5
sha1
289c3886e5f892bbaf1005a621821aea986d8f69
sha256
e3aeba904edf2cb174f0c2cd19b88a4daa7cc79b8099605956814675ca0cbf75
!function(a){a(document).ready(function(){var b,c=a("#custom-background-image");a("#background-color").wpColorPicker({change:function(a,b){c.css("background-color",b.color.toString())},clear:function(){c.css("background-color","")}}),a('input[name="background-position-x"]').change(function(){c.css("background-position",a(this).val()+" top")}),a('input[name="background-repeat"]').change(function(){c.css("background-repeat",a(this).val())}),a("#choose-from-library-link").click(function(c){var d=a(this);return c.preventDefault(),b?void b.open():(b=wp.media.frames.customBackground=wp.media({title:d.data("choose"),library:{type:"image"},button:{text:d.data("update"),close:!1}}),b.on("select",function(){var c=b.state().get("selection").first(),d=a("#_wpnonce").val()||"";a.post(ajaxurl,{action:"set-background-image",attachment_id:c.id,_ajax_nonce:d,size:"full"}).done(function(){window.location.reload()})}),void b.open())})})}(jQuery);

The same content is in 10 releases, WordPress 3.7.35 to 4.6.20. See them all, or every version of this file.