Skip to content

Commit beae9cc

Browse files
backward compatibility with php7.0
1 parent 2c689ad commit beae9cc

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

mailgun.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Mailgun
55
* Plugin URI: http://wordpress.org/extend/plugins/mailgun/
66
* Description: Mailgun integration for WordPress
7-
* Version: 1.8.0
7+
* Version: 1.8.1
88
* Author: Mailgun
99
* Author URI: http://www.mailgun.com/
1010
* License: GPLv2 or later
@@ -327,7 +327,7 @@ public function add_list()
327327
* @throws JsonException
328328
* @since 0.1
329329
*/
330-
public function list_form(string $list_address, array $args = [], array $instance = []): void
330+
public function list_form(string $list_address, array $args = [], array $instance = [])
331331
{
332332
$widget_class_id = "mailgun-list-widget-{$args['widget_id']}";
333333
$form_class_id = "list-form-{$args['widget_id']}";
@@ -491,7 +491,7 @@ public function build_list_form(array $atts): string
491491
*
492492
* @since 0.1
493493
*/
494-
public function load_list_widget(): void
494+
public function load_list_widget()
495495
{
496496
register_widget('list_widget');
497497
add_shortcode('mailgun', [&$this, 'build_list_form']);

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Contributors: mailgun, sivel, lookahead.io, m35dev
55
Tags: mailgun, smtp, http, api, mail, email
66
Requires at least: 3.3
77
Tested up to: 6.0.1
8-
Stable tag: 1.8.0
8+
Stable tag: 1.8.1
99
License: GPLv2 or later
1010

1111

@@ -131,6 +131,9 @@ MAILGUN_FROM_ADDRESS Type: string
131131

132132

133133
== Changelog ==
134+
= 1.8.1 (2022-08-19): =
135+
- backward compatibility with php7.0
136+
134137
= 1.8.0 (2022-08-18): =
135138
- Plugin refactoring. Using new languages constructions. Extended readme. Update version
136139

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Contributors: mailgun, sivel, lookahead.io, m35dev
55
Tags: mailgun, smtp, http, api, mail, email
66
Requires at least: 3.3
77
Tested up to: 6.0.1
8-
Stable tag: 1.8.0
8+
Stable tag: 1.8.1
99
License: GPLv2 or later
1010

1111

@@ -128,6 +128,9 @@ MAILGUN_FROM_ADDRESS Type: string
128128

129129

130130
== Changelog ==
131+
= 1.8.1 (2022-08-19): =
132+
- backward compatibility with php7.0
133+
131134
= 1.8.0 (2022-08-18): =
132135
- Plugin refactoring. Using new languages constructions. Extended readme. Update version
133136

0 commit comments

Comments
 (0)