PuSHPress - Version 0.1.10

Version Description

  • Resolves notice in PHP 7.4/fatal in PHP 8.0 due to deprecation of curly-brace array notation.
Download this release

Release Info

Developer kraftbj
Plugin Icon wp plugin PuSHPress
Version 0.1.10
Comparing to
See all releases

Code changes from version 0.1.9 to 0.1.10

Files changed (3) hide show
  1. class-pushpress.php +2 -2
  2. pushpress.php +9 -9
  3. readme.txt +5 -2
class-pushpress.php CHANGED
@@ -286,7 +286,7 @@ class PuSHPress {
286
  $path = '/';
287
  if ( !empty( $callback['path'] ) ) {
288
  $path = str_replace( '@', '', $callback['path'] );
289
- if ( $path{0} != '/' ) {
290
  $path = '/' . $path;
291
  }
292
 
@@ -323,4 +323,4 @@ class PuSHPress {
323
  $this->return_error( 'Error verifying callback URL, the challenge token did not match' );
324
  }
325
  } // function verify_request
326
- } // class PuSHPress
286
  $path = '/';
287
  if ( !empty( $callback['path'] ) ) {
288
  $path = str_replace( '@', '', $callback['path'] );
289
+ if ( $path[0] != '/' ) {
290
  $path = '/' . $path;
291
  }
292
 
323
  $this->return_error( 'Error verifying callback URL, the challenge token did not match' );
324
  }
325
  } // function verify_request
326
+ } // class PuSHPress
pushpress.php CHANGED
@@ -1,18 +1,18 @@
1
  <?php
2
  /*
3
- Plugin Name: PuSHPress
4
- Plugin URI:
5
- Description: WebSub/PubSubHubbub plugin for WordPress that includes the hub
6
- Version: 0.1.9
7
- Author: Joseph Scott & Automattic
8
- Author URI:
9
- License: GPLv2
10
- Network: true
11
  */
12
  require_once dirname( __FILE__ ) . '/class-pushpress.php';
13
  require_once dirname( __FILE__ ) . '/send-ping.php';
14
 
15
- define( 'PUSHPRESS_VERSION', '0.1.9' );
16
 
17
  if ( !defined( 'PUSHPRESS_CLASS' ) )
18
  define( 'PUSHPRESS_CLASS', 'PuSHPress' );
1
  <?php
2
  /*
3
+ * Plugin Name: PuSHPress
4
+ * Plugin URI: https://automattic.com
5
+ * Description: WebSub/PubSubHubbub plugin for WordPress that includes the hub
6
+ * Version: 0.1.10
7
+ * Author: Joseph Scott & Automattic
8
+ * Author URI: https://automattic.com
9
+ * License: GPLv2 or later.
10
+ * Network: true
11
  */
12
  require_once dirname( __FILE__ ) . '/class-pushpress.php';
13
  require_once dirname( __FILE__ ) . '/send-ping.php';
14
 
15
+ define( 'PUSHPRESS_VERSION', '0.1.10' );
16
 
17
  if ( !defined( 'PUSHPRESS_CLASS' ) )
18
  define( 'PUSHPRESS_CLASS', 'PuSHPress' );
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: josephscott, automattic, westi, kraftbj
3
  Plugin Name: PushPress
4
  Tags: websub, pubsubhubbub, push, WordPress.com
5
  Requires at least: 2.9
6
- Tested up to: 4.8
7
  License: GPLv2
8
- Stable tag: 0.1.9
9
 
10
  Add WebSub (formerly known as PubSubHubbub) support to your WordPress site, with a built in hub.
11
 
@@ -31,6 +31,9 @@ No, once the plugin is activated it takes care of the rest.
31
 
32
  == Changelog ==
33
 
 
 
 
34
  = 0.1.9 =
35
  * Update plugin header to avoid deprecated argument warnings
36
  * Update class constructor to modern PHP
3
  Plugin Name: PushPress
4
  Tags: websub, pubsubhubbub, push, WordPress.com
5
  Requires at least: 2.9
6
+ Tested up to: 5.9
7
  License: GPLv2
8
+ Stable tag: 0.1.10
9
 
10
  Add WebSub (formerly known as PubSubHubbub) support to your WordPress site, with a built in hub.
11
 
31
 
32
  == Changelog ==
33
 
34
+ = 0.1.10 =
35
+ * Resolves notice in PHP 7.4/fatal in PHP 8.0 due to deprecation of curly-brace array notation.
36
+
37
  = 0.1.9 =
38
  * Update plugin header to avoid deprecated argument warnings
39
  * Update class constructor to modern PHP