Version Description
- INFO Update GA4 docs link
- FIX Cookie bar error
- FIX Matomo Cloud URL
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 5.9.0.1 |
Comparing to | |
See all releases |
Code changes from version 5.9 to 5.9.0.1
- inc/admin/docs/DocsLinks.php +2 -2
- inc/functions/options-google-analytics.php +6 -7
- inc/functions/options-instant-indexing.php +2 -2
- inc/functions/options-matomo.php +3 -2
- languages/wp-seopress.pot +12 -12
- readme.txt +5 -1
- seopress.php +2 -2
- vendor/composer/installed.php +2 -2
inc/admin/docs/DocsLinks.php
CHANGED
@@ -70,7 +70,7 @@ function seopress_get_docs_links()
|
|
70 |
'gtm' => 'https://www.seopress.org/fr/support/guides/ajouter-google-tag-manager-a-votre-site-wordpress-avec-seopress/' . $utm,
|
71 |
'ecommerce' => 'https://www.seopress.org/fr/support/guides/configurer-le-commerce-electronique-ameliore-pour-google-analytics/' . $utm,
|
72 |
'events' => 'https://www.seopress.org/fr/support/guides/suivre-vos-telechargements-liens-affilies-sortants-et-externes-google-analytics/' . $utm,
|
73 |
-
'ga4_property' => 'https://support.google.com/analytics/answer/
|
74 |
'api' => [
|
75 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=fr',
|
76 |
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=fr'
|
@@ -202,7 +202,7 @@ function seopress_get_docs_links()
|
|
202 |
'gtm' => 'https://www.seopress.org/support/guides/google-tag-manager-wordpress-seopress/' . $utm,
|
203 |
'ecommerce' => 'https://www.seopress.org/support/guides/how-to-setup-google-enhanced-ecommerce/' . $utm,
|
204 |
'events' => 'https://www.seopress.org/support/guides/how-to-track-file-downloads-affiliates-outbound-and-external-links-with-google-analytics/' . $utm,
|
205 |
-
'ga4_property' => 'https://support.google.com/analytics/answer/
|
206 |
'api' => [
|
207 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=en',
|
208 |
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=en'
|
70 |
'gtm' => 'https://www.seopress.org/fr/support/guides/ajouter-google-tag-manager-a-votre-site-wordpress-avec-seopress/' . $utm,
|
71 |
'ecommerce' => 'https://www.seopress.org/fr/support/guides/configurer-le-commerce-electronique-ameliore-pour-google-analytics/' . $utm,
|
72 |
'events' => 'https://www.seopress.org/fr/support/guides/suivre-vos-telechargements-liens-affilies-sortants-et-externes-google-analytics/' . $utm,
|
73 |
+
'ga4_property' => 'https://support.google.com/analytics/answer/9539598?hl=fr&ref_topic=9303319',
|
74 |
'api' => [
|
75 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=fr',
|
76 |
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=fr'
|
202 |
'gtm' => 'https://www.seopress.org/support/guides/google-tag-manager-wordpress-seopress/' . $utm,
|
203 |
'ecommerce' => 'https://www.seopress.org/support/guides/how-to-setup-google-enhanced-ecommerce/' . $utm,
|
204 |
'events' => 'https://www.seopress.org/support/guides/how-to-track-file-downloads-affiliates-outbound-and-external-links-with-google-analytics/' . $utm,
|
205 |
+
'ga4_property' => 'https://support.google.com/analytics/answer/9539598?hl=en&ref_topic=9303319',
|
206 |
'api' => [
|
207 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=en',
|
208 |
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=en'
|
inc/functions/options-google-analytics.php
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
//Google Analytics
|
6 |
//=================================================================================================
|
7 |
|
@@ -808,12 +813,6 @@ function seopress_custom_tracking_head_hook() {
|
|
808 |
do_action('seopress_custom_head_tracking_html', $echo);
|
809 |
}
|
810 |
|
811 |
-
//MATOMO
|
812 |
-
require_once dirname(__FILE__) . '/options-matomo.php';
|
813 |
-
|
814 |
-
//Clarity
|
815 |
-
require_once dirname(__FILE__) . '/options-clarity.php';
|
816 |
-
|
817 |
if ('1' == seopress_google_analytics_half_disable_option() || (((isset($_COOKIE['seopress-user-consent-accept']) && '1' == $_COOKIE['seopress-user-consent-accept']) && '1' == seopress_google_analytics_disable_option()) || ('1' != seopress_google_analytics_disable_option()))) { //User consent cookie OK
|
818 |
|
819 |
$addToCartOption = seopress_get_service('GoogleAnalyticsOption')->getAddToCart();
|
1 |
<?php
|
|
|
2 |
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
3 |
|
4 |
+
//MATOMO
|
5 |
+
require_once dirname(__FILE__) . '/options-matomo.php';
|
6 |
+
|
7 |
+
//Clarity
|
8 |
+
require_once dirname(__FILE__) . '/options-clarity.php';
|
9 |
+
|
10 |
//Google Analytics
|
11 |
//=================================================================================================
|
12 |
|
813 |
do_action('seopress_custom_head_tracking_html', $echo);
|
814 |
}
|
815 |
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
if ('1' == seopress_google_analytics_half_disable_option() || (((isset($_COOKIE['seopress-user-consent-accept']) && '1' == $_COOKIE['seopress-user-consent-accept']) && '1' == seopress_google_analytics_disable_option()) || ('1' != seopress_google_analytics_disable_option()))) { //User consent cookie OK
|
817 |
|
818 |
$addToCartOption = seopress_get_service('GoogleAnalyticsOption')->getAddToCart();
|
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/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/false';
|
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.1/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.1/false';
|
144 |
}
|
145 |
|
146 |
//Bing API
|
inc/functions/options-matomo.php
CHANGED
@@ -247,7 +247,8 @@ var _paq = window._paq || [];\n";
|
|
247 |
}
|
248 |
}
|
249 |
|
250 |
-
$seopress_matomo_src = "cdn.matomo.cloud/".seopress_google_analytics_matomo_id_option()
|
|
|
251 |
if (seopress_google_analytics_matomo_self_hosted_option() === '1') {
|
252 |
$seopress_matomo_src = seopress_google_analytics_matomo_id_option();
|
253 |
}
|
@@ -258,7 +259,7 @@ var _paq = window._paq || [];\n";
|
|
258 |
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
259 |
_paq.push(['setSiteId', '".seopress_google_analytics_matomo_site_id_option()."']);
|
260 |
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
261 |
-
g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://"
|
262 |
})();\n";
|
263 |
|
264 |
$seopress_matomo_html .= "</script>\n";
|
247 |
}
|
248 |
}
|
249 |
|
250 |
+
$seopress_matomo_src = "cdn.matomo.cloud/".seopress_google_analytics_matomo_id_option();
|
251 |
+
|
252 |
if (seopress_google_analytics_matomo_self_hosted_option() === '1') {
|
253 |
$seopress_matomo_src = seopress_google_analytics_matomo_id_option();
|
254 |
}
|
259 |
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
260 |
_paq.push(['setSiteId', '".seopress_google_analytics_matomo_site_id_option()."']);
|
261 |
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
262 |
+
g.type='text/javascript'; g.async=true; g.defer=true; g.src='https://".untrailingslashit($seopress_matomo_src)."/matomo.js'; s.parentNode.insertBefore(g,s);
|
263 |
})();\n";
|
264 |
|
265 |
$seopress_matomo_html .= "</script>\n";
|
languages/wp-seopress.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: SEOPress 5.9\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"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-08-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: wp-seopress\n"
|
@@ -1923,7 +1923,7 @@ msgid "Shortcode allowed to get the privacy page set in WordPress settings: [seo
|
|
1923 |
msgstr ""
|
1924 |
|
1925 |
#: inc/admin/callbacks/Analytics.php:206
|
1926 |
-
#: inc/functions/options-google-analytics.php:
|
1927 |
msgid "Accept"
|
1928 |
msgstr ""
|
1929 |
|
@@ -5563,43 +5563,43 @@ msgstr ""
|
|
5563 |
msgid "Canonical"
|
5564 |
msgstr ""
|
5565 |
|
5566 |
-
#: inc/functions/options-google-analytics.php:
|
5567 |
msgid "By visiting our site, you agree to our privacy policy regarding cookies, tracking statistics, etc. <a href=\"[seopress_privacy_page]\">Read more</a>"
|
5568 |
msgstr ""
|
5569 |
|
5570 |
-
#: inc/functions/options-google-analytics.php:
|
5571 |
msgid "By visiting our site, you agree to our privacy policy regarding cookies, tracking statistics, etc."
|
5572 |
msgstr ""
|
5573 |
|
5574 |
-
#: inc/functions/options-google-analytics.php:
|
5575 |
msgid "X"
|
5576 |
msgstr ""
|
5577 |
|
5578 |
-
#: inc/functions/options-google-analytics.php:
|
5579 |
msgid "Manage cookies"
|
5580 |
msgstr ""
|
5581 |
|
5582 |
-
#: inc/functions/options-google-analytics.php:
|
5583 |
#: inc/functions/options-matomo.php:183
|
5584 |
msgid "Authors"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
-
#: inc/functions/options-google-analytics.php:
|
5588 |
#: inc/functions/options-matomo.php:196
|
5589 |
msgid "Categories"
|
5590 |
msgstr ""
|
5591 |
|
5592 |
-
#: inc/functions/options-google-analytics.php:
|
5593 |
#: inc/functions/options-matomo.php:215
|
5594 |
msgid "Tags"
|
5595 |
msgstr ""
|
5596 |
|
5597 |
-
#: inc/functions/options-google-analytics.php:
|
5598 |
#: inc/functions/options-matomo.php:223
|
5599 |
msgid "Post types"
|
5600 |
msgstr ""
|
5601 |
|
5602 |
-
#: inc/functions/options-google-analytics.php:
|
5603 |
#: inc/functions/options-matomo.php:231
|
5604 |
msgid "Connected users"
|
5605 |
msgstr ""
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: SEOPress 5.9.0.1\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"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-08-19T14:38:52+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: wp-seopress\n"
|
1923 |
msgstr ""
|
1924 |
|
1925 |
#: inc/admin/callbacks/Analytics.php:206
|
1926 |
+
#: inc/functions/options-google-analytics.php:32
|
1927 |
msgid "Accept"
|
1928 |
msgstr ""
|
1929 |
|
5563 |
msgid "Canonical"
|
5564 |
msgstr ""
|
5565 |
|
5566 |
+
#: inc/functions/options-google-analytics.php:17
|
5567 |
msgid "By visiting our site, you agree to our privacy policy regarding cookies, tracking statistics, etc. <a href=\"[seopress_privacy_page]\">Read more</a>"
|
5568 |
msgstr ""
|
5569 |
|
5570 |
+
#: inc/functions/options-google-analytics.php:19
|
5571 |
msgid "By visiting our site, you agree to our privacy policy regarding cookies, tracking statistics, etc."
|
5572 |
msgstr ""
|
5573 |
|
5574 |
+
#: inc/functions/options-google-analytics.php:37
|
5575 |
msgid "X"
|
5576 |
msgstr ""
|
5577 |
|
5578 |
+
#: inc/functions/options-google-analytics.php:63
|
5579 |
msgid "Manage cookies"
|
5580 |
msgstr ""
|
5581 |
|
5582 |
+
#: inc/functions/options-google-analytics.php:502
|
5583 |
#: inc/functions/options-matomo.php:183
|
5584 |
msgid "Authors"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
+
#: inc/functions/options-google-analytics.php:521
|
5588 |
#: inc/functions/options-matomo.php:196
|
5589 |
msgid "Categories"
|
5590 |
msgstr ""
|
5591 |
|
5592 |
+
#: inc/functions/options-google-analytics.php:546
|
5593 |
#: inc/functions/options-matomo.php:215
|
5594 |
msgid "Tags"
|
5595 |
msgstr ""
|
5596 |
|
5597 |
+
#: inc/functions/options-google-analytics.php:558
|
5598 |
#: inc/functions/options-matomo.php:223
|
5599 |
msgid "Post types"
|
5600 |
msgstr ""
|
5601 |
|
5602 |
+
#: inc/functions/options-google-analytics.php:570
|
5603 |
#: inc/functions/options-matomo.php:231
|
5604 |
msgid "Connected users"
|
5605 |
msgstr ""
|
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
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -363,6 +363,10 @@ 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 <a href="https://www.seopress.org/newsroom/product-news/seopress-5-9/">Read the blog post update</a> =
|
367 |
* NEW Google Analytics v4 widget to get stats in WP Dashboard 🎉
|
368 |
* NEW HTML Sitemap block for Gutenberg 🎉
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 7.2
|
9 |
+
Stable tag: 5.9.0.1
|
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.1 =
|
367 |
+
* INFO Update GA4 docs link
|
368 |
+
* FIX Cookie bar error
|
369 |
+
* FIX Matomo Cloud URL
|
370 |
= 5.9 <a href="https://www.seopress.org/newsroom/product-news/seopress-5-9/">Read the blog post update</a> =
|
371 |
* NEW Google Analytics v4 widget to get stats in WP Dashboard 🎉
|
372 |
* NEW HTML Sitemap block for Gutenberg 🎉
|
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: SEOPress
|
7 |
-
Version: 5.9
|
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');
|
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: SEOPress
|
7 |
+
Version: 5.9.0.1
|
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.1');
|
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__));
|
vendor/composer/installed.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '
|
9 |
'name' => 'wp-seopress/wp-seopress',
|
10 |
'dev' => false,
|
11 |
),
|
@@ -202,7 +202,7 @@
|
|
202 |
'type' => 'wordpress-plugin',
|
203 |
'install_path' => __DIR__ . '/../../',
|
204 |
'aliases' => array(),
|
205 |
-
'reference' => '
|
206 |
'dev_requirement' => false,
|
207 |
),
|
208 |
),
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '3594966b846bc6a2650fda04012b27d316e2e5ba',
|
9 |
'name' => 'wp-seopress/wp-seopress',
|
10 |
'dev' => false,
|
11 |
),
|
202 |
'type' => 'wordpress-plugin',
|
203 |
'install_path' => __DIR__ . '/../../',
|
204 |
'aliases' => array(),
|
205 |
+
'reference' => '3594966b846bc6a2650fda04012b27d316e2e5ba',
|
206 |
'dev_requirement' => false,
|
207 |
),
|
208 |
),
|