Revert [10956]. fixes #9643 see #8619

git-svn-id: http://svn.automattic.com/wordpress/trunk@11085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-25 00:01:05 +00:00
parent 0a54bb3bfe
commit 1d7265b4b2
1 changed files with 0 additions and 1 deletions

View File

@ -1815,7 +1815,6 @@ class WP_Query {
// Category stuff for nice URLs
if ( '' != $q['category_name'] && !$this->is_singular ) {
$q['category_name'] = sanitize_title($q['category_name']);
$reqcat = get_category_by_path($q['category_name']);
$q['category_name'] = str_replace('%2F', '/', urlencode(urldecode($q['category_name'])));
$cat_paths = '/' . trim($q['category_name'], '/');