Ticket #966: activity-filter-links.patch
File activity-filter-links.patch, 815 bytes (added by , 15 years ago) |
---|
-
bp-activity-templatetags.php
378 378 } 379 379 380 380 $link = add_query_arg( 'afilter', $component_name ); 381 381 $link = apply_filters('bp_get_activity_filter_link', $link); 382 382 383 $component_links[] = $before . '<a href="' . $link . '">' . ucwords( __( $component_name, 'buddypress' ) ) . '</a>' . $after; 383 384 } 384 385 385 386 $link = remove_query_arg( array( 'afilter' ), $link ); 387 $link = apply_filters('bp_get_activity_filter_link', $link); 386 388 387 389 if ( isset( $_GET['afilter'] ) ) 388 390 $component_links[] = '<' . $tag . ' id="afilter-clear"><a href="' . $link . '"">' . __( 'Clear Filter', 'buddypress' ) . '</a></' . $tag . '>';