Skip to:
Content

BuddyPress.org

Changeset 6204


Ignore:
Timestamp:
07/27/2012 03:03:20 AM (12 years ago)
Author:
johnjamesjacoby
Message:

XProfile:

  • Escape non-clickable, non-searchable value output that is part of an array of comma separated values.
  • For 1.6.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-filters.php

    r6203 r6204  
    175175                // More than 5 commas
    176176                if ( count( explode( ' ', $value ) ) > 5 ) {
    177                     $new_values[] = $value;
     177                    $new_values[] = esc_html( $value );
    178178
    179179                // Less than 5 commas
Note: See TracChangeset for help on using the changeset viewer.