diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php index beb6d69234..e7984ebda1 100644 --- a/src/wp-includes/cache.php +++ b/src/wp-includes/cache.php @@ -646,7 +646,7 @@ class WP_Object_Cache { /** * Sets the data contents into the cache. * - * The cache contents is grouped by the $group parameter followed by the + * The cache contents are grouped by the $group parameter followed by the * $key. This allows for duplicate ids in unique groups. Therefore, naming of * the group should be used with care and should follow normal function * naming guidelines outside of core WordPress usage. diff --git a/src/wp-includes/class-json.php b/src/wp-includes/class-json.php index 93a353623d..e0926f0223 100644 --- a/src/wp-includes/class-json.php +++ b/src/wp-includes/class-json.php @@ -805,7 +805,7 @@ class Services_JSON ($top['what'] == SERVICES_JSON_IN_STR) && (($this->strlen8($this->substr8($chrs, 0, $c)) - $this->strlen8(rtrim($this->substr8($chrs, 0, $c), '\\'))) % 2 != 1)) { // found a quote, we're in a string, and it's not escaped - // we know that it's not escaped becase there is _not_ an + // we know that it's not escaped because there is _not_ an // odd number of backslashes at the end of the string so far array_pop($stk); //print("Found end of string at {$c}: ".$this->substr8($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n"); diff --git a/src/wp-includes/class-smtp.php b/src/wp-includes/class-smtp.php index 3ad081926a..f9942a5985 100644 --- a/src/wp-includes/class-smtp.php +++ b/src/wp-includes/class-smtp.php @@ -564,10 +564,10 @@ class SMTP /** * Send an SMTP DATA command. * Issues a data command and sends the msg_data to the server, - * finializing the mail transaction. $msg_data is the message + * finalizing 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 separated by and additional . + * and the message body being separated by an additional . * Implements rfc 821: DATA * @param string $msg_data Message data to send * @access public diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index a386b61ed8..41031cba93 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -102,7 +102,7 @@ function get_comment_author_email( $comment_ID = 0 ) { * Display the email of the author of the current global $comment. * * Care should be taken to protect the email address and assure that email - * harvesters do not capture your commentors' email address. Most assume that + * harvesters do not capture your commenter's email address. Most assume that * their email address will not appear in raw form on the site. Doing so will * enable anyone, including those that people don't want to get the email * address and use it for their own means good and bad. @@ -133,7 +133,7 @@ function comment_author_email( $comment_ID = 0 ) { * Display the html email link to the author of the current comment. * * Care should be taken to protect the email address and assure that email - * harvesters do not capture your commentors' email address. Most assume that + * harvesters do not capture your commenter's email address. Most assume that * their email address will not appear in raw form on the site. Doing so will * enable anyone, including those that people don't want to get the email * address and use it for their own means good and bad. @@ -157,7 +157,7 @@ function comment_author_email_link( $linktext = '', $before = '', $after = '', $ * Return the html email link to the author of the current comment. * * Care should be taken to protect the email address and assure that email - * harvesters do not capture your commentors' email address. Most assume that + * harvesters do not capture your commenter's email address. Most assume that * their email address will not appear in raw form on the site. Doing so will * enable anyone, including those that people don't want to get the email * address and use it for their own means good and bad. diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index bc9af6e73e..12864b343a 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -2666,7 +2666,7 @@ function wp_remove_object_terms( $object_id, $terms, $taxonomy ) { * The way this works is that if the taxonomy that the term belongs to is * hierarchical and has a parent, it will append that parent to the $slug. * - * If that still doesn't return an unique slug, then it try to append a number + * If that still doesn't return a unique slug, then it tries to append a number * until it finds a number that is truly unique. * * The only purpose for `$term` is for appending a parent, if one exists. @@ -4127,7 +4127,7 @@ function wp_get_split_term( $old_term_id, $taxonomy ) { * * @param int $term_id Term ID. * @return bool Returns false if a term is not shared between multiple taxonomies or - * if splittng shared taxonomy terms is finished. + * if splitting shared taxonomy terms is finished. */ function wp_term_is_shared( $term_id ) { global $wpdb; diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 03640c45ff..9a72126488 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -3057,7 +3057,7 @@ function _wp_customize_publish_changeset( $new_status, $old_status, $changeset_p * Trash the changeset post if revisions are not enabled. Unpublished * changesets by default get garbage collected due to the auto-draft status. * When a changeset post is published, however, it would no longer get cleaned - * out. Ths is a problem when the changeset posts are never displayed anywhere, + * out. This is a problem when the changeset posts are never displayed anywhere, * since they would just be endlessly piling up. So here we use the revisions * feature to indicate whether or not a published changeset should get trashed * and thus garbage collected.