Changeset 6711 for trunk/wp-includes/link-template.php
- Timestamp:
- 02/02/2008 06:42:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r6633 r6711 525 525 526 526 $join = ''; 527 $posts_in_ex_cats_sql = ''; 527 528 if ( $in_same_cat || !empty($excluded_categories) ) { 528 529 $join = " INNER JOIN $wpdb->term_relationships AS tr ON p.ID = tr.object_id INNER JOIN $wpdb->term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id"; … … 616 617 preg_match( $qs_regex, $request, $qs_match ); 617 618 618 if ( $qs_match[0]) {619 if ( !empty( $qs_match[0] ) ) { 619 620 $query_string = $qs_match[0]; 620 621 $request = preg_replace( $qs_regex, '', $request );
Note: See TracChangeset
for help on using the changeset viewer.