Version Description
- FIX Compatibility with SEOPress for MainWP add-on
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 5.9.0.4 |
Comparing to | |
See all releases |
Code changes from version 5.9.0.3 to 5.9.0.4
- inc/admin/admin.php +4 -0
- inc/admin/cron.php +4 -0
- inc/functions/options-instant-indexing.php +2 -2
- languages/wp-seopress.pot +1 -1
- readme.txt +3 -1
- seopress.php +2 -2
inc/admin/admin.php
CHANGED
@@ -164,6 +164,10 @@ class seopress_options
|
|
164 |
|
165 |
public function set_default_values()
|
166 |
{
|
|
|
|
|
|
|
|
|
167 |
$seopress_instant_indexing_option_name = get_option('seopress_instant_indexing_option_name');
|
168 |
|
169 |
//Init if option doesn't exist
|
164 |
|
165 |
public function set_default_values()
|
166 |
{
|
167 |
+
if (defined('SEOPRESS_WPMAIN_VERSION')) {
|
168 |
+
return;
|
169 |
+
}
|
170 |
+
|
171 |
$seopress_instant_indexing_option_name = get_option('seopress_instant_indexing_option_name');
|
172 |
|
173 |
//Init if option doesn't exist
|
inc/admin/cron.php
CHANGED
@@ -12,6 +12,10 @@ if ( ! defined('ABSPATH')) {
|
|
12 |
*
|
13 |
*/
|
14 |
function seopress_xml_sitemaps_ping_cron_action() {
|
|
|
|
|
|
|
|
|
15 |
|
16 |
//If site is set to noindex globally
|
17 |
if ('1' === seopress_global_noindex_option() || '0' === get_option('blog_public')) {
|
12 |
*
|
13 |
*/
|
14 |
function seopress_xml_sitemaps_ping_cron_action() {
|
15 |
+
//Disable if MainWP add-on is enabled
|
16 |
+
if (defined('SEOPRESS_WPMAIN_VERSION')) {
|
17 |
+
return;
|
18 |
+
}
|
19 |
|
20 |
//If site is set to noindex globally
|
21 |
if ('1' === seopress_global_noindex_option() || '0' === get_option('blog_public')) {
|
inc/functions/options-instant-indexing.php
CHANGED
@@ -134,13 +134,13 @@ function seopress_instant_indexing_fn($is_manual_submission = true, $permalink =
|
|
134 |
//Prepare the URLS
|
135 |
if ($is_manual_submission === true) {
|
136 |
$urls = preg_split('/\r\n|\r|\n/', $urls);
|
137 |
-
$x_source_info = 'https://www.seopress.org/5.9.0.
|
138 |
|
139 |
$urls = array_slice($urls, 0, 100);
|
140 |
} elseif ($is_manual_submission === false && !empty($permalink)) {
|
141 |
$urls = null;
|
142 |
$urls[] = $permalink;
|
143 |
-
$x_source_info = 'https://www.seopress.org/5.9.0.
|
144 |
}
|
145 |
|
146 |
//Bing API
|
134 |
//Prepare the URLS
|
135 |
if ($is_manual_submission === true) {
|
136 |
$urls = preg_split('/\r\n|\r|\n/', $urls);
|
137 |
+
$x_source_info = 'https://www.seopress.org/5.9.0.4/true';
|
138 |
|
139 |
$urls = array_slice($urls, 0, 100);
|
140 |
} elseif ($is_manual_submission === false && !empty($permalink)) {
|
141 |
$urls = null;
|
142 |
$urls[] = $permalink;
|
143 |
+
$x_source_info = 'https://www.seopress.org/5.9.0.4/false';
|
144 |
}
|
145 |
|
146 |
//Bing API
|
languages/wp-seopress.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: SEOPress 5.9.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-seopress\n"
|
7 |
"Last-Translator: SEOPress Team <contact@seopress.org>\n"
|
8 |
"Language-Team: SEOPress Team <contact@seopress.org>\n"
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: SEOPress 5.9.0.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-seopress\n"
|
7 |
"Last-Translator: SEOPress Team <contact@seopress.org>\n"
|
8 |
"Language-Team: SEOPress Team <contact@seopress.org>\n"
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, schema, xml sitemap, redirection, meta title, open graph, content ana
|
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 7.2
|
9 |
-
Stable tag: 5.9.0.
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -363,6 +363,8 @@ You're theme is probably using a deprecated function to handle the title. <a hre
|
|
363 |
12. Schema metabox
|
364 |
|
365 |
== Changelog ==
|
|
|
|
|
366 |
= 5.9.0.3 =
|
367 |
* FIX Regression with Analytics and Cookie bar
|
368 |
= 5.9.0.2 =
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 7.2
|
9 |
+
Stable tag: 5.9.0.4
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
363 |
12. Schema metabox
|
364 |
|
365 |
== Changelog ==
|
366 |
+
= 5.9.0.4 =
|
367 |
+
* FIX Compatibility with SEOPress for MainWP add-on
|
368 |
= 5.9.0.3 =
|
369 |
* FIX Regression with Analytics and Cookie bar
|
370 |
= 5.9.0.2 =
|
seopress.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: SEOPress
|
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
Author: The SEO Guys at SEOPress
|
7 |
-
Version: 5.9.0.
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
10 |
Text Domain: wp-seopress
|
@@ -70,7 +70,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
|
|
70 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
71 |
//Define
|
72 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
73 |
-
define('SEOPRESS_VERSION', '5.9.0.
|
74 |
define('SEOPRESS_AUTHOR', 'Benjamin Denis');
|
75 |
define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
|
76 |
define('SEOPRESS_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
Author: The SEO Guys at SEOPress
|
7 |
+
Version: 5.9.0.4
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
10 |
Text Domain: wp-seopress
|
70 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
71 |
//Define
|
72 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
73 |
+
define('SEOPRESS_VERSION', '5.9.0.4');
|
74 |
define('SEOPRESS_AUTHOR', 'Benjamin Denis');
|
75 |
define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
|
76 |
define('SEOPRESS_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
|