diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php
index a2b690402d..8ec2602418 100644
--- a/wp-admin/import/mt.php
+++ b/wp-admin/import/mt.php
@@ -169,7 +169,7 @@ class MT_Import {
echo '';
}
- echo ''.'
';
+ echo ''.'
';
echo '';
echo '';
diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php
index 5ec0d04ce4..d7cdf03ec6 100644
--- a/wp-admin/import/wordpress.php
+++ b/wp-admin/import/wordpress.php
@@ -197,7 +197,7 @@ class WP_Import {
echo '';
}
- echo ''.'
';
+ echo ''.'
';
echo '';
echo '';
diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php
index cfca67e1c9..097fc5f318 100644
--- a/wp-admin/includes/upgrade.php
+++ b/wp-admin/includes/upgrade.php
@@ -980,9 +980,9 @@ function dbDelta($queries, $execute = true) {
if(!(($aindex = array_search($index_string, $indices)) === false)) {
unset($indices[$aindex]);
- //echo "
{$table}:
Found index:".$index_string."\n";
+ //echo "{$table}:
Found index:".$index_string."\n";
}
- //else echo "{$table}:
Did not find index:".$index_string."
".print_r($indices, true)."\n";
+ //else echo "{$table}:
Did not find index:".$index_string."
".print_r($indices, true)."\n";
}
}
diff --git a/wp-includes/cache.php b/wp-includes/cache.php
index bc740f7d5d..ce7184d929 100644
--- a/wp-includes/cache.php
+++ b/wp-includes/cache.php
@@ -355,14 +355,14 @@ class WP_Object_Cache {
function stats() {
echo "";
- echo "Cold Cache Hits: {$this->cold_cache_hits}
";
- echo "Warm Cache Hits: {$this->warm_cache_hits}
";
- echo "Cache Misses: {$this->cache_misses}
";
+ echo "Cold Cache Hits: {$this->cold_cache_hits}
";
+ echo "Warm Cache Hits: {$this->warm_cache_hits}
";
+ echo "Cache Misses: {$this->cache_misses}
";
echo "
";
- echo "Group: $group
";
+ echo "Group: $group
";
echo "Cache:";
echo "
";
print_r($cache);
diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php
index eaccf2dcd4..3c3594d1c5 100644
--- a/wp-includes/capabilities.php
+++ b/wp-includes/capabilities.php
@@ -267,7 +267,7 @@ class WP_User {
// Must have ALL requested caps
$capabilities = apply_filters('user_has_cap', $this->allcaps, $caps, $args);
foreach ($caps as $cap) {
- //echo "Checking cap $cap
";
+ //echo "Checking cap $cap
";
if(empty($capabilities[$cap]) || !$capabilities[$cap])
return false;
}
@@ -295,14 +295,14 @@ function map_meta_cap($cap, $user_id) {
break;
case 'delete_post':
$author_data = get_userdata($user_id);
- //echo "post ID: {$args[0]}
";
+ //echo "post ID: {$args[0]}
";
$post = get_post($args[0]);
if ( 'page' == $post->post_type ) {
$args = array_merge(array('delete_page', $user_id), $args);
return call_user_func_array('map_meta_cap', $args);
}
$post_author_data = get_userdata($post->post_author);
- //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "
";
+ //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "
";
// If the user is the author...
if ($user_id == $post_author_data->ID) {
// If the post is published...
@@ -323,10 +323,10 @@ function map_meta_cap($cap, $user_id) {
break;
case 'delete_page':
$author_data = get_userdata($user_id);
- //echo "post ID: {$args[0]}
";
+ //echo "post ID: {$args[0]}
";
$page = get_page($args[0]);
$page_author_data = get_userdata($page->post_author);
- //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "
";
+ //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "
";
// If the user is the author...
if ($user_id == $page_author_data->ID) {
// If the page is published...
@@ -349,14 +349,14 @@ function map_meta_cap($cap, $user_id) {
// edit_others_posts
case 'edit_post':
$author_data = get_userdata($user_id);
- //echo "post ID: {$args[0]}
";
+ //echo "post ID: {$args[0]}
";
$post = get_post($args[0]);
if ( 'page' == $post->post_type ) {
$args = array_merge(array('edit_page', $user_id), $args);
return call_user_func_array('map_meta_cap', $args);
}
$post_author_data = get_userdata($post->post_author);
- //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "
";
+ //echo "current user id : $user_id, post author id: " . $post_author_data->ID . "
";
// If the user is the author...
if ($user_id == $post_author_data->ID) {
// If the post is published...
@@ -377,10 +377,10 @@ function map_meta_cap($cap, $user_id) {
break;
case 'edit_page':
$author_data = get_userdata($user_id);
- //echo "post ID: {$args[0]}
";
+ //echo "post ID: {$args[0]}
";
$page = get_page($args[0]);
$page_author_data = get_userdata($page->post_author);
- //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "
";
+ //echo "current user id : $user_id, page author id: " . $page_author_data->ID . "
";
// If the user is the author...
if ($user_id == $page_author_data->ID) {
// If the page is published...
diff --git a/wp-includes/js/scriptaculous/unittest.js b/wp-includes/js/scriptaculous/unittest.js
index d2dff8b2cb..07ec33fea3 100644
--- a/wp-includes/js/scriptaculous/unittest.js
+++ b/wp-includes/js/scriptaculous/unittest.js
@@ -121,7 +121,7 @@ Test.Unit.Logger.prototype = {
this.loglines = $('loglines');
},
_toHTML: function(txt) {
- return txt.escapeHTML().replace(/\n/g,"
");
+ return txt.escapeHTML().replace(/\n/g,"
");
},
addLinksToResults: function(){
$$("tr.failed .nameCell").each( function(td){ // todo: limit to children of this.log