SEOPress - Version 3.3.11.1

Version Description

  • FIX SSL verification for Content Analysis / Snippet Preview!
Download this release

Release Info

Developer rainbowgeek
Plugin Icon 128x128 SEOPress
Version 3.3.11.1
Comparing to
See all releases

Code changes from version 3.3.11 to 3.3.11.1

Files changed (3) hide show
  1. inc/admin/ajax.php +7 -2
  2. readme.txt +3 -1
  3. seopress.php +2 -2
inc/admin/ajax.php CHANGED
@@ -14,7 +14,9 @@ function seopress_do_real_preview() {
14
  $cookies = array();
15
 
16
  foreach ( $_COOKIE as $name => $value ) {
17
- $cookies[] = new WP_Http_Cookie( array( 'name' => $name, 'value' => $value ) );
 
 
18
  }
19
  }
20
 
@@ -61,7 +63,8 @@ function seopress_do_real_preview() {
61
  //Get source code
62
  $args = array(
63
  'blocking' => true,
64
- 'timeout' => 30
 
65
  );
66
 
67
  if (isset($cookies) && !empty($cookies)) {
@@ -70,6 +73,8 @@ function seopress_do_real_preview() {
70
 
71
  $args = apply_filters('seopress_real_preview_remote', $args);
72
 
 
 
73
  if ($seopress_origin =='post') { //Default: post type
74
  $response = wp_remote_get(get_preview_post_link((int)$seopress_get_the_id), $args);
75
  } else { //Term taxonomy
14
  $cookies = array();
15
 
16
  foreach ( $_COOKIE as $name => $value ) {
17
+ if ( 'PHPSESSID' !== $name ) {
18
+ $cookies[] = new WP_Http_Cookie( array( 'name' => $name, 'value' => $value ) );
19
+ }
20
  }
21
  }
22
 
63
  //Get source code
64
  $args = array(
65
  'blocking' => true,
66
+ 'timeout' => 30,
67
+ 'sslverify' => false,
68
  );
69
 
70
  if (isset($cookies) && !empty($cookies)) {
73
 
74
  $args = apply_filters('seopress_real_preview_remote', $args);
75
 
76
+ $data['title'] = $cookies;
77
+
78
  if ($seopress_origin =='post') { //Default: post type
79
  $response = wp_remote_get(get_preview_post_link((int)$seopress_get_the_id), $args);
80
  } else { //Term taxonomy
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, XML sitemap, meta title, open graph, content analysis, knowledge grap
6
  Requires at least: 4.4+
7
  Tested up to: 5.1
8
  Requires PHP: 5.4
9
- Stable tag: 3.3.11
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -162,6 +162,8 @@ Subscribe on <a href="https://www.seopress.org/" target="_blank">seopress.org</a
162
  44. Structured Data Types metaboxe in post, page, custom post type (PRO)
163
 
164
  == Changelog ==
 
 
165
  = 3.3.11 =
166
  * NEW Add seopress_category_rewrite_rules hook to filter rewrite rules for category taxonomy
167
  * INFO Content analysis is now working with draft / pending review / published posts
6
  Requires at least: 4.4+
7
  Tested up to: 5.1
8
  Requires PHP: 5.4
9
+ Stable tag: 3.3.11.1
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
162
  44. Structured Data Types metaboxe in post, page, custom post type (PRO)
163
 
164
  == Changelog ==
165
+ = 3.3.11.1 =
166
+ * FIX SSL verification for Content Analysis / Snippet Preview!
167
  = 3.3.11 =
168
  * NEW Add seopress_category_rewrite_rules hook to filter rewrite rules for category taxonomy
169
  * INFO Content analysis is now working with draft / pending review / published posts
seopress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SEOPress
4
  Plugin URI: https://www.seopress.org/
5
  Description: The best plugin for SEO.
6
- Version: 3.3.11
7
  Author: Benjamin Denis
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
@@ -53,7 +53,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
53
  ///////////////////////////////////////////////////////////////////////////////////////////////////
54
  //Define
55
  ///////////////////////////////////////////////////////////////////////////////////////////////////
56
- define( 'SEOPRESS_VERSION', '3.3.11' );
57
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
58
 
59
  ///////////////////////////////////////////////////////////////////////////////////////////////////
3
  Plugin Name: SEOPress
4
  Plugin URI: https://www.seopress.org/
5
  Description: The best plugin for SEO.
6
+ Version: 3.3.11.1
7
  Author: Benjamin Denis
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
53
  ///////////////////////////////////////////////////////////////////////////////////////////////////
54
  //Define
55
  ///////////////////////////////////////////////////////////////////////////////////////////////////
56
+ define( 'SEOPRESS_VERSION', '3.3.11.1' );
57
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
58
 
59
  ///////////////////////////////////////////////////////////////////////////////////////////////////