Changeset 28668
- Timestamp:
- 06/04/2014 11:46:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r28667 r28668 1513 1513 // Look for archive queries. Dates, categories, authors, search, post type archives. 1514 1514 1515 if ( ! is_admin() &isset( $this->query['s'] ) ) {1515 if ( isset( $this->query['s'] ) ) { 1516 1516 $this->is_search = true; 1517 1517 } … … 2483 2483 if ( ! empty( $q['s'] ) ) { 2484 2484 $search = $this->parse_search( $q ); 2485 } elseif ( $this->is_search ) {2485 } elseif ( ! $this->is_admin && $this->is_search ) { 2486 2486 $search = ' AND 0'; 2487 2487 }
Note: See TracChangeset
for help on using the changeset viewer.