Skip to content

Commit c78286c

Browse files
authored
Release280 two (#707)
* rm src folder for releases * version bumps * sneak in a php notice prevention
1 parent ee78bdb commit c78286c

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"rm -rf ./phpcompat.xml.dist",
6060
"rm -rf ./phpunit.xml.dist",
6161
"rm -rf ./plugin-config.js",
62+
"rm -rf ./src",
6263
"rm -rf ./tests",
6364
"rm -rf ./webpack.config.js",
6465
"@composer install --no-dev -a",

constant-contact-forms.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Plugin Name: Constant Contact Forms for WordPress
1313
* Plugin URI: https://www.constantcontact.com
1414
* Description: Be a better marketer. All it takes is Constant Contact email marketing.
15-
* Version: 2.7.0
15+
* Version: 2.8.0
1616
* Author: Constant Contact
1717
* Author URI: https://www.constantcontact.com/index?pn=miwordpress
1818
* Requires PHP: 7.4
@@ -76,7 +76,7 @@ class Constant_Contact {
7676
* @since 1.0.0
7777
* @var string
7878
*/
79-
const VERSION = '2.7.0';
79+
const VERSION = '2.8.0';
8080

8181
/**
8282
* URL of plugin directory.

includes/class-notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function get_notifications() {
105105
'ID' => 'activation',
106106
'callback' => [ 'ConstantContact_Notification_Content', 'activation' ],
107107
'require_cb' => function() {
108-
return constant_contact_is_not_connected() && ( sanitize_text_field( $_GET['page'] ) ?? '' ) !== 'ctct_options_settings_auth'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Only used for boolean checks.
108+
return constant_contact_is_not_connected() && ( isset( $_GET['page'] ) && sanitize_text_field( $_GET['page'] ) ?? '' ) !== 'ctct_options_settings_auth'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Only used for boolean checks.
109109
},
110110
],
111111
]

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "constant-contact-forms",
3-
"version": "2.7.0",
3+
"version": "2.8.0",
44
"description": "",
55
"main": "build/index.js",
66
"engines": {

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: constantcontact, webdevstudios, tw2113, znowebdev, ggwicz, ra
33
Tags: constant contact, constant contact official, marketing, newsletter, contacts
44
Requires at least: 5.2.0
55
Tested up to: 6.7.1
6-
Stable tag: 2.7.0
6+
Stable tag: 2.8.0
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99
Requires PHP: 7.4

0 commit comments

Comments
 (0)