Skip to content

Commit 8f8da1a

Browse files
authored
Merge pull request #485 from WebDevStudios/chore/prep-release-1.8.5
Chore/prep release 1.8.5
2 parents 9efd986 + 63a2a15 commit 8f8da1a

10 files changed

+42
-37
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
= 1.8.5 =
2+
* Added: Forced email notifications to admin when Constant Contact API request fails on attempted form submission.
3+
* Fixed: Addressed issues with plugin error logging and addressed false-positive error messaging.
4+
* Fixed: Cleaned up style minification task to allow for unminified version of stylesheet.
5+
* Updated: Updated support error messaging in admin to reference tab structure of plugin settings.
6+
17
= 1.8.4 =
28
* Fixed: Compatibility issue with PHP 5.6.
39

constant-contact-forms.php

Lines changed: 3 additions & 3 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: 1.8.4
15+
* Version: 1.8.5
1616
* Author: Constant Contact
1717
* Author URI: https://www.constantcontact.com/index?pn=miwordpress
1818
* License: GPLv3
@@ -72,7 +72,7 @@ class Constant_Contact {
7272
* @since 1.0.0
7373
* @var string
7474
*/
75-
const VERSION = '1.8.4';
75+
const VERSION = '1.8.5';
7676

7777
/**
7878
* URL of plugin directory.
@@ -538,7 +538,7 @@ public function init() {
538538
/**
539539
* Initialize debug log on init.
540540
*
541-
* @since NEXT
541+
* @since 1.8.5
542542
*
543543
* @return void
544544
*/

includes/class-logging.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class ConstantContact_Logging {
8686
/**
8787
* The logging directory name.
8888
*
89-
* @since NEXT
89+
* @since 1.8.2
9090
* @var string
9191
*/
9292
protected $log_file_dir = 'ctct-logs';
@@ -401,7 +401,7 @@ public function create_log_file() {
401401
* Retrieve logging file location.
402402
*
403403
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
404-
* @since NEXT
404+
* @since 1.8.2
405405
*
406406
* @return string Logging file location.
407407
*/
@@ -413,7 +413,7 @@ public function get_logging_location() {
413413
* Remove old logging directory and files for older plugin versions (<= 1.8.1).
414414
*
415415
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
416-
* @since NEXT
416+
* @since 1.8.2
417417
*
418418
* @return void
419419
*/
@@ -429,7 +429,7 @@ public function maybe_delete_old_log_dir() {
429429
* Remove current logging directory and files.
430430
*
431431
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
432-
* @since NEXT
432+
* @since 1.8.2
433433
*/
434434
public function delete_current_log_dir() {
435435
$this->delete_log_dir( $this->log_location_dir );
@@ -439,7 +439,7 @@ public function delete_current_log_dir() {
439439
* Helper function to remove logging directory.
440440
*
441441
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
442-
* @since NEXT
442+
* @since 1.8.2
443443
*
444444
* @return void
445445
*/
@@ -461,7 +461,7 @@ protected function delete_log_dir( $dir = '' ) {
461461
* Initialize Logging directories and files.
462462
*
463463
* @author Richard Aber <richard.aber@webdevstudios.com>
464-
* @since NEXT
464+
* @since 1.8.5
465465
*/
466466
public function initialize_logging() {
467467
$this->create_log_folder();

includes/class-notification-content.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public static function exceptions() {
190190
/**
191191
* Admin notice regarding deleted forms.
192192
*
193-
* @since NEXT
193+
* @since 1.8.0
194194
*
195195
* @return string Deleted forms notice HTML.
196196
*/
@@ -214,7 +214,7 @@ public static function deleted_forms() {
214214
/**
215215
* Display deleted form references HTML.
216216
*
217-
* @since NEXT
217+
* @since 1.8.0
218218
*
219219
* @param int $form_id Current form ID.
220220
* @param array $references Current form references.
@@ -341,7 +341,7 @@ function constant_contact_exceptions_thrown( $notifications = [] ) {
341341
/**
342342
* Add notification on form deletion if instances of that form appear as shortcodes or widgets.
343343
*
344-
* @since NEXT
344+
* @since 1.8.0
345345
*
346346
* @param array $notifications Array of notifications to be shown.
347347
* @return array Array of notifications to be shown.

includes/class-notifications.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ConstantContact_Notifications {
5555
/**
5656
* Option name for deleted forms, containing IDs for post and widget instances of forms.
5757
*
58-
* @since NEXT
58+
* @since 1.8.0
5959
*
6060
* @var string
6161
*/
@@ -438,7 +438,7 @@ public function get_activation_dismiss_url( $type ) {
438438
*
439439
* Redirect to current page with dismissal query args removal to avoid potentially re-dismissing notices unintentionally.
440440
*
441-
* @since NEXT
441+
* @since 1.8.0
442442
*
443443
* @param string $key Notice option key.
444444
*/

includes/class-settings.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ConstantContact_Settings {
3636
/**
3737
* Settings page metabox titles by id.
3838
*
39-
* @since NEXT
39+
* @since 1.8.0
4040
* @var array|null
4141
*/
4242
private $metabox_titles;
@@ -93,7 +93,7 @@ public function register_hooks() {
9393
* Add CMB2 hook overrides specific to individual metaboxes.
9494
*
9595
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
96-
* @since NEXT
96+
* @since 1.8.0
9797
*
9898
* @return void
9999
*/
@@ -189,7 +189,7 @@ public function add_options_page_metaboxes() {
189189
* Remove secondary settings page menu items.
190190
*
191191
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
192-
* @since NEXT
192+
* @since 1.8.0
193193
*/
194194
public function remove_extra_menu_items() {
195195
foreach ( array_keys( $this->metabox_titles ) as $cmb_key ) {
@@ -207,7 +207,7 @@ public function remove_extra_menu_items() {
207207
* Override $plugin_page global to ensure "general" menu item active for other settings pages.
208208
*
209209
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
210-
* @since NEXT
210+
* @since 1.8.0
211211
*
212212
* @param string $file The parent file.
213213
* @return string The parent file.
@@ -224,7 +224,7 @@ public function select_primary_menu_item( $file ) {
224224
* Display options page with CMB2 tabs.
225225
*
226226
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
227-
* @since NEXT
227+
* @since 1.8.0
228228
*
229229
* @param CMB2_Options_Hookup $cmb_options The CMB2_Options_Hookup object.
230230
*/
@@ -255,7 +255,7 @@ public function display_tabs( CMB2_Options_Hookup $cmb_options ) {
255255
* Get all option tabs for navigation on CMB2 settings page.
256256
*
257257
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
258-
* @since NEXT
258+
* @since 1.8.0
259259
*
260260
* @param CMB2_Options_Hookup $cmb_options The CMB2_Options_Hookup object.
261261
* @return array Array of option tabs.
@@ -286,7 +286,7 @@ protected function get_option_tabs( CMB2_Options_Hookup $cmb_options ) {
286286
* Get currently selected tab.
287287
*
288288
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
289-
* @since NEXT
289+
* @since 1.8.0
290290
*
291291
* @return string Current tab.
292292
*/
@@ -300,7 +300,7 @@ protected function get_current_tab() {
300300
* Get link to CMB tab.
301301
*
302302
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
303-
* @since NEXT
303+
* @since 1.8.0
304304
*
305305
* @param string $option_key CMB tab key.
306306
* @return string URL to CMB tab.
@@ -313,7 +313,7 @@ protected function get_tab_link( $option_key ) {
313313
* Get args for current CMB.
314314
*
315315
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
316-
* @since NEXT
316+
* @since 1.8.0
317317
*
318318
* @param string $cmb_id Current CMB ID.
319319
* @return array CMB args.
@@ -336,7 +336,7 @@ protected function get_cmb_args( $cmb_id ) {
336336
* Register 'General' settings tab fields.
337337
*
338338
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
339-
* @since NEXT
339+
* @since 1.8.0
340340
*/
341341
protected function register_fields_general() {
342342
$cmb = new_cmb2_box( $this->get_cmb_args( 'general' ) );
@@ -480,7 +480,7 @@ protected function register_fields_general() {
480480
* Register 'Spam Control' (incl. Google reCAPTCHA) settings tab fields.
481481
*
482482
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
483-
* @since NEXT
483+
* @since 1.8.0
484484
*/
485485
protected function register_fields_spam() {
486486
$cmb = new_cmb2_box( $this->get_cmb_args( 'spam' ) );
@@ -556,7 +556,7 @@ protected function register_fields_spam() {
556556
* Register 'Support' settings tab fields.
557557
*
558558
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
559-
* @since NEXT
559+
* @since 1.8.0
560560
*/
561561
protected function register_fields_support() {
562562
$cmb = new_cmb2_box( $this->get_cmb_args( 'support' ) );

includes/class-uninstall.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private function delete_cron_hooks() {
178178
* Delete logging directory.
179179
*
180180
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
181-
* @since NEXT
181+
* @since 1.8.2
182182
*/
183183
private function delete_log_dir() {
184184
constant_contact()->logging->delete_current_log_dir();

includes/helper-functions.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ function constant_contact_location_and_line( $location = '', $line = '' ) {
686686
/**
687687
* Get posts containing specified form ID.
688688
*
689-
* @since NEXT
689+
* @since 1.8.0
690690
*
691691
* @param int $form_id Form ID.
692692
* @return array Array of posts containing the form ID.
@@ -719,7 +719,7 @@ function constant_contact_get_posts_by_form( $form_id ) {
719719
/**
720720
* Get links and info on widgets containing specified form ID.
721721
*
722-
* @since NEXT
722+
* @since 1.8.0
723723
*
724724
* @param int $form_id Form ID.
725725
* @return array Array of widgets containing the form ID.
@@ -754,7 +754,7 @@ function constant_contact_get_widgets_by_form( $form_id ) {
754754
* Walker callback for widget references of deleted forms.
755755
*
756756
* @author Rebekah Van Epps <rebekah.vanepps@webdevstudios.com>
757-
* @since NEXT
757+
* @since 1.8.0
758758
*
759759
* @param array $value Array of current widget settings.
760760
* @param string $key Current widget key.
@@ -780,7 +780,7 @@ function constant_contact_walk_widget_references( array &$value, $key, $type ) {
780780
/**
781781
* Check for affected posts and widgets for the newly trashed form post type.
782782
*
783-
* @since NEXT
783+
* @since 1.8.0
784784
*
785785
* @param int $form_id Form ID being trashed.
786786
* @return void
@@ -803,7 +803,7 @@ function constant_contact_check_for_affected_forms_on_trash( $form_id ) {
803803
/**
804804
* Remove saved references to deleted form if restored from trash.
805805
*
806-
* @since NEXT
806+
* @since 1.8.0
807807
*
808808
* @param int $post_id Post ID being restored.
809809
* @return void
@@ -824,7 +824,7 @@ function constant_contact_remove_form_references_on_restore( $post_id ) {
824824
/**
825825
* Determine whether to display the deleted forms notice in admin.
826826
*
827-
* @since NEXT
827+
* @since 1.8.0
828828
*
829829
* @return bool Whether to display the deleted forms notice.
830830
*/

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": "1.8.2",
3+
"version": "1.8.5",
44
"description": "",
55
"main": "gulpfile.js",
66
"dependencies": {},

readme.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: constantcontact, webdevstudios, tw2113, znowebdev, ggwicz, ra
33
Tags: capture, contacts, constant contact, constant contact form, constant contact newsletter, constant contact official, contact forms, email, form, forms, marketing, mobile, newsletter, opt-in, plugin, signup, subscribe, subscription, widget
44
Requires at least: 5.2.0
55
Tested up to: 5.4.1
6-
Stable tag: 1.8.4
6+
Stable tag: 1.8.5
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99
Requires PHP: 5.6
@@ -35,11 +35,10 @@ BONUS: If you have a Constant Contact account, all new email addresses that you
3535

3636
== Changelog ==
3737

38-
= NEXT =
38+
= 1.8.5 =
3939
* Added: Forced email notifications to admin when Constant Contact API request fails on attempted form submission.
4040
* Fixed: Addressed issues with plugin error logging and addressed false-positive error messaging.
4141
* Fixed: Cleaned up style minification task to allow for unminified version of stylesheet.
42-
* Updated: Replaced usage of non-unique IDs on frontend form elements with classes.
4342
* Updated: Updated support error messaging in admin to reference tab structure of plugin settings.
4443

4544
= 1.8.4 =

0 commit comments

Comments
 (0)