Version Description
- Use wp_safe_remote_() instead of wp_remote_()
Download this release
Release Info
Developer | josephscott |
Plugin | PuSHPress |
Version | 0.1.8 |
Comparing to | |
See all releases |
Code changes from version 0.1.7.2 to 0.1.8
- class-pushpress.php +1 -1
- readme.txt +5 -1
- send-ping.php +1 -1
class-pushpress.php
CHANGED
@@ -300,7 +300,7 @@ class PuSHPress {
|
|
300 |
$url .= '?' . $hub_vars;
|
301 |
}
|
302 |
|
303 |
-
$response =
|
304 |
'sslverify' => FALSE,
|
305 |
'timeout' => $this->http_timeout,
|
306 |
'user-agent' => $this->http_user_agent,
|
300 |
$url .= '?' . $hub_vars;
|
301 |
}
|
302 |
|
303 |
+
$response = wp_safe_remote_get( $url, array(
|
304 |
'sslverify' => FALSE,
|
305 |
'timeout' => $this->http_timeout,
|
306 |
'user-agent' => $this->http_user_agent,
|
readme.txt
CHANGED
@@ -3,8 +3,9 @@ Contributors: josephscott, automattic, westi
|
|
3 |
Plugin Name: PushPress
|
4 |
Tags: pubsubhubbub, push, WordPress.com
|
5 |
Requires at least: 2.9
|
6 |
-
Tested up to: 4.
|
7 |
License: GPLv2
|
|
|
8 |
|
9 |
Add PubSubHubbub support to your WordPress site, with a built in hub.
|
10 |
|
@@ -30,6 +31,9 @@ No, once the plugin is activated it takes care of the rest.
|
|
30 |
|
31 |
== Changelog ==
|
32 |
|
|
|
|
|
|
|
33 |
= 0.1.7.2 =
|
34 |
* Make sure to only output the hub information in feeds
|
35 |
* Bump tested value up to 3.6
|
3 |
Plugin Name: PushPress
|
4 |
Tags: pubsubhubbub, push, WordPress.com
|
5 |
Requires at least: 2.9
|
6 |
+
Tested up to: 4.2
|
7 |
License: GPLv2
|
8 |
+
Stable tag: 0.1.8
|
9 |
|
10 |
Add PubSubHubbub support to your WordPress site, with a built in hub.
|
11 |
|
31 |
|
32 |
== Changelog ==
|
33 |
|
34 |
+
= 0.1.8 =
|
35 |
+
* Use wp_safe_remote_*() instead of wp_remote_*()
|
36 |
+
|
37 |
= 0.1.7.2 =
|
38 |
* Make sure to only output the hub information in feeds
|
39 |
* Bump tested value up to 3.6
|
send-ping.php
CHANGED
@@ -69,7 +69,7 @@ if ( !function_exists( 'pushpress_send_ping' ) ) {
|
|
69 |
);
|
70 |
}
|
71 |
|
72 |
-
$response =
|
73 |
|
74 |
// look for failures
|
75 |
if ( is_wp_error( $response ) ) {
|
69 |
);
|
70 |
}
|
71 |
|
72 |
+
$response = wp_safe_remote_post( $callback, $remote_opt );
|
73 |
|
74 |
// look for failures
|
75 |
if ( is_wp_error( $response ) ) {
|