mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-11 22:29:48 +01:00
Docs: Correct various spelling mistakes.
Props man4toman. Fixes #46339. Built from https://develop.svn.wordpress.org/trunk@44894 git-svn-id: http://core.svn.wordpress.org/trunk@44725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c4f8bc468d
commit
03240dd3f4
@ -646,7 +646,7 @@ class WP_Object_Cache {
|
|||||||
/**
|
/**
|
||||||
* Sets the data contents into the 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
|
* $key. This allows for duplicate ids in unique groups. Therefore, naming of
|
||||||
* the group should be used with care and should follow normal function
|
* the group should be used with care and should follow normal function
|
||||||
* naming guidelines outside of core WordPress usage.
|
* naming guidelines outside of core WordPress usage.
|
||||||
|
@ -805,7 +805,7 @@ class Services_JSON
|
|||||||
($top['what'] == SERVICES_JSON_IN_STR) &&
|
($top['what'] == SERVICES_JSON_IN_STR) &&
|
||||||
(($this->strlen8($this->substr8($chrs, 0, $c)) - $this->strlen8(rtrim($this->substr8($chrs, 0, $c), '\\'))) % 2 != 1)) {
|
(($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
|
// 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
|
// odd number of backslashes at the end of the string so far
|
||||||
array_pop($stk);
|
array_pop($stk);
|
||||||
//print("Found end of string at {$c}: ".$this->substr8($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n");
|
//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.
|
* Send an SMTP DATA command.
|
||||||
* Issues a data command and sends the msg_data to the server,
|
* 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
|
* 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
|
* 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>
|
* Implements rfc 821: DATA <CRLF>
|
||||||
* @param string $msg_data Message data to send
|
* @param string $msg_data Message data to send
|
||||||
* @access public
|
* @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.
|
* Display the email of the author of the current global $comment.
|
||||||
*
|
*
|
||||||
* Care should be taken to protect the email address and assure that email
|
* 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
|
* 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
|
* enable anyone, including those that people don't want to get the email
|
||||||
* address and use it for their own means good and bad.
|
* 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.
|
* 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
|
* 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
|
* 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
|
* enable anyone, including those that people don't want to get the email
|
||||||
* address and use it for their own means good and bad.
|
* 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.
|
* 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
|
* 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
|
* 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
|
* enable anyone, including those that people don't want to get the email
|
||||||
* address and use it for their own means good and bad.
|
* 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
|
* 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.
|
* 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.
|
* until it finds a number that is truly unique.
|
||||||
*
|
*
|
||||||
* The only purpose for `$term` is for appending a parent, if one exists.
|
* 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.
|
* @param int $term_id Term ID.
|
||||||
* @return bool Returns false if a term is not shared between multiple taxonomies or
|
* @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 ) {
|
function wp_term_is_shared( $term_id ) {
|
||||||
global $wpdb;
|
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
|
* Trash the changeset post if revisions are not enabled. Unpublished
|
||||||
* changesets by default get garbage collected due to the auto-draft status.
|
* 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
|
* 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
|
* 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
|
* feature to indicate whether or not a published changeset should get trashed
|
||||||
* and thus garbage collected.
|
* and thus garbage collected.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-44858';
|
$wp_version = '5.2-alpha-44894';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user