Changeset 14402
- Timestamp:
- 05/03/2010 08:20:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r14401 r14402 2071 2071 $q['author_name'] = explode('/', $q['author_name']); 2072 2072 if ( $q['author_name'][ count($q['author_name'])-1 ] ) { 2073 $q['author_name'] = $q['author_name'][count($q['author_name'])-1]; #no trailing slash2073 $q['author_name'] = $q['author_name'][count($q['author_name'])-1]; // no trailing slash 2074 2074 } else { 2075 $q['author_name'] = $q['author_name'][count($q['author_name'])-2]; #there was a trailling slash2075 $q['author_name'] = $q['author_name'][count($q['author_name'])-2]; // there was a trailling slash 2076 2076 } 2077 2077 }
Note: See TracChangeset
for help on using the changeset viewer.