Skip to content

Commit

Permalink
Merge pull request #54 from katzwebservices/dev/fix-4.2-notice
Browse files Browse the repository at this point in the history
Fix notice
  • Loading branch information
zackkatz committed Jun 11, 2015
2 parents 9b68441 + 9b5567d commit cc734e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions trunk/cf7-constantcontact.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: Add the power of Constant Contact to Contact Form 7
Author: Katz Web Services, Inc.
Author URI: http://www.katzwebservices.com
Version: 2.1
Version: 2.1.1
*/

/* Copyright 2015 Katz Web Services, Inc. (email: [email protected])
Expand Down Expand Up @@ -36,15 +36,17 @@ class CTCTCF7 {
* The current version of the plugin.
* @var string
*/
private static $version = '2.1';
private static $version = '2.1.1';

function __construct() {
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
}

function plugins_loaded() {

// Require Version 4.2 of CF7
if( ! $this->is_cf7_42_or_greater() ) {

add_action('admin_notices', array( $this, 'cf7_42_required_notice' ));

return;
}

Expand Down
3 changes: 2 additions & 1 deletion trunk/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,15 @@ This will replace existing lists with the selected lists from the form submissio

== Changelog ==

= 2.1 (June 11, 2015) =
= 2.1 and 2.1.1 (June 11, 2015) =
* **Requires Contact Form 7 4.2** - please update your CF7 plugin
- Updated interface to look good with CF7 4.2
* Fixed: Updating lists for users
* Fixed: "The requested URL returned error: 400" error
* Fixed: Form submission status not displaying on submission
* Fixed: `add_query_arg()` potential security vulnerability. **Please update!**
* Added: `ctctcf7_update_contact_lists` filter (see FAQ)
* Fixed (2.1.1): Plugin didn't recognize CF7 4.2 properly

= 2.0.6.4 (May 19, 2015) =
* Fixed: Updated help docs Javascript to fix security issue. **Please update!**
Expand Down

0 comments on commit cc734e5

Please sign in to comment.