diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 0d53118668..120e571bd7 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -2089,7 +2089,7 @@ class WP_Automatic_Updater { return; } - // Update the lock, as by this point we've definately got a lock, just need to fire the actions + // Update the lock, as by this point we've definitely got a lock, just need to fire the actions update_option( $lock_name, time() ); // Don't automatically run these thins, as we'll handle it ourselves diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 180b5cc142..eaef0bcdf6 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -282,7 +282,7 @@ function get_theme_feature_list( $api = true ) { * It is possible for a theme to override the Themes API result with three * filters. Assume this is for themes, which can extend on the Theme Info to * offer more choices. This is very powerful and must be used with care, when - * overridding the filters. + * overriding the filters. * * The first filter, 'themes_api_args', is for the args and gives the action as * the second parameter. The hook for 'themes_api_args' must ensure that an diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php index f576719c87..b0a0f28d99 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -358,7 +358,7 @@ class IXR_Message $this->_arraystructs[count($this->_arraystructs)-1][] = $value; } } else { - // Just add as a paramater + // Just add as a parameter $this->params[] = $value; } } @@ -451,7 +451,7 @@ EOD; // Perform the callback and send the response if (count($args) == 1) { - // If only one paramater just send that instead of the whole array + // If only one parameter just send that instead of the whole array $args = $args[0]; } diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 8e5d635bd9..4dee414262 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -727,7 +727,7 @@ class WP_Http { * @since 3.7.0 * * @param string $url The URL which was requested. - * @param array $args The Arguements which were used to make the request. + * @param array $args The Arguments which were used to make the request. * @param array $response The Response of the HTTP request. * @return false|object False if no redirect is present, a WP_HTTP or WP_Error result otherwise. */ @@ -1430,7 +1430,7 @@ class WP_Http_Curl { $curl_error = curl_errno( $handle ); - // If an error occured, or, no response. + // If an error occurred, or, no response. if ( $curl_error || ( 0 == strlen( $theBody ) && empty( $theHeaders['headers'] ) ) ) { if ( CURLE_WRITE_ERROR /* 23 */ == $curl_error && $r['stream'] ) { fclose( $this->stream_handle ); diff --git a/wp-includes/class-simplepie.php b/wp-includes/class-simplepie.php index e7281c9e35..64f9fa9be4 100644 --- a/wp-includes/class-simplepie.php +++ b/wp-includes/class-simplepie.php @@ -1612,7 +1612,7 @@ class SimplePie } /** - * Get the error message for the occured error + * Get the error message for the occurred error. * * @return string|array Error message, or array of messages for multifeeds */ diff --git a/wp-includes/class-wp-walker.php b/wp-includes/class-wp-walker.php index 3c73457d53..25191641c0 100644 --- a/wp-includes/class-wp-walker.php +++ b/wp-includes/class-wp-walker.php @@ -40,7 +40,7 @@ class Walker { protected $max_pages = 1; /** - * Wether the current element has children or not. + * Whether the current element has children or not. * * To be used in start_el(). * diff --git a/wp-includes/date.php b/wp-includes/date.php index 0fbf0423e0..a060239ea3 100644 --- a/wp-includes/date.php +++ b/wp-includes/date.php @@ -84,7 +84,7 @@ class WP_Date_Query { * Default (string:empty)|(array:last day of month). Accepts numbers 1-31. * } * @type string $column Optional. Used to add a clause comparing a column other than the column - * specified in the top-level $column paramater. Default is the value + * specified in the top-level $column parameter. Default is the value * of top-level $column. Accepts 'post_date', 'post_date_gmt', * 'post_modified', 'post_modified_gmt', 'comment_date', 'comment_date_gmt'. * @type string $compare Optional. The comparison operator. Default '='. Accepts '=', '!=', diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index becc24a175..3828c6abc2 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -227,27 +227,27 @@ function wptexturize($text, $reset = false) { $textarr = preg_split( $regex, $text, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ); foreach ( $textarr as &$curl ) { - // Only call _wptexturize_pushpop_element if $curl is a delimeter. + // Only call _wptexturize_pushpop_element if $curl is a delimiter. $first = $curl[0]; if ( '<' === $first && '>' === substr( $curl, -1 ) ) { - // This is an HTML delimeter. + // This is an HTML delimiter. if ( '