Version Description
- FIX Regression on canonical
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 2.6.3 |
Comparing to | |
See all releases |
Code changes from version 2.6.2 to 2.6.3
- inc/functions/options-titles-metas.php +2 -2
- readme.txt +4 -2
- seopress.php +2 -2
inc/functions/options-titles-metas.php
CHANGED
@@ -1277,9 +1277,9 @@ if ( is_singular() && seopress_titles_canonical_post_option()) { //CUSTOM SINGLE
|
|
1277 |
function seopress_titles_canonical_hook() {
|
1278 |
global $wp;
|
1279 |
if (seopress_advanced_advanced_trailingslash_option()) {
|
1280 |
-
$current_url =
|
1281 |
} else {
|
1282 |
-
$current_url =
|
1283 |
}
|
1284 |
if (is_search()) {
|
1285 |
$seopress_titles_canonical = '<link rel="canonical" href="'.get_home_url().'/search/'.get_search_query().'" />';
|
1277 |
function seopress_titles_canonical_hook() {
|
1278 |
global $wp;
|
1279 |
if (seopress_advanced_advanced_trailingslash_option()) {
|
1280 |
+
$current_url = home_url(add_query_arg(array(), $wp->request));
|
1281 |
} else {
|
1282 |
+
$current_url = trailingslashit(home_url(add_query_arg(array(), $wp->request)));
|
1283 |
}
|
1284 |
if (is_search()) {
|
1285 |
$seopress_titles_canonical = '<link rel="canonical" href="'.get_home_url().'/search/'.get_search_query().'" />';
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: seo, search engine optimization, meta title, open graph, content analysis,
|
|
6 |
Requires at least: 4.4+
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 5.4
|
9 |
-
Stable tag: 2.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -153,7 +153,9 @@ Subscribe on <a href="https://www.seopress.org/" target="_blank">seopress.org</a
|
|
153 |
44. Structured Data Types metaboxe in post, page, custom post type (PRO)
|
154 |
|
155 |
== Changelog ==
|
156 |
-
|
|
|
|
|
157 |
* FIX Regression Google Analytics introduced in 2.6.1
|
158 |
= 2.6.1 =
|
159 |
* NEW Russian language for SEOPress PRO (thanks to @Dmitriy)
|
6 |
Requires at least: 4.4+
|
7 |
Tested up to: 4.9
|
8 |
Requires PHP: 5.4
|
9 |
+
Stable tag: 2.6.3
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
153 |
44. Structured Data Types metaboxe in post, page, custom post type (PRO)
|
154 |
|
155 |
== Changelog ==
|
156 |
+
= 2.6.3 =
|
157 |
+
* FIX Regression on canonical
|
158 |
+
= 2.6.2 =
|
159 |
* FIX Regression Google Analytics introduced in 2.6.1
|
160 |
= 2.6.1 =
|
161 |
* NEW Russian language for SEOPress PRO (thanks to @Dmitriy)
|
seopress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SEOPress
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: The best SEO plugin.
|
6 |
-
Version: 2.6.
|
7 |
Author: Benjamin DENIS
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
@@ -55,7 +55,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
|
|
55 |
//Define
|
56 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
57 |
|
58 |
-
define( 'SEOPRESS_VERSION', '2.6.
|
59 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
60 |
|
61 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
3 |
Plugin Name: SEOPress
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: The best SEO plugin.
|
6 |
+
Version: 2.6.3
|
7 |
Author: Benjamin DENIS
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
55 |
//Define
|
56 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
57 |
|
58 |
+
define( 'SEOPRESS_VERSION', '2.6.3' );
|
59 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
60 |
|
61 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|