Changeset 6228 for trunk/src/includes/search/template.php
- Timestamp:
- 01/12/2017 11:28:11 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/search/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/search/template.php
r5951 r6228 156 156 $bbp->search_query->pagination_links = str_replace( bbp_get_paged_slug() . '/1/', '', $bbp->search_query->pagination_links ); 157 157 } else { 158 $bbp->search_query->pagination_links = str_replace( '&paged=1', '', $bbp->search_query->pagination_links );158 $bbp->search_query->pagination_links = preg_replace( '/&paged=1(?=[^0-9])/m', '', $bbp->search_query->pagination_links ); 159 159 } 160 160 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)