Changeset 9773 for branches/2.2/src/bp-activity/bp-activity-template.php
- Timestamp:
- 04/20/2015 04:08:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/src/bp-activity/bp-activity-template.php
r9729 r9773 309 309 if ( (int) $this->total_activity_count && (int) $this->pag_num ) { 310 310 $this->pag_links = paginate_links( array( 311 'base' => add_query_arg( $ page_arg, '%#%' ),311 'base' => add_query_arg( $this->pag_arg, '%#%' ), 312 312 'format' => '', 313 313 'total' => ceil( (int) $this->total_activity_count / (int) $this->pag_num ), … … 2977 2977 * @uses bp_is_activity_component() 2978 2978 * @uses bp_current_action() 2979 * @uses add_query_arg()2980 2979 * @uses wp_get_referer() 2981 2980 * @uses wp_nonce_url() … … 3222 3221 $link = apply_filters( 'bp_get_activity_filter_link_href', $link, $component ); 3223 3222 3224 $component_links[] = $before . '<a href="' . esc_ attr( $link ) . '">' . ucwords( $component ) . '</a>' . $after;3223 $component_links[] = $before . '<a href="' . esc_url( $link ) . '">' . ucwords( $component ) . '</a>' . $after; 3225 3224 } 3226 3225 … … 3228 3227 3229 3228 if ( isset( $_GET['afilter'] ) ) 3230 $component_links[] = '<' . $tag . ' id="afilter-clear"><a href="' . esc_ attr( $link ) . '">' . __( 'Clear Filter', 'buddypress' ) . '</a></' . $tag . '>';3229 $component_links[] = '<' . $tag . ' id="afilter-clear"><a href="' . esc_url( $link ) . '">' . __( 'Clear Filter', 'buddypress' ) . '</a></' . $tag . '>'; 3231 3230 3232 3231 /** … … 3472 3471 */ 3473 3472 function bp_send_public_message_link() { 3474 echo bp_get_send_public_message_link();3473 echo esc_url( bp_get_send_public_message_link() ); 3475 3474 } 3476 3475
Note: See TracChangeset
for help on using the changeset viewer.