Changeset 6201
- Timestamp:
- 07/27/2012 12:09:31 AM (14 years ago)
- File:
-
- 1 edited
-
branches/1.5/bp-xprofile/bp-xprofile-filters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-xprofile/bp-xprofile-filters.php
r5131 r6201 164 164 } else { 165 165 if ( count( explode( ' ', $value ) ) > 5 ) { 166 $new_values[] = $value;166 $new_values[] = esc_html( $value ); 167 167 } else { 168 $new_values[] = '<a href="' . site_url( bp_get_members_root_slug() ) . '/?s=' . strip_tags( $value ) . '" rel="nofollow">' . $value. '</a>';168 $new_values[] = '<a href="' . site_url( bp_get_members_root_slug() ) . '/?s=' . esc_url( strip_tags( $value ) ) . '" rel="nofollow">' . esc_html( $value ) . '</a>'; 169 169 } 170 170 }
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)