Version Description
- INFO Bump min version of WP required to 5.0+
- INFO WPML compatibility for translated archive links in XML sitemaps (thanks to @wpml)
- FIX Compatibility with SEOPress for MainWP add-on
- FIX Accordion.js error for FAQ block
- FIX Doc links
- FIX Slow file_get_contents request for robots.txt on very specific server configuration
- FIX Warning from Review.php file
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 6.0.1 |
Comparing to | |
See all releases |
Code changes from version 6.0 to 6.0.1
- inc/admin/blocks/notifications-center.php +32 -32
- inc/admin/docs/DocsLinks.php +4 -2
- inc/admin/metaboxes/admin-metaboxes-content-analysis-form.php +2 -2
- inc/admin/page-builders/gutenberg/blocks/faq/block.php +1 -1
- inc/functions/options-instant-indexing.php +2 -2
- languages/wp-seopress.pot +23 -23
- public/editor/blocks/faq/accordion.asset.php +1 -0
- public/editor/blocks/faq/accordion.js +1 -0
- readme.txt +10 -2
- seopress.php +3 -3
- src/Thirds/AMP/amp.php +1 -2
- src/Thirds/MainWP/MainWPFunctions.php +1 -1
- templates/sitemap/single.php +38 -8
- vendor/composer/installed.php +2 -2
inc/admin/blocks/notifications-center.php
CHANGED
@@ -866,45 +866,45 @@
|
|
866 |
seopress_notification($args);
|
867 |
}
|
868 |
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
|
|
873 |
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
|
|
|
|
|
|
|
|
|
|
879 |
}
|
880 |
|
881 |
-
if(
|
882 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
883 |
}
|
884 |
}
|
|
|
885 |
|
886 |
-
if(!$validRobotsTxt && '1' !== seopress_get_hidden_notices_robots_txt_valid() && empty(seopress_get_hidden_notices_robots_txt_valid())){
|
887 |
-
$args = [
|
888 |
-
'id' => 'notice-robots-txt-valid',
|
889 |
-
'title' => __('Your site is not indexable!', 'wp-seopress'),
|
890 |
-
'desc' => __('Your robots.txt file contains a rule that prevents search engines to index your all site: <code>Disallow: /</code>', 'wp-seopress'),
|
891 |
-
'impact' => [
|
892 |
-
'high' => __('High impact', 'wp-seopress'),
|
893 |
-
],
|
894 |
-
'link' => [
|
895 |
-
'en' => is_multisite() ? network_admin_url('admin.php?page=seopress-network-option#tab=tab_seopress_robots') : admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_robots'),
|
896 |
-
'title' => __('Fix this!', 'wp-seopress'),
|
897 |
-
'external' => false,
|
898 |
-
],
|
899 |
-
'deleteable' => true,
|
900 |
-
];
|
901 |
-
seopress_notification($args);
|
902 |
-
}
|
903 |
}
|
904 |
-
|
905 |
-
|
906 |
-
} catch (\Exception $e) {
|
907 |
-
|
908 |
}
|
909 |
}
|
910 |
?>
|
866 |
seopress_notification($args);
|
867 |
}
|
868 |
|
869 |
+
if ('1' !== seopress_get_hidden_notices_robots_txt_valid()) {
|
870 |
+
try {
|
871 |
+
$contentRobotsTxt = wp_remote_retrieve_body( wp_remote_get( site_url( 'robots.txt' ), $args ) );
|
872 |
+
if(!empty($contentRobotsTxt)){
|
873 |
+
$contentRobotsTxt = explode("\n", $contentRobotsTxt);
|
874 |
|
875 |
+
$checkDisallowAfter = false;
|
876 |
+
$validRobotsTxt = true;
|
877 |
+
foreach($contentRobotsTxt as $line){
|
878 |
+
if(strpos($line, 'User-agent:') !== false && strpos($line, '*') !== false){
|
879 |
+
$checkDisallowAfter = true;
|
880 |
+
}
|
881 |
+
|
882 |
+
if(trim($line) === 'Disallow: /' && $checkDisallowAfter){
|
883 |
+
$validRobotsTxt = false;
|
884 |
+
}
|
885 |
}
|
886 |
|
887 |
+
if(!$validRobotsTxt && '1' !== seopress_get_hidden_notices_robots_txt_valid() && empty(seopress_get_hidden_notices_robots_txt_valid())){
|
888 |
+
$args = [
|
889 |
+
'id' => 'notice-robots-txt-valid',
|
890 |
+
'title' => __('Your site is not indexable!', 'wp-seopress'),
|
891 |
+
'desc' => __('Your robots.txt file contains a rule that prevents search engines to index your all site: <code>Disallow: /</code>', 'wp-seopress'),
|
892 |
+
'impact' => [
|
893 |
+
'high' => __('High impact', 'wp-seopress'),
|
894 |
+
],
|
895 |
+
'link' => [
|
896 |
+
'en' => is_multisite() ? network_admin_url('admin.php?page=seopress-network-option#tab=tab_seopress_robots') : admin_url('admin.php?page=seopress-pro-page#tab=tab_seopress_robots'),
|
897 |
+
'title' => __('Fix this!', 'wp-seopress'),
|
898 |
+
'external' => false,
|
899 |
+
],
|
900 |
+
'deleteable' => true,
|
901 |
+
];
|
902 |
+
seopress_notification($args);
|
903 |
}
|
904 |
}
|
905 |
+
} catch (\Exception $e) {
|
906 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
907 |
}
|
|
|
|
|
|
|
|
|
908 |
}
|
909 |
}
|
910 |
?>
|
inc/admin/docs/DocsLinks.php
CHANGED
@@ -74,7 +74,8 @@ function seopress_get_docs_links()
|
|
74 |
'ga4_property' => 'https://www.seopress.org/fr/support/guides/trouver-id-de-propriete-google-analytics-4/' . $utm,
|
75 |
'api' => [
|
76 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=fr',
|
77 |
-
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=fr'
|
|
|
78 |
],
|
79 |
'matomo' => [
|
80 |
'on_premise' => 'https://www.seopress.org/fr/support/guides/comment-utiliser-matomo-en-auto-heberge-avec-seopress-free/' . $utm,
|
@@ -208,7 +209,8 @@ function seopress_get_docs_links()
|
|
208 |
'ga4_property' => 'https://www.seopress.org/support/guides/find-my-google-analytics-4-property-id/' . $utm,
|
209 |
'api' => [
|
210 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=en',
|
211 |
-
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=en'
|
|
|
212 |
],
|
213 |
'matomo' => [
|
214 |
'on_premise' => 'https://www.seopress.org/support/guides/how-to-use-matomo-on-premise-with-seopress-free/' . $utm,
|
74 |
'ga4_property' => 'https://www.seopress.org/fr/support/guides/trouver-id-de-propriete-google-analytics-4/' . $utm,
|
75 |
'api' => [
|
76 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=fr',
|
77 |
+
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=fr',
|
78 |
+
'data' => 'https://console.cloud.google.com/apis/library/analyticsdata.googleapis.com?hl=fr'
|
79 |
],
|
80 |
'matomo' => [
|
81 |
'on_premise' => 'https://www.seopress.org/fr/support/guides/comment-utiliser-matomo-en-auto-heberge-avec-seopress-free/' . $utm,
|
209 |
'ga4_property' => 'https://www.seopress.org/support/guides/find-my-google-analytics-4-property-id/' . $utm,
|
210 |
'api' => [
|
211 |
'analytics' => 'https://console.cloud.google.com/apis/library/analytics.googleapis.com?hl=en',
|
212 |
+
'reporting' => 'https://console.cloud.google.com/apis/library/analyticsreporting.googleapis.com?hl=en',
|
213 |
+
'data' => 'https://console.cloud.google.com/apis/library/analyticsdata.googleapis.com?hl=en'
|
214 |
],
|
215 |
'matomo' => [
|
216 |
'on_premise' => 'https://www.seopress.org/support/guides/how-to-use-matomo-on-premise-with-seopress-free/' . $utm,
|
inc/admin/metaboxes/admin-metaboxes-content-analysis-form.php
CHANGED
@@ -11,7 +11,7 @@ $data_attr = seopress_metaboxes_init();
|
|
11 |
data_id="<?php echo $data_attr['current_id']; ?>"
|
12 |
data_origin="<?php echo $data_attr['origin']; ?>"
|
13 |
data_tax="<?php echo $data_attr['data_tax']; ?>">
|
14 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(
|
15 |
<ul class="wrap-ca-list">
|
16 |
<li><a href="#seopress-ca-tabs-2"><?php _e('Overview', 'wp-seopress'); ?></a></li>
|
17 |
<?php if (seopress_get_toggle_option('inspect-url') ==='1') { ?>
|
@@ -118,7 +118,7 @@ $data_attr = seopress_metaboxes_init();
|
|
118 |
seopress_get_service('RenderContentAnalysis')->render($analyzes, $seopress_analysis_data);
|
119 |
} ?>
|
120 |
</div>
|
121 |
-
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(
|
122 |
if (seopress_get_toggle_option('inspect-url') === '1') { ?>
|
123 |
<div id="seopress-ca-tabs-1">
|
124 |
<?php if (function_exists('seopress_get_service') && !empty($data_attr['current_id'])) {
|
11 |
data_id="<?php echo $data_attr['current_id']; ?>"
|
12 |
data_origin="<?php echo $data_attr['origin']; ?>"
|
13 |
data_tax="<?php echo $data_attr['data_tax']; ?>">
|
14 |
+
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '5.7', '>=')) { ?>
|
15 |
<ul class="wrap-ca-list">
|
16 |
<li><a href="#seopress-ca-tabs-2"><?php _e('Overview', 'wp-seopress'); ?></a></li>
|
17 |
<?php if (seopress_get_toggle_option('inspect-url') ==='1') { ?>
|
118 |
seopress_get_service('RenderContentAnalysis')->render($analyzes, $seopress_analysis_data);
|
119 |
} ?>
|
120 |
</div>
|
121 |
+
<?php if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '5.7', '>=')) {
|
122 |
if (seopress_get_toggle_option('inspect-url') === '1') { ?>
|
123 |
<div id="seopress-ca-tabs-1">
|
124 |
<?php if (function_exists('seopress_get_service') && !empty($data_attr['current_id'])) {
|
inc/admin/page-builders/gutenberg/blocks/faq/block.php
CHANGED
@@ -154,7 +154,7 @@ function seopress_block_faq_render_frontend($attributes)
|
|
154 |
echo $css;
|
155 |
}
|
156 |
//Our simple accordion JS
|
157 |
-
wp_enqueue_script('seopress-accordion',
|
158 |
}
|
159 |
|
160 |
$image = '';
|
154 |
echo $css;
|
155 |
}
|
156 |
//Our simple accordion JS
|
157 |
+
wp_enqueue_script('seopress-accordion', SEOPRESS_URL_PUBLIC . '/editor/blocks/faq/accordion.js', '', SEOPRESS_VERSION, true);
|
158 |
}
|
159 |
|
160 |
$image = '';
|
inc/functions/options-instant-indexing.php
CHANGED
@@ -138,13 +138,13 @@ function seopress_instant_indexing_fn($is_manual_submission = true, $permalink =
|
|
138 |
//Prepare the URLS
|
139 |
if ($is_manual_submission === true) {
|
140 |
$urls = preg_split('/\r\n|\r|\n/', $urls);
|
141 |
-
$x_source_info = 'https://www.seopress.org/6.0/true';
|
142 |
|
143 |
$urls = array_slice($urls, 0, 100);
|
144 |
} elseif ($is_manual_submission === false && !empty($permalink)) {
|
145 |
$urls = null;
|
146 |
$urls[] = $permalink;
|
147 |
-
$x_source_info = 'https://www.seopress.org/6.0/false';
|
148 |
}
|
149 |
|
150 |
//Bing API
|
138 |
//Prepare the URLS
|
139 |
if ($is_manual_submission === true) {
|
140 |
$urls = preg_split('/\r\n|\r|\n/', $urls);
|
141 |
+
$x_source_info = 'https://www.seopress.org/6.0.1/true';
|
142 |
|
143 |
$urls = array_slice($urls, 0, 100);
|
144 |
} elseif ($is_manual_submission === false && !empty($permalink)) {
|
145 |
$urls = null;
|
146 |
$urls[] = $permalink;
|
147 |
+
$x_source_info = 'https://www.seopress.org/6.0.1/false';
|
148 |
}
|
149 |
|
150 |
//Bing API
|
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 6.0\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-10-
|
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"
|
@@ -1273,7 +1273,7 @@ msgstr ""
|
|
1273 |
#: inc/admin/blocks/notifications-center.php:712
|
1274 |
#: inc/admin/blocks/notifications-center.php:777
|
1275 |
#: inc/admin/blocks/notifications-center.php:796
|
1276 |
-
#: inc/admin/blocks/notifications-center.php:
|
1277 |
#: inc/admin/sections/InstantIndexing.php:43
|
1278 |
#: src/Services/ContentAnalysis/RenderGSCInspectUrl.php:30
|
1279 |
msgid "Fix this!"
|
@@ -1308,7 +1308,7 @@ msgstr ""
|
|
1308 |
#: inc/admin/blocks/notifications-center.php:755
|
1309 |
#: inc/admin/blocks/notifications-center.php:773
|
1310 |
#: inc/admin/blocks/notifications-center.php:862
|
1311 |
-
#: inc/admin/blocks/notifications-center.php:
|
1312 |
msgid "High impact"
|
1313 |
msgstr ""
|
1314 |
|
@@ -1551,11 +1551,11 @@ msgstr ""
|
|
1551 |
msgid "A robots.txt file already exists at the root of your site. We invite you to remove it so SEOPress can handle it virtually."
|
1552 |
msgstr ""
|
1553 |
|
1554 |
-
#: inc/admin/blocks/notifications-center.php:
|
1555 |
msgid "Your site is not indexable!"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
-
#: inc/admin/blocks/notifications-center.php:
|
1559 |
msgid "Your robots.txt file contains a rule that prevents search engines to index your all site: <code>Disallow: /</code>"
|
1560 |
msgstr ""
|
1561 |
|
@@ -3257,71 +3257,71 @@ msgstr ""
|
|
3257 |
msgid "eg: https://example.com/my-media-attachment-page"
|
3258 |
msgstr ""
|
3259 |
|
3260 |
-
#: inc/admin/docs/DocsLinks.php:
|
3261 |
msgid "Installation of SEOPress"
|
3262 |
msgstr ""
|
3263 |
|
3264 |
-
#: inc/admin/docs/DocsLinks.php:
|
3265 |
msgid "Activate your license key to receive automatic updates"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
-
#: inc/admin/docs/DocsLinks.php:
|
3269 |
msgid "Configure SEOPress in 5 minutes"
|
3270 |
msgstr ""
|
3271 |
|
3272 |
-
#: inc/admin/docs/DocsLinks.php:
|
3273 |
msgid "Migrate your SEO metadata from other plugins"
|
3274 |
msgstr ""
|
3275 |
|
3276 |
-
#: inc/admin/docs/DocsLinks.php:
|
3277 |
msgid "Promote the exploration of your WordPress site by search engine robots"
|
3278 |
msgstr ""
|
3279 |
|
3280 |
-
#: inc/admin/docs/DocsLinks.php:
|
3281 |
msgid "Optimize content from A to Z with SEOPress"
|
3282 |
msgstr ""
|
3283 |
|
3284 |
-
#: inc/admin/docs/DocsLinks.php:
|
3285 |
msgid "Measure your traffic with Google Analytics"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
-
#: inc/admin/docs/DocsLinks.php:
|
3289 |
msgid "Add your WordPress site to Google’s index"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
-
#: inc/admin/docs/DocsLinks.php:
|
3293 |
msgid "Optimize your click-through rate on social networks"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
-
#: inc/admin/docs/DocsLinks.php:
|
3297 |
msgid "Free ebooks to learn SEO"
|
3298 |
msgstr ""
|
3299 |
|
3300 |
-
#: inc/admin/docs/DocsLinks.php:
|
3301 |
msgid "Activate your SEOPress Insights license"
|
3302 |
msgstr ""
|
3303 |
|
3304 |
-
#: inc/admin/docs/DocsLinks.php:
|
3305 |
msgid "Track your keyword rankings in Google with SEOPress Insights"
|
3306 |
msgstr ""
|
3307 |
|
3308 |
-
#: inc/admin/docs/DocsLinks.php:
|
3309 |
msgid "Monitor and analyse your Backlinks with SEOPress Insights"
|
3310 |
msgstr ""
|
3311 |
|
3312 |
-
#: inc/admin/docs/DocsLinks.php:
|
3313 |
msgid "Finding SEO keywords for your WordPress site"
|
3314 |
msgstr ""
|
3315 |
|
3316 |
-
#: inc/admin/docs/DocsLinks.php:
|
3317 |
msgid "Optimize WordPress posts for a keyword"
|
3318 |
msgstr ""
|
3319 |
|
3320 |
-
#: inc/admin/docs/DocsLinks.php:
|
3321 |
msgid "Audit the backlinks of your WordPress site (in WordPress)"
|
3322 |
msgstr ""
|
3323 |
|
3324 |
-
#: inc/admin/docs/DocsLinks.php:
|
3325 |
msgid "The importance of backlinks"
|
3326 |
msgstr ""
|
3327 |
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: SEOPress 6.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-10-06T15:10:48+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"
|
1273 |
#: inc/admin/blocks/notifications-center.php:712
|
1274 |
#: inc/admin/blocks/notifications-center.php:777
|
1275 |
#: inc/admin/blocks/notifications-center.php:796
|
1276 |
+
#: inc/admin/blocks/notifications-center.php:897
|
1277 |
#: inc/admin/sections/InstantIndexing.php:43
|
1278 |
#: src/Services/ContentAnalysis/RenderGSCInspectUrl.php:30
|
1279 |
msgid "Fix this!"
|
1308 |
#: inc/admin/blocks/notifications-center.php:755
|
1309 |
#: inc/admin/blocks/notifications-center.php:773
|
1310 |
#: inc/admin/blocks/notifications-center.php:862
|
1311 |
+
#: inc/admin/blocks/notifications-center.php:893
|
1312 |
msgid "High impact"
|
1313 |
msgstr ""
|
1314 |
|
1551 |
msgid "A robots.txt file already exists at the root of your site. We invite you to remove it so SEOPress can handle it virtually."
|
1552 |
msgstr ""
|
1553 |
|
1554 |
+
#: inc/admin/blocks/notifications-center.php:890
|
1555 |
msgid "Your site is not indexable!"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
+
#: inc/admin/blocks/notifications-center.php:891
|
1559 |
msgid "Your robots.txt file contains a rule that prevents search engines to index your all site: <code>Disallow: /</code>"
|
1560 |
msgstr ""
|
1561 |
|
3257 |
msgid "eg: https://example.com/my-media-attachment-page"
|
3258 |
msgstr ""
|
3259 |
|
3260 |
+
#: inc/admin/docs/DocsLinks.php:159
|
3261 |
msgid "Installation of SEOPress"
|
3262 |
msgstr ""
|
3263 |
|
3264 |
+
#: inc/admin/docs/DocsLinks.php:160
|
3265 |
msgid "Activate your license key to receive automatic updates"
|
3266 |
msgstr ""
|
3267 |
|
3268 |
+
#: inc/admin/docs/DocsLinks.php:161
|
3269 |
msgid "Configure SEOPress in 5 minutes"
|
3270 |
msgstr ""
|
3271 |
|
3272 |
+
#: inc/admin/docs/DocsLinks.php:162
|
3273 |
msgid "Migrate your SEO metadata from other plugins"
|
3274 |
msgstr ""
|
3275 |
|
3276 |
+
#: inc/admin/docs/DocsLinks.php:163
|
3277 |
msgid "Promote the exploration of your WordPress site by search engine robots"
|
3278 |
msgstr ""
|
3279 |
|
3280 |
+
#: inc/admin/docs/DocsLinks.php:164
|
3281 |
msgid "Optimize content from A to Z with SEOPress"
|
3282 |
msgstr ""
|
3283 |
|
3284 |
+
#: inc/admin/docs/DocsLinks.php:165
|
3285 |
msgid "Measure your traffic with Google Analytics"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
+
#: inc/admin/docs/DocsLinks.php:166
|
3289 |
msgid "Add your WordPress site to Google’s index"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
+
#: inc/admin/docs/DocsLinks.php:167
|
3293 |
msgid "Optimize your click-through rate on social networks"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
+
#: inc/admin/docs/DocsLinks.php:168
|
3297 |
msgid "Free ebooks to learn SEO"
|
3298 |
msgstr ""
|
3299 |
|
3300 |
+
#: inc/admin/docs/DocsLinks.php:171
|
3301 |
msgid "Activate your SEOPress Insights license"
|
3302 |
msgstr ""
|
3303 |
|
3304 |
+
#: inc/admin/docs/DocsLinks.php:172
|
3305 |
msgid "Track your keyword rankings in Google with SEOPress Insights"
|
3306 |
msgstr ""
|
3307 |
|
3308 |
+
#: inc/admin/docs/DocsLinks.php:173
|
3309 |
msgid "Monitor and analyse your Backlinks with SEOPress Insights"
|
3310 |
msgstr ""
|
3311 |
|
3312 |
+
#: inc/admin/docs/DocsLinks.php:174
|
3313 |
msgid "Finding SEO keywords for your WordPress site"
|
3314 |
msgstr ""
|
3315 |
|
3316 |
+
#: inc/admin/docs/DocsLinks.php:175
|
3317 |
msgid "Optimize WordPress posts for a keyword"
|
3318 |
msgstr ""
|
3319 |
|
3320 |
+
#: inc/admin/docs/DocsLinks.php:176
|
3321 |
msgid "Audit the backlinks of your WordPress site (in WordPress)"
|
3322 |
msgstr ""
|
3323 |
|
3324 |
+
#: inc/admin/docs/DocsLinks.php:177
|
3325 |
msgid "The importance of backlinks"
|
3326 |
msgstr ""
|
3327 |
|
public/editor/blocks/faq/accordion.asset.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php return array('dependencies' => array(), 'version' => '814dad9e21cee330a279');
|
public/editor/blocks/faq/accordion.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(){for(var e=document.querySelectorAll(".wpseopress-wrap-faq-question"),t=0;t<e.length;t++)e[t].addEventListener("click",(function(e){var t=this.nextElementSibling,r=this.querySelector(".wpseopress-accordion-button");t.classList.toggle("wpseopress-hide"),"true"===r.getAttribute("aria-expanded")?r.setAttribute("aria-expanded","false"):r.setAttribute("aria-expanded","true")}))}();
|
readme.txt
CHANGED
@@ -3,10 +3,10 @@ Authors: rainbowgeek
|
|
3 |
Contributors: seopress, rainbowgeek, gmulti, juliobox, maigret, mgris, vincentdubroeucq
|
4 |
Donate link: https://www.seopress.org/
|
5 |
Tags: SEO, schema, xml sitemap, redirection, meta title, open graph, content analysis, instant indexing, breadcrumbs, analytics, rich snippets, broken link
|
6 |
-
Requires at least:
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 7.2
|
9 |
-
Stable tag: 6.0
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -363,6 +363,14 @@ You're theme is probably using a deprecated function to handle the title. <a hre
|
|
363 |
12. Schema metabox
|
364 |
|
365 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
= 6.0 <a href="https://www.seopress.org/newsroom/product-news/seopress-6-0/">Read the blog post update</a> =
|
367 |
* NEW Matomo Analytics as a WP Dashboard widget (PRO) 🎉
|
368 |
* NEW Pros and cons for Product structured data types (PRO) 🎉
|
3 |
Contributors: seopress, rainbowgeek, gmulti, juliobox, maigret, mgris, vincentdubroeucq
|
4 |
Donate link: https://www.seopress.org/
|
5 |
Tags: SEO, schema, xml sitemap, redirection, meta title, open graph, content analysis, instant indexing, breadcrumbs, analytics, rich snippets, broken link
|
6 |
+
Requires at least: 5.0+
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 7.2
|
9 |
+
Stable tag: 6.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 |
+
= 6.0.1 =
|
367 |
+
* INFO Bump min version of WP required to 5.0+
|
368 |
+
* INFO WPML compatibility for translated archive links in XML sitemaps (thanks to @wpml)
|
369 |
+
* FIX Compatibility with SEOPress for MainWP add-on
|
370 |
+
* FIX Accordion.js error for FAQ block
|
371 |
+
* FIX Doc links
|
372 |
+
* FIX Slow file_get_contents request for robots.txt on very specific server configuration
|
373 |
+
* FIX Warning from Review.php file
|
374 |
= 6.0 <a href="https://www.seopress.org/newsroom/product-news/seopress-6-0/">Read the blog post update</a> =
|
375 |
* NEW Matomo Analytics as a WP Dashboard widget (PRO) 🎉
|
376 |
* NEW Pros and cons for Product structured data types (PRO) 🎉
|
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: 6.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', '6.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__));
|
@@ -672,7 +672,7 @@ function seopress_notice() {
|
|
672 |
return;
|
673 |
}
|
674 |
|
675 |
-
if ( is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '5.4'
|
676 |
$docs = seopress_get_docs_links();
|
677 |
?>
|
678 |
<div class="notice notice-warning">
|
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: 6.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', '6.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__));
|
672 |
return;
|
673 |
}
|
674 |
|
675 |
+
if ( is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '5.4', '<')) {
|
676 |
$docs = seopress_get_docs_links();
|
677 |
?>
|
678 |
<div class="notice notice-warning">
|
src/Thirds/AMP/amp.php
CHANGED
@@ -3,8 +3,7 @@
|
|
3 |
if ( ! defined('ABSPATH')) {
|
4 |
exit;
|
5 |
}
|
6 |
-
|
7 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare('SEOPRESS_PRO_VERSION', '5.4') < 0) { //Quick fix to prevent fatal error for SEOPress < 5.4
|
8 |
//do nothing
|
9 |
} else {
|
10 |
/**
|
3 |
if ( ! defined('ABSPATH')) {
|
4 |
exit;
|
5 |
}
|
6 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '5.4', '<')) { //Quick fix to prevent fatal error for SEOPress < 5.4
|
|
|
7 |
//do nothing
|
8 |
} else {
|
9 |
/**
|
src/Thirds/MainWP/MainWPFunctions.php
CHANGED
@@ -3,7 +3,7 @@ if ( ! defined('ABSPATH')) {
|
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
-
if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(
|
7 |
//do nothing
|
8 |
} else {
|
9 |
/**
|
3 |
exit;
|
4 |
}
|
5 |
|
6 |
+
if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && version_compare(SEOPRESS_PRO_VERSION, '5.4', '<')) { //Quick fix to prevent fatal error for SEOPress < 5.4
|
7 |
//do nothing
|
8 |
} else {
|
9 |
/**
|
templates/sitemap/single.php
CHANGED
@@ -33,23 +33,53 @@ $urlset = '<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
|
|
33 |
|
34 |
echo apply_filters('seopress_sitemaps_urlset', $urlset);
|
35 |
|
|
|
36 |
if (true == get_post_type_archive_link($path) && 0 == $offset) {
|
37 |
if ( ! function_exists('seopress_get_service')) {
|
38 |
return;
|
39 |
}
|
40 |
if ('1' != seopress_get_service('TitleOption')->getTitlesCptNoIndexByPath($path)) {
|
41 |
$sitemap_url = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
// array with all the information needed for a sitemap url
|
43 |
-
$
|
44 |
-
'loc' => htmlspecialchars(urldecode(user_trailingslashit(get_post_type_archive_link($path)))),
|
45 |
-
'mod' => '',
|
46 |
-
'images' => [],
|
47 |
-
];
|
48 |
-
$sitemap_url = sprintf("<url>\n<loc>%s</loc>\n</url>", htmlspecialchars(urldecode(user_trailingslashit(get_post_type_archive_link($path)))));
|
49 |
|
50 |
-
$
|
51 |
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
}
|
55 |
|
33 |
|
34 |
echo apply_filters('seopress_sitemaps_urlset', $urlset);
|
35 |
|
36 |
+
//Archive link
|
37 |
if (true == get_post_type_archive_link($path) && 0 == $offset) {
|
38 |
if ( ! function_exists('seopress_get_service')) {
|
39 |
return;
|
40 |
}
|
41 |
if ('1' != seopress_get_service('TitleOption')->getTitlesCptNoIndexByPath($path)) {
|
42 |
$sitemap_url = '';
|
43 |
+
$archive_links = [];
|
44 |
+
|
45 |
+
// WPML Workaround
|
46 |
+
if (class_exists('SitePress')) {
|
47 |
+
$original_language = apply_filters( 'wpml_current_language', NULL );
|
48 |
+
$language_list = apply_filters( 'wpml_active_languages', NULL, 'orderby=id&order=desc' );
|
49 |
+
|
50 |
+
if (!empty($language_list)) {
|
51 |
+
foreach ($language_list as $key => $language_infos ) {
|
52 |
+
if ($original_language != $language_infos['language_code']) {
|
53 |
+
|
54 |
+
// Switch Language
|
55 |
+
do_action( 'wpml_switch_language', $language_infos['language_code']);
|
56 |
+
|
57 |
+
$archive_links[] = htmlspecialchars(urldecode(user_trailingslashit(get_post_type_archive_link($path))));
|
58 |
+
|
59 |
+
// Restore language to the original
|
60 |
+
do_action( 'wpml_switch_language', $original_language);
|
61 |
+
}
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
// array with all the information needed for a sitemap url
|
67 |
+
$archive_links[] = htmlspecialchars(urldecode(user_trailingslashit(get_post_type_archive_link($path))));
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
+
$archive_links = array_unique($archive_links);
|
70 |
|
71 |
+
foreach($archive_links as $loc) {
|
72 |
+
$seopress_url = [
|
73 |
+
'loc' => $loc,
|
74 |
+
'mod' => '',
|
75 |
+
'images' => [],
|
76 |
+
];
|
77 |
+
$sitemap_url = sprintf("<url>\n<loc>%s</loc>\n</url>", $loc);
|
78 |
+
|
79 |
+
$sitemap_url = apply_filters('seopress_sitemaps_no_archive_link', $sitemap_url, $path);
|
80 |
+
|
81 |
+
echo apply_filters('seopress_sitemaps_url', $sitemap_url, $seopress_url);
|
82 |
+
}
|
83 |
}
|
84 |
}
|
85 |
|
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' => 'f0d70b8d8f668bcb79ddccc66128abf39edd90b8',
|
9 |
'name' => 'wp-seopress/wp-seopress',
|
10 |
'dev' => false,
|
11 |
),
|
202 |
'type' => 'wordpress-plugin',
|
203 |
'install_path' => __DIR__ . '/../../',
|
204 |
'aliases' => array(),
|
205 |
+
'reference' => 'f0d70b8d8f668bcb79ddccc66128abf39edd90b8',
|
206 |
'dev_requirement' => false,
|
207 |
),
|
208 |
),
|