From 1875889e8cc1c9f78a1c5bc71a0f6dec86b660f3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 30 Jan 2009 14:30:30 +0000 Subject: [PATCH] Typo fix: occured/occurred, props demetris, fixes #8950 git-svn-id: https://develop.svn.wordpress.org/trunk@10468 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/plugin-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index 57e24bd737..1093296a63 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -40,11 +40,11 @@ function plugins_api($action, $args = null) { if ( ! $res ) { $request = wp_remote_post('http://api.wordpress.org/plugins/info/1.0/', array( 'body' => array('action' => $action, 'request' => serialize($args))) ); if ( is_wp_error($request) ) { - $res = new WP_Error('plugins_api_failed', __('An Unexpected HTTP Error occured during the API request.

Try again'), $request->get_error_message() ); + $res = new WP_Error('plugins_api_failed', __('An Unexpected HTTP Error occurred during the API request.

Try again'), $request->get_error_message() ); } else { $res = unserialize($request['body']); if ( ! $res ) - $res = new WP_Error('plugins_api_failed', __('An unknown error occured'), $request['body']); + $res = new WP_Error('plugins_api_failed', __('An unknown error occurred'), $request['body']); } }