// Double check the email for valid address
$emails = explode( ',', $notify_to );
foreach ( $emails as $email ) {
- $validEmail = filter_var( $email, FILTER_VALIDATE_EMAIL );
+ $validEmail = filter_var( trim( $email ), FILTER_VALIDATE_EMAIL );
if ( !$validEmail ) {
return false;
}
* Plugin Name: GLM Members Database Packaging
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.2.18
+ * Version: 1.2.19
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabasePackagingAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.18
+ * @version 1.2.19
*/
// Check that we're being called by WordPress.
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.18');
+define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.2.19');
define('GLM_MEMBERS_PACKAGING_PLUGIN_DB_VERSION', '1.1.7');
// This is the minimum version of the GLM Members DB plugin require for this plugin.