Version Description
- FIX Fatal error Google Analytics widget
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 3.8.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.8 to 3.8.0.1
- readme.txt +3 -1
- seopress.php +15 -2
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, XML sitemap, meta title, open graph, content analysis, knowledge grap
|
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 5.3
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 3.8
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -272,6 +272,8 @@ You're theme is probably using a deprecated function to handle the title. <a hre
|
|
272 |
60. Installation Wizard
|
273 |
|
274 |
== Changelog ==
|
|
|
|
|
275 |
= 3.8 =
|
276 |
* NEW Content analysis now detects duplicated schemas from your source code to avoid conflicts
|
277 |
* NEW Add Product Global Identifiers type and Product Global Identifiers fields to WooCommerce metabox for Product schema - PRO
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 5.3
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 3.8.0.1
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
272 |
60. Installation Wizard
|
273 |
|
274 |
== Changelog ==
|
275 |
+
= 3.8.0.1 =
|
276 |
+
* FIX Fatal error Google Analytics widget
|
277 |
= 3.8 =
|
278 |
* NEW Content analysis now detects duplicated schemas from your source code to avoid conflicts
|
279 |
* NEW Add Product Global Identifiers type and Product Global Identifiers fields to WooCommerce metabox for Product schema - PRO
|
seopress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SEOPress
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
-
Version: 3.8
|
7 |
Author: SEOPress
|
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.8' );
|
57 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
58 |
|
59 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -466,6 +466,19 @@ function seopress_get_toggle_option($feature) {
|
|
466 |
}
|
467 |
}
|
468 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
470 |
//Enable XML Sitemap
|
471 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
3 |
Plugin Name: SEOPress
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
+
Version: 3.8.0.1
|
7 |
Author: SEOPress
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
53 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
54 |
//Define
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
+
define( 'SEOPRESS_VERSION', '3.8.0.1' );
|
57 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
58 |
|
59 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
466 |
}
|
467 |
}
|
468 |
|
469 |
+
// Is Google Analytics enable?
|
470 |
+
//@deprecated since version 3.8
|
471 |
+
function seopress_get_toggle_google_analytics_option() {
|
472 |
+
$seopress_get_toggle_google_analytics_option = get_option("seopress_toggle");
|
473 |
+
if ( ! empty ( $seopress_get_toggle_google_analytics_option ) ) {
|
474 |
+
foreach ($seopress_get_toggle_google_analytics_option as $key => $seopress_get_toggle_google_analytics_value)
|
475 |
+
$options[$key] = $seopress_get_toggle_google_analytics_value;
|
476 |
+
if (isset($seopress_get_toggle_google_analytics_option['toggle-google-analytics'])) {
|
477 |
+
return $seopress_get_toggle_google_analytics_option['toggle-google-analytics'];
|
478 |
+
}
|
479 |
+
}
|
480 |
+
}
|
481 |
+
|
482 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
483 |
//Enable XML Sitemap
|
484 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|