From 8213b95a67e3fcf2e049ff50ce79084737f0c284 Mon Sep 17 00:00:00 2001 From: dd32 Date: Mon, 3 May 2010 20:20:46 +0000 Subject: [PATCH] s/#/ \/\/ / - Remove #comment with // comment in WP_Query git-svn-id: http://svn.automattic.com/wordpress/trunk@14402 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index 71655671cc..2aef37f5b4 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -2070,9 +2070,9 @@ class WP_Query { if ( strpos($q['author_name'], '/') !== false ) { $q['author_name'] = explode('/', $q['author_name']); if ( $q['author_name'][ count($q['author_name'])-1 ] ) { - $q['author_name'] = $q['author_name'][count($q['author_name'])-1]; #no trailing slash + $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 trailling slash } } $q['author_name'] = sanitize_title($q['author_name']);