Make WordPress Core


Ignore:
Timestamp:
05/03/2010 08:20:46 PM (15 years ago)
Author:
dd32
Message:

s/#/ \/\/ / - Remove #comment with comment in WP_Query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r14401 r14402  
    20712071                $q['author_name'] = explode('/', $q['author_name']);
    20722072                if ( $q['author_name'][ count($q['author_name'])-1 ] ) {
    2073                     $q['author_name'] = $q['author_name'][count($q['author_name'])-1]; #no trailing slash
     2073                    $q['author_name'] = $q['author_name'][count($q['author_name'])-1]; // no trailing slash
    20742074                } else {
    2075                     $q['author_name'] = $q['author_name'][count($q['author_name'])-2]; #there was a trailling slash
     2075                    $q['author_name'] = $q['author_name'][count($q['author_name'])-2]; // there was a trailling slash
    20762076                }
    20772077            }
Note: See TracChangeset for help on using the changeset viewer.