Ticket #46339: 46339.patch
| File 46339.patch, 6.0 KB (added by , 8 years ago) |
|---|
-
wp-includes/cache.php
646 646 /** 647 647 * Sets the data contents into the cache. 648 648 * 649 * The cache contents isgrouped by the $group parameter followed by the649 * The cache contents are grouped by the $group parameter followed by the 650 650 * $key. This allows for duplicate ids in unique groups. Therefore, naming of 651 651 * the group should be used with care and should follow normal function 652 652 * naming guidelines outside of core WordPress usage. -
wp-includes/class-json.php
805 805 ($top['what'] == SERVICES_JSON_IN_STR) && 806 806 (($this->strlen8($this->substr8($chrs, 0, $c)) - $this->strlen8(rtrim($this->substr8($chrs, 0, $c), '\\'))) % 2 != 1)) { 807 807 // found a quote, we're in a string, and it's not escaped 808 // we know that it's not escaped beca se there is _not_ an808 // we know that it's not escaped because there is _not_ an 809 809 // odd number of backslashes at the end of the string so far 810 810 array_pop($stk); 811 811 //print("Found end of string at {$c}: ".$this->substr8($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n"); -
wp-includes/class-smtp.php
564 564 /** 565 565 * Send an SMTP DATA command. 566 566 * Issues a data command and sends the msg_data to the server, 567 * fin ializing the mail transaction. $msg_data is the message567 * finalizing the mail transaction. $msg_data is the message 568 568 * that is to be send with the headers. Each header needs to be 569 569 * on a single line followed by a <CRLF> with the message headers 570 * and the message body being separated by an dadditional <CRLF>.570 * and the message body being separated by an additional <CRLF>. 571 571 * Implements rfc 821: DATA <CRLF> 572 572 * @param string $msg_data Message data to send 573 573 * @access public -
wp-includes/comment-template.php
102 102 * Display the email of the author of the current global $comment. 103 103 * 104 104 * Care should be taken to protect the email address and assure that email 105 * harvesters do not capture your comment ors'email address. Most assume that105 * harvesters do not capture your commenter's email address. Most assume that 106 106 * their email address will not appear in raw form on the site. Doing so will 107 107 * enable anyone, including those that people don't want to get the email 108 108 * address and use it for their own means good and bad. … … 133 133 * Display the html email link to the author of the current comment. 134 134 * 135 135 * Care should be taken to protect the email address and assure that email 136 * harvesters do not capture your comment ors'email address. Most assume that136 * harvesters do not capture your commenter's email address. Most assume that 137 137 * their email address will not appear in raw form on the site. Doing so will 138 138 * enable anyone, including those that people don't want to get the email 139 139 * address and use it for their own means good and bad. … … 157 157 * Return the html email link to the author of the current comment. 158 158 * 159 159 * Care should be taken to protect the email address and assure that email 160 * harvesters do not capture your comment ors'email address. Most assume that160 * harvesters do not capture your commenter's email address. Most assume that 161 161 * their email address will not appear in raw form on the site. Doing so will 162 162 * enable anyone, including those that people don't want to get the email 163 163 * address and use it for their own means good and bad. -
wp-includes/taxonomy.php
2666 2666 * The way this works is that if the taxonomy that the term belongs to is 2667 2667 * hierarchical and has a parent, it will append that parent to the $slug. 2668 2668 * 2669 * If that still doesn't return a n unique slug, then it tryto append a number2669 * If that still doesn't return a unique slug, then it tries to append a number 2670 2670 * until it finds a number that is truly unique. 2671 2671 * 2672 2672 * The only purpose for `$term` is for appending a parent, if one exists. … … 4127 4127 * 4128 4128 * @param int $term_id Term ID. 4129 4129 * @return bool Returns false if a term is not shared between multiple taxonomies or 4130 * if splitt ng shared taxonomy terms is finished.4130 * if splitting shared taxonomy terms is finished. 4131 4131 */ 4132 4132 function wp_term_is_shared( $term_id ) { 4133 4133 global $wpdb; -
wp-includes/theme.php
3057 3057 * Trash the changeset post if revisions are not enabled. Unpublished 3058 3058 * changesets by default get garbage collected due to the auto-draft status. 3059 3059 * When a changeset post is published, however, it would no longer get cleaned 3060 * out. Th s 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, 3061 3061 * since they would just be endlessly piling up. So here we use the revisions 3062 3062 * feature to indicate whether or not a published changeset should get trashed 3063 3063 * and thus garbage collected.