Docs: Correct various spelling mistakes.
Props man4toman. Fixes #46339. git-svn-id: https://develop.svn.wordpress.org/trunk@44894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c43e43a7ce
commit
4a7b41e6cf
|
@ -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.
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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 <CRLF> with the message headers
|
||||
* and the message body being separated by and additional <CRLF>.
|
||||
* and the message body being separated by an additional <CRLF>.
|
||||
* Implements rfc 821: DATA <CRLF>
|
||||
* @param string $msg_data Message data to send
|
||||
* @access public
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue