Changeset 5827 for trunk/src/includes/search/functions.php
- Timestamp:
- 07/14/2015 12:31:42 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/search/functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/search/functions.php
r5770 r5827 16 16 * Run the search query 17 17 * 18 * @since bbPress (r4579) 18 * @since bbPress (r4579) 19 19 * 20 20 * @param mixed $new_args New arguments … … 26 26 function bbp_search_query( $new_args = array() ) { 27 27 28 // Existing arguments 28 // Existing arguments 29 29 $query_args = bbp_get_search_query_args(); 30 30 … … 59 59 * 60 60 * @since bbPress (r4928) 61 * 61 62 * @return If a redirect is not needed 62 63 */ 63 64 function bbp_search_results_redirect() { 64 global $wp_rewrite; 65 65 66 66 // Bail if not a search request action 67 67 if ( empty( $_GET['action'] ) || ( 'bbp-search-request' !== $_GET['action'] ) ) { … … 70 70 71 71 // Bail if not using pretty permalinks 72 if ( ! $wp_rewrite->using_permalinks() ) {72 if ( ! bbp_use_pretty_urls() ) { 73 73 return; 74 74 }
Note: See TracChangeset
for help on using the changeset viewer.