summaryrefslogtreecommitdiffstats
path: root/wp-includes
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-17 15:15:34 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-17 15:15:34 +0000
commita341e8a03bb591f9f2aa973d6654f4ee88edca6c (patch)
tree7d1f87d226a0e38a16b17bc5dd7a41a424f289f9 /wp-includes
parent1af8d9223fe3ad062d0d51dcd895156b2c837fa9 (diff)
downloadwordpress-mu-a341e8a03bb591f9f2aa973d6654f4ee88edca6c.tar.gz
wordpress-mu-a341e8a03bb591f9f2aa973d6654f4ee88edca6c.tar.xz
wordpress-mu-a341e8a03bb591f9f2aa973d6654f4ee88edca6c.zip
Hide Javascript code, fixes #445
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1089 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes')
-rw-r--r--wp-includes/wpmu-functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index b2e0969..23bb0f4 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -1899,7 +1899,9 @@ function add_switcher() {
$out .= "</ul>";
?>
<script type="text/javascript">
+ <!--
document.getElementById('wphead').innerHTML = '<?php echo $out ?>'
+ -->
</script>
<?php
}