diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index e5f0e3aca4..09356d7039 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -128,7 +128,7 @@ function save_mod_rewrite_rules() { $home_path = get_home_path(); $htaccess_file = $home_path.'.htaccess'; - // If the file doesn't already exists check for write access to the directory and whether we have some rules. + // If the file doesn't already exist check for write access to the directory and whether we have some rules. // else check for write access to the file. if ((!file_exists($htaccess_file) && is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) { if ( got_mod_rewrite() ) { diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 4a6b45b1e3..e18d2cadfe 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1822,7 +1822,7 @@ function user_row( $user_object, $style = '', $role = '' ) { // Check if the user for this row is editable if ( current_user_can( 'edit_user', $user_object->ID ) ) { // Set up the user editing link - // TODO: make profile/user-edit determination a seperate function + // TODO: make profile/user-edit determination a separate function if ($current_user->ID == $user_object->ID) { $edit_link = 'profile.php'; } else { diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index daf6147e4d..13e3708d0e 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -143,7 +143,7 @@ foreach ( $offset_range as $offset ) { %2$s'), $current_offset_name, date_i18n($time_format)); ?>
- +
@@ -202,11 +202,11 @@ if (empty($tzstring)) { // Create a UTC+- zone if no timezone string exists if ( isset($found) && $found === true ) { echo ' '; $message = $tr['isdst'] ? - __('Daylight savings time begins on: %s.') : + __('Daylight saving time begins on: %s.') : __('Standard time begins on: %s.'); printf( $message, date_i18n(get_option('date_format').' '.get_option('time_format'), $tr['ts'] ) ); } else { - _e('This timezone does not observe daylight savings time.'); + _e('This timezone does not observe daylight saving time.'); } } ?> diff --git a/wp-includes/class-smtp.php b/wp-includes/class-smtp.php index 250153c172..065e2e9316 100644 --- a/wp-includes/class-smtp.php +++ b/wp-includes/class-smtp.php @@ -265,7 +265,7 @@ class SMTP * finializing the mail transaction. $msg_data is the message * that is to be send with the headers. Each header needs to be * on a single line followed by a with the message headers - * and the message body being seperated by and additional . + * and the message body being separated by and additional . * * Implements rfc 821: DATA * diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 9c95579257..b17cb1edba 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -922,7 +922,7 @@ class Walker { /* * need to display in hierarchical order - * seperate elements into two buckets: top level and children elements + * separate elements into two buckets: top level and children elements * children_elements is two dimensional array, eg. * children_elements[10][] contains all sub-elements whose parent is 10. */ @@ -1036,7 +1036,7 @@ class Walker { } /* - * seperate elements into two buckets: top level and children elements + * separate elements into two buckets: top level and children elements * children_elements is two dimensional array, eg. * children_elements[10][] contains all sub-elements whose parent is 10. */ diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 2dad872b6f..a552829e49 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -1255,7 +1255,7 @@ function gzip_compression() { * @see get_comment() * * @param int $comment_ID The ID of the comment - * @param int $no_cache Whether to use the cache (casted to bool) + * @param int $no_cache Whether to use the cache (cast to bool) * @param bool $include_unapproved Whether to include unapproved comments * @return array The comment data */ diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index f6f0fabf67..fe80c9f0dd 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -167,7 +167,7 @@ function get_search_form($echo = true) { /** * Display the Log In/Out link. * - * Displays a link, which allows the user to navigate to the Log In page to log in + * Displays a link, which allows users to navigate to the Log In page to log in * or log out depending on whether they are currently logged in. * * @since 1.5.0 diff --git a/wp-includes/load.php b/wp-includes/load.php index fcea2e018b..bc651379fb 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -228,7 +228,7 @@ function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_st * defined in wp-config.php. Example: define( 'WP_DEBUG', true ); * * WP_DEBUG_DISPLAY and WP_DEBUG_LOG perform no function unless WP_DEBUG is true. - * WP_DEBUG defaults defaults to false. + * WP_DEBUG defaults to false. * * When WP_DEBUG is true, all PHP notices are reported. WordPress will also display * notices, including one when a deprecated WordPress function, function argument, diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index d93121fd33..6ff765f6f0 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1006,7 +1006,7 @@ function get_the_password_form() { * Whether currently in a page template. * * This template tag allows you to determine if you are in a page template. - * You can optional provide a template name and then the check will be + * You can optionally provide a template name and then the check will be * specific to that template. * * @since 2.5.0