Making WordPress.org

Changeset 121


Ignore:
Timestamp:
11/16/2013 06:39:18 PM (11 years ago)
Author:
kovshenin
Message:

WordCamp.org: MailChimp for CampTix: Better groups sanitization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-mailchimp/addons/camptix-mailchimp.php

    r120 r121  
    364364                                $groups = array( $answer );
    365365
    366                             $groups = array_map( 'the_title', $groups );
    367                             $groups = array_map( array( $this, 'trim_group' ), $groups );
     366                            foreach ( $groups as &$group )
     367                                $group = $this->trim_group( htmlspecialchars( $group ) );
     368
     369                            unset( $group );
    368370                        }
    369371
Note: See TracChangeset for help on using the changeset viewer.