Make WordPress Core


Ignore:
Timestamp:
12/02/2010 11:30:21 PM (14 years ago)
Author:
nacin
Message:

s/occured/occurred/. props aldenta, fixes #15653.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme.php

    r16696 r16699  
    390390        $request = wp_remote_post('http://api.wordpress.org/themes/info/1.0/', array( 'body' => array('action' => $action, 'request' => serialize($args))) );
    391391        if ( is_wp_error($request) ) {
    392             $res = new WP_Error('themes_api_failed', __('An Unexpected HTTP Error occured during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>'), $request->get_error_message() );
     392            $res = new WP_Error('themes_api_failed', __('An Unexpected HTTP Error occurred during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>'), $request->get_error_message() );
    393393        } else {
    394394            $res = unserialize($request['body']);
    395395            if ( ! $res )
    396             $res = new WP_Error('themes_api_failed', __('An unknown error occured'), $request['body']);
     396            $res = new WP_Error('themes_api_failed', __('An unknown error occurred'), $request['body']);
    397397        }
    398398    }
Note: See TracChangeset for help on using the changeset viewer.