diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 562301e3d4..330e8469a2 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -2084,7 +2084,7 @@ var addExtImage = { t.preloadImg.onerror = t.resetImageData; t.preloadImg.src = src; } -} +}; jQuery(document).ready( function($) { $('.media-types input').click( function() { diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 1340d1e0ed..3973d80ca0 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1738,7 +1738,7 @@ function compression_test() { h = x.getResponseHeader('Content-Encoding'); testCompression.check(r, h, test); } - } + }; x.open('GET', ajaxurl + '?action=wp-compression-test&test='+test+'&'+(new Date()).getTime(), true); x.send('');