Make WordPress Core

Ticket #46339: 46339.patch

File 46339.patch, 6.0 KB (added by man4toman, 8 years ago)
  • wp-includes/cache.php

     
    646646        /**
    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
    652652         * naming guidelines outside of core WordPress usage.
  • wp-includes/class-json.php

     
    805805                                 ($top['what'] == SERVICES_JSON_IN_STR) &&
    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);
    811811                            //print("Found end of string at {$c}: ".$this->substr8($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n");
  • wp-includes/class-smtp.php

     
    564564    /**
    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
    573573     * @access public
  • wp-includes/comment-template.php

     
    102102 * Display the email of the author of the current global $comment.
    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
    108108 * address and use it for their own means good and bad.
    … …  
    133133 * Display the html email link to the author of the current comment.
    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
    139139 * address and use it for their own means good and bad.
    … …  
    157157 * Return the html email link to the author of the current comment.
    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
    163163 * address and use it for their own means good and bad.
  • wp-includes/taxonomy.php

     
    26662666 * The way this works is that if the taxonomy that the term belongs to is
    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 *
    26722672 * The only purpose for `$term` is for appending a parent, if one exists.
    … …  
    41274127 *
    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 ) {
    41334133        global $wpdb;
  • wp-includes/theme.php

     
    30573057         * Trash the changeset post if revisions are not enabled. Unpublished
    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
    30633063         * and thus garbage collected.