diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index 0982874712..1291898308 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -736,7 +736,7 @@ function user_row( $user_object, $style = '' ) {
|
$email |
$short_url | ";
- $r .= "\n\t\t$numposts | ";
+ $r .= "\n\t\t$numposts | ";
$r .= "\n\t\t";
if (current_user_can('edit_users'))
$r .= "".__('Edit')."";
@@ -1559,8 +1559,8 @@ function get_file_description($file) {
if (isset ($wp_file_descriptions[basename($file)])) {
return $wp_file_descriptions[basename($file)];
}
- elseif (file_exists(ABSPATH.$file)) {
- $template_data = implode('', file(ABSPATH.$file));
+ elseif ( file_exists( ABSPATH . $file ) && is_file( ABSPATH . $file ) ) {
+ $template_data = implode('', file( ABSPATH . $file ));
if (preg_match("|Template Name:(.*)|i", $template_data, $name))
return $name[1];
}
@@ -1911,21 +1911,14 @@ function wp_import_cleanup($id) {
function wp_import_upload_form($action) {
?>
-
-
-
+
|
- |
- |
+ |
+ |
|
|
|
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
index 57fb693ff8..6e36c66402 100644
--- a/wp-admin/edit-comments.php
+++ b/wp-admin/edit-comments.php
@@ -39,7 +39,7 @@ function getNumChecked(form)
- |