Fix typos in documentation (wp-includes/[i-z]). See #18560.

git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jon Cave
2011-09-05 19:08:15 +00:00
parent 6fa5b1ed74
commit 82c0f09c09
16 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -2137,7 +2137,7 @@ class WP_Query {
if ( intval($q['comments_popup']) )
$q['p'] = absint($q['comments_popup']);
// If an attachment is requested by number, let it supercede any post number.
// If an attachment is requested by number, let it supersede any post number.
if ( $q['attachment_id'] )
$q['p'] = absint($q['attachment_id']);
@@ -2288,7 +2288,7 @@ class WP_Query {
if ( $q['author_name'][ count($q['author_name'])-1 ] ) {
$q['author_name'] = $q['author_name'][count($q['author_name'])-1]; // no trailing slash
} else {
$q['author_name'] = $q['author_name'][count($q['author_name'])-2]; // there was a trailling slash
$q['author_name'] = $q['author_name'][count($q['author_name'])-2]; // there was a trailing slash
}
}
$q['author_name'] = sanitize_title_for_query( $q['author_name'] );