Make WordPress Core

Changeset 44894


Ignore:
Timestamp:
03/13/2019 07:31:49 PM (6 years ago)
Author:
desrosj
Message:

Docs: Correct various spelling mistakes.

Props man4toman.
Fixes #46339.

Location:
trunk/src/wp-includes
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cache.php

    r44601 r44894  
    647647     * Sets the data contents into the cache.
    648648     *
    649      * The cache contents is grouped by the $group parameter followed by the
     649     * The cache contents are grouped by the $group parameter followed by the
    650650     * $key. This allows for duplicate ids in unique groups. Therefore, naming of
    651651     * the group should be used with care and should follow normal function
  • trunk/src/wp-includes/class-json.php

    r43325 r44894  
    806806                                 (($this->strlen8($this->substr8($chrs, 0, $c)) - $this->strlen8(rtrim($this->substr8($chrs, 0, $c), '\\'))) % 2 != 1)) {
    807807                            // found a quote, we're in a string, and it's not escaped
    808                             // we know that it's not escaped becase there is _not_ an
     808                            // we know that it's not escaped because there is _not_ an
    809809                            // odd number of backslashes at the end of the string so far
    810810                            array_pop($stk);
  • trunk/src/wp-includes/class-smtp.php

    r39759 r44894  
    565565     * Send an SMTP DATA command.
    566566     * Issues a data command and sends the msg_data to the server,
    567      * finializing the mail transaction. $msg_data is the message
     567     * finalizing the mail transaction. $msg_data is the message
    568568     * that is to be send with the headers. Each header needs to be
    569569     * on a single line followed by a <CRLF> with the message headers
    570      * and the message body being separated by and additional <CRLF>.
     570     * and the message body being separated by an additional <CRLF>.
    571571     * Implements rfc 821: DATA <CRLF>
    572572     * @param string $msg_data Message data to send
  • trunk/src/wp-includes/comment-template.php

    r44659 r44894  
    103103 *
    104104 * Care should be taken to protect the email address and assure that email
    105  * harvesters do not capture your commentors' email address. Most assume that
     105 * harvesters do not capture your commenter's email address. Most assume that
    106106 * their email address will not appear in raw form on the site. Doing so will
    107107 * enable anyone, including those that people don't want to get the email
     
    134134 *
    135135 * Care should be taken to protect the email address and assure that email
    136  * harvesters do not capture your commentors' email address. Most assume that
     136 * harvesters do not capture your commenter's email address. Most assume that
    137137 * their email address will not appear in raw form on the site. Doing so will
    138138 * enable anyone, including those that people don't want to get the email
     
    158158 *
    159159 * Care should be taken to protect the email address and assure that email
    160  * harvesters do not capture your commentors' email address. Most assume that
     160 * harvesters do not capture your commenter's email address. Most assume that
    161161 * their email address will not appear in raw form on the site. Doing so will
    162162 * enable anyone, including those that people don't want to get the email
  • trunk/src/wp-includes/taxonomy.php

    r44755 r44894  
    26672667 * hierarchical and has a parent, it will append that parent to the $slug.
    26682668 *
    2669  * If that still doesn't return an unique slug, then it try to append a number
     2669 * If that still doesn't return a unique slug, then it tries to append a number
    26702670 * until it finds a number that is truly unique.
    26712671 *
     
    41284128 * @param int $term_id Term ID.
    41294129 * @return bool Returns false if a term is not shared between multiple taxonomies or
    4130  *              if splittng shared taxonomy terms is finished.
     4130 *              if splitting shared taxonomy terms is finished.
    41314131 */
    41324132function wp_term_is_shared( $term_id ) {
  • trunk/src/wp-includes/theme.php

    r44613 r44894  
    30583058     * changesets by default get garbage collected due to the auto-draft status.
    30593059     * When a changeset post is published, however, it would no longer get cleaned
    3060      * out. Ths is a problem when the changeset posts are never displayed anywhere,
     3060     * out. This is a problem when the changeset posts are never displayed anywhere,
    30613061     * since they would just be endlessly piling up. So here we use the revisions
    30623062     * feature to indicate whether or not a published changeset should get trashed
Note: See TracChangeset for help on using the changeset viewer.