WordPress.org

Make WordPress Core

Changeset 10468


Ignore:
Timestamp:
01/30/2009 02:30:30 PM (12 years ago)
Author:
azaozz
Message:

Typo fix: occured/occurred, props demetris, fixes #8950

File:
1 edited

Legend:

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

    r10176 r10468  
    4141        $request = wp_remote_post('http://api.wordpress.org/plugins/info/1.0/', array( 'body' => array('action' => $action, 'request' => serialize($args))) );
    4242        if ( is_wp_error($request) ) {
    43             $res = new WP_Error('plugins_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() );
     43            $res = new WP_Error('plugins_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() );
    4444        } else {
    4545            $res = unserialize($request['body']);
    4646            if ( ! $res )
    47                 $res = new WP_Error('plugins_api_failed', __('An unknown error occured'), $request['body']);
     47                $res = new WP_Error('plugins_api_failed', __('An unknown error occurred'), $request['body']);
    4848        }
    4949    }
Note: See TracChangeset for help on using the changeset viewer.