SEO SIMPLE PACK - Version 2.2.5

Version Description

Fix the canonical tag on front page.

Download this release

Release Info

Developer looswebstudio
Plugin Icon 128x128 SEO SIMPLE PACK
Version 2.2.5
Comparing to
See all releases

Code changes from version 2.2.4 to 2.2.5

Files changed (4) hide show
  1. class/hooks.php +1 -1
  2. class/output.php +2 -2
  3. readme.txt +6 -3
  4. seo-simple-pack.php +1 -1
class/hooks.php CHANGED
@@ -137,7 +137,7 @@ class SSP_Hooks {
137
  */
138
  public static function redirect( $page ) {
139
 
140
- $home = home_url();
141
 
142
  if ( is_author() && SSP_Data::$settings['author_disable'] ) {
143
  wp_safe_redirect( $home );
137
  */
138
  public static function redirect( $page ) {
139
 
140
+ $home = home_url( '/' );
141
 
142
  if ( is_author() && SSP_Data::$settings['author_disable'] ) {
143
  wp_safe_redirect( $home );
class/output.php CHANGED
@@ -515,7 +515,7 @@ class SSP_Output {
515
  switch ( true ) {
516
 
517
  case is_front_page():
518
- $canonical = home_url();
519
  break;
520
 
521
  case is_singular():
@@ -563,7 +563,7 @@ class SSP_Output {
563
  break;
564
 
565
  case is_404():
566
- $canonical = home_url() . '/404';
567
  break;
568
 
569
  default:
515
  switch ( true ) {
516
 
517
  case is_front_page():
518
+ $canonical = home_url( '/' );
519
  break;
520
 
521
  case is_singular():
563
  break;
564
 
565
  case is_404():
566
+ $canonical = home_url( '/404' );
567
  break;
568
 
569
  default:
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: looswebstudio
3
  Donate link: https://loos-web-studio.com/
4
  Tags: SEO, meta, analytics, webmaster, simple, japan, meta tag
5
- Requires at least: 4.6
6
  Tested up to: 5.8
7
- Stable tag: 2.2.4
8
  Requires PHP: 7.0
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -121,6 +121,9 @@ The following hooks are available.
121
 
122
  == Changelog ==
123
 
 
 
 
124
  = 2.2.4 =
125
  - Support for WordPress 5.8.
126
  - Changed the default value of "tw_card" to `'summary_large_image'`.
@@ -153,4 +156,4 @@ Added get method: `\SSP_Output::get_meta_data( 'meta_name' )`
153
 
154
 
155
  = Earlier versions =
156
- See: https://github.com/ddryo/SEO-SIMPLE-PACK
2
  Contributors: looswebstudio
3
  Donate link: https://loos-web-studio.com/
4
  Tags: SEO, meta, analytics, webmaster, simple, japan, meta tag
5
+ Requires at least: 4.9
6
  Tested up to: 5.8
7
+ Stable tag: 2.2.5
8
  Requires PHP: 7.0
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
121
 
122
  == Changelog ==
123
 
124
+ = 2.2.5 =
125
+ Fix the canonical tag on front page.
126
+
127
  = 2.2.4 =
128
  - Support for WordPress 5.8.
129
  - Changed the default value of "tw_card" to `'summary_large_image'`.
156
 
157
 
158
  = Earlier versions =
159
+ See: https://github.com/ddryo/SEO-SIMPLE-PACK
seo-simple-pack.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: SEO SIMPLE PACK
4
  * Plugin URI: https://wemo.tech/1670
5
  * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
6
- * Version: 2.2.4
7
  * Author: LOOS,Inc.
8
  * Author URI: https://loos-web-studio.com/
9
  * License: GPL2 or later
3
  * Plugin Name: SEO SIMPLE PACK
4
  * Plugin URI: https://wemo.tech/1670
5
  * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
6
+ * Version: 2.2.5
7
  * Author: LOOS,Inc.
8
  * Author URI: https://loos-web-studio.com/
9
  * License: GPL2 or later