Plugin Directory

Changeset 3078552


Ignore:
Timestamp:
04/29/2024 09:57:38 AM (22 months ago)
Author:
pinpointe
Message:

Update wordpress tested version and replace preg_match expression when a user is already subscribed

Location:
pinpointe-form-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pinpointe-form-integration/trunk/pinpointe-signup-form.php

    r3078519 r3078552  
    88 * Author URI: http://www.pinpointe.com/
    99 * Requires at least: 3.5
    10  * Tested up to: 6.4.2
     10 * Tested up to: 6.5.2
    1111 *
    1212 * Text Domain: pinpointe
     
    31353135            }
    31363136            catch (Exception $e) {
    3137                 if (preg_match('/.+is already subscribed to list.+/', $e->getMessage()) && !$this->opt['pinpointe_update_existing'] && !$is_backend) {
     3137                if (preg_match('/.+already exists.+/', $e->getMessage()) && !$this->opt['pinpointe_update_existing'] && !$is_backend) {
    31383138                    return $this->opt['pinpointe_label_already_subscribed'];
    31393139                }
  • pinpointe-form-integration/trunk/readme.txt

    r3078519 r3078552  
    33Tags: email marketing, forms, opt-in, mailing list, subscription
    44Requires at least: 3.5
    5 Tested up to: 6.4.2
     5Tested up to: 6.5.2
    66Stable tag: 1.7
    77Requires PHP: 5.4
Note: See TracChangeset for help on using the changeset viewer.