Changeset 9772 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 04/20/2015 03:38:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r9765 r9772 388 388 if ( (int) $this->total_activity_count && (int) $this->pag_num ) { 389 389 $this->pag_links = paginate_links( array( 390 'base' => add_query_arg( $ page_arg, '%#%' ),390 'base' => add_query_arg( $this->page_arg, '%#%' ), 391 391 'format' => '', 392 392 'total' => ceil( (int) $this->total_activity_count / (int) $this->pag_num ), … … 3090 3090 * @uses bp_is_activity_component() 3091 3091 * @uses bp_current_action() 3092 * @uses add_query_arg()3093 3092 * @uses wp_get_referer() 3094 3093 * @uses wp_nonce_url() … … 3338 3337 $link = apply_filters( 'bp_get_activity_filter_link_href', $link, $component ); 3339 3338 3340 $component_links[] = $before . '<a href="' . esc_ attr( $link ) . '">' . ucwords( $component ) . '</a>' . $after;3339 $component_links[] = $before . '<a href="' . esc_url( $link ) . '">' . ucwords( $component ) . '</a>' . $after; 3341 3340 } 3342 3341 … … 3344 3343 3345 3344 if ( isset( $_GET['afilter'] ) ) { 3346 $component_links[] = '<' . $tag . ' id="afilter-clear"><a href="' . esc_ attr( $link ) . '">' . __( 'Clear Filter', 'buddypress' ) . '</a></' . $tag . '>';3345 $component_links[] = '<' . $tag . ' id="afilter-clear"><a href="' . esc_url( $link ) . '">' . __( 'Clear Filter', 'buddypress' ) . '</a></' . $tag . '>'; 3347 3346 } 3348 3347 … … 3592 3591 */ 3593 3592 function bp_send_public_message_link() { 3594 echo bp_get_send_public_message_link();3593 echo esc_url( bp_get_send_public_message_link() ); 3595 3594 } 3596 3595
Note: See TracChangeset
for help on using the changeset viewer.