Changeset 9260 for trunk/src/bp-members/bp-members-template.php
- Timestamp:
- 12/23/2014 01:00:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-template.php
r9210 r9260 276 276 } 277 277 278 /** 279 * Defaults to an empty array to make sure paginate_links() 280 * won't add the $page_arg to the links which would break 281 * pagination in case javascript is disabled. 282 */ 283 $add_args = array(); 284 278 285 if ( ! empty( $search_terms ) ) { 279 $ pag_args['s'] = urlencode( $search_terms );286 $add_args['s'] = urlencode( $search_terms ); 280 287 } 281 288 … … 287 294 'prev_text' => _x( '←', 'Member pagination previous text', 'buddypress' ), 288 295 'next_text' => _x( '→', 'Member pagination next text', 'buddypress' ), 289 'mid_size' => 1 296 'mid_size' => 1, 297 'add_args' => $add_args, 290 298 ) ); 291 299 }
Note: See TracChangeset
for help on using the changeset viewer.