From 9a21aad36abb6df44948d46e9feb133430599984 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 29 May 2008 19:06:27 +0000 Subject: [PATCH] Typo fixes from azaozz. see #7059 git-svn-id: http://svn.automattic.com/wordpress/trunk@8010 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index ef6ce1b07c..a1585aca82 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -162,12 +162,12 @@ function wp_update_plugin($plugin, $feedback = '') { //Get the base plugin folder $plugins_dir = $wp_filesystem->wp_plugins_dir(); if ( empty($plugins_dir) ) - return new WP_Error('fs_no)plugins_dir', __('Unable to locate WordPress Plugin directory.')); + return new WP_Error('fs_no_plugins_dir', __('Unable to locate WordPress Plugin directory.')); //And the same for the Content directory. $content_dir = $wp_filesystem->wp_content_dir(); if( empty($content_dir) ) - return new WP_Error('fs_no_content_dor', __('Unable to locate WordPress Content directory (wp-content).')); + return new WP_Error('fs_no_content_dir', __('Unable to locate WordPress Content directory (wp-content).')); $plugins_dir = trailingslashit( $plugins_dir ); $content_dir = trailingslashit( $content_dir );