CoreFiles by mySites.guru
custom-background.min.js1 lines, 1,189 bytes, from wordpress-5.2.9.zip
Raw History Compare with 5.2.8
md5
1a4848edc676cde4a347a6a1ef1477cd
sha1
a63999afb9acc42b99ed6616c1222ad488c43979
sha256
7e4d11b0e54679478297ebc5727658a3e81ca3b09d6b7e51dac5759f2f51c9ad
!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('select[name="background-size"]').change(function(){c.css("background-size",a(this).val())}),a('input[name="background-position"]').change(function(){c.css("background-position",a(this).val())}),a('input[name="background-repeat"]').change(function(){c.css("background-repeat",a(this).is(":checked")?"repeat":"no-repeat")}),a('input[name="background-attachment"]').change(function(){c.css("background-attachment",a(this).is(":checked")?"scroll":"fixed")}),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 8 releases, WordPress 4.7.19 to 5.2.9. See them all, or every version of this file.