Changeset 16699
- Timestamp:
- 12/02/2010 11:30:21 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r16617 r16699 509 509 510 510 if ( !$tag || is_wp_error($tag) || (!$tag = get_term( $tag['term_id'], $taxonomy )) ) { 511 $message = __('An error has occur ed. Please reload the page and try again.');511 $message = __('An error has occurred. Please reload the page and try again.'); 512 512 if ( is_wp_error($tag) && $tag->get_error_message() ) 513 513 $message = $tag->get_error_message(); … … 1344 1344 $multi_number = !empty($_POST['multi_number']) ? (int) $_POST['multi_number'] : 0; 1345 1345 $settings = isset($_POST['widget-' . $id_base]) && is_array($_POST['widget-' . $id_base]) ? $_POST['widget-' . $id_base] : false; 1346 $error = '<p>' . __('An error has occur ed. Please reload the page and try again.') . '</p>';1346 $error = '<p>' . __('An error has occurred. Please reload the page and try again.') . '</p>'; 1347 1347 1348 1348 $sidebars = wp_get_sidebars_widgets(); -
trunk/wp-admin/includes/class-wp-upgrader.php
r16696 r16699 1082 1082 function add_strings() { 1083 1083 $this->upgrader->strings['skin_upgrade_start'] = __('The update process is starting. This process may take a while on some hosts, so please be patient.'); 1084 $this->upgrader->strings['skin_update_failed_error'] = __('An error occur ed while updating %1$s: <strong>%2$s</strong>.');1084 $this->upgrader->strings['skin_update_failed_error'] = __('An error occurred while updating %1$s: <strong>%2$s</strong>.'); 1085 1085 $this->upgrader->strings['skin_update_failed'] = __('The update of %1$s failed.'); 1086 1086 $this->upgrader->strings['skin_update_successful'] = __('%1$s updated successfully.').' <a onclick="%2$s" href="#" class="hide-if-no-js"><span>'.__('Show Details').'</span><span class="hidden">'.__('Hide Details').'</span>.</a>'; -
trunk/wp-admin/includes/theme.php
r16696 r16699 390 390 $request = wp_remote_post('http://api.wordpress.org/themes/info/1.0/', array( 'body' => array('action' => $action, 'request' => serialize($args))) ); 391 391 if ( is_wp_error($request) ) { 392 $res = new WP_Error('themes_api_failed', __('An Unexpected HTTP Error occur ed 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() ); 393 393 } else { 394 394 $res = unserialize($request['body']); 395 395 if ( ! $res ) 396 $res = new WP_Error('themes_api_failed', __('An unknown error occur ed'), $request['body']);396 $res = new WP_Error('themes_api_failed', __('An unknown error occurred'), $request['body']); 397 397 } 398 398 } -
trunk/wp-app.php
r16221 r16699 713 713 714 714 if ( !isset($location) || 'attachment' != $entry['post_type'] || empty($filetype['ext']) ) 715 $this->internal_error(__('Error oc urred while accessing post metadata for file location.'));715 $this->internal_error(__('Error occurred while accessing post metadata for file location.')); 716 716 717 717 // delete file … … 750 750 751 751 if ( !isset($location) || 'attachment' != $entry['post_type'] || empty($filetype['ext']) ) 752 $this->internal_error(__('Error oc urred while accessing post metadata for file location.'));752 $this->internal_error(__('Error occurred while accessing post metadata for file location.')); 753 753 754 754 status_header('200'); … … 802 802 803 803 if (!isset($location) || 'attachment' != $entry['post_type'] || empty($filetype['ext'])) 804 $this->internal_error(__('Error oc urred while accessing post metadata for file location.'));804 $this->internal_error(__('Error occurred while accessing post metadata for file location.')); 805 805 806 806 $fp = fopen("php://input", "rb"); -
trunk/wp-includes/class-simplepie.php
r13935 r16699 1832 1832 1833 1833 /** 1834 * Return the error message for the occur ed error1834 * Return the error message for the occurred error 1835 1835 * 1836 1836 * @access public
Note: See TracChangeset
for help on using the changeset viewer.