SEO SIMPLE PACK - Version 2.2.1

Version Description

Bug fixes

Download this release

Release Info

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

Code changes from version 2.2.0 to 2.2.1

Files changed (4) hide show
  1. class/data.php +2 -3
  2. class/output.php +1 -1
  3. readme.txt +4 -1
  4. seo-simple-pack.php +3 -3
class/data.php CHANGED
@@ -152,10 +152,10 @@ class SSP_Data {
152
  'attachment_noindex' => true,
153
  'attachment_title' => '%_page_title_% %_sep_% %_site_title_%',
154
  'attachment_desc' => '%_page_contents_%',
155
- 'cat_noindex' => true,
156
  'cat_title' => '%_cat_name_% %_sep_% %_site_title_%',
157
  'cat_desc' => '%_term_description_%',
158
- 'tag_noindex' => true,
159
  'tag_title' => '%_tag_name_% %_sep_% %_site_title_%',
160
  'tag_desc' => '%_term_description_%',
161
  'post_format_disable' => false,
@@ -175,7 +175,6 @@ class SSP_Data {
175
  '404_title' => '404: ' . __( 'Page not found', 'loos-ssp' ) . ' %_sep_% %_site_title_%',
176
  'search_title' => __( 'Searched:', 'loos-ssp' ) . ' %_search_phrase_% %_sep_% %_site_title_%',
177
  ];
178
- // ページが見つかりませんでした。
179
 
180
  self::$default_ogp_settings = [
181
  'og_image' => '',
152
  'attachment_noindex' => true,
153
  'attachment_title' => '%_page_title_% %_sep_% %_site_title_%',
154
  'attachment_desc' => '%_page_contents_%',
155
+ 'cat_noindex' => false,
156
  'cat_title' => '%_cat_name_% %_sep_% %_site_title_%',
157
  'cat_desc' => '%_term_description_%',
158
+ 'tag_noindex' => false,
159
  'tag_title' => '%_tag_name_% %_sep_% %_site_title_%',
160
  'tag_desc' => '%_term_description_%',
161
  'post_format_disable' => false,
175
  '404_title' => '404: ' . __( 'Page not found', 'loos-ssp' ) . ' %_sep_% %_site_title_%',
176
  'search_title' => __( 'Searched:', 'loos-ssp' ) . ' %_search_phrase_% %_sep_% %_site_title_%',
177
  ];
 
178
 
179
  self::$default_ogp_settings = [
180
  'og_image' => '',
class/output.php CHANGED
@@ -521,7 +521,7 @@ class SSP_Output {
521
  case is_singular():
522
  $the_id = isset( self::$obj->ID ) ? self::$obj->ID : 0;
523
  $meta_canonical = get_post_meta( $the_id, SSP_MetaBox::POST_META_KEYS['canonical'], true );
524
- $canonical = $meta_canonical ?? get_permalink();
525
  break;
526
 
527
  case is_tax() || is_tag() || is_category():
521
  case is_singular():
522
  $the_id = isset( self::$obj->ID ) ? self::$obj->ID : 0;
523
  $meta_canonical = get_post_meta( $the_id, SSP_MetaBox::POST_META_KEYS['canonical'], true );
524
+ $canonical = $meta_canonical ?: get_permalink();
525
  break;
526
 
527
  case is_tax() || is_tag() || is_category():
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.6
7
- Stable tag: 2.2.0
8
  Requires PHP: 5.6
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.0 =
125
  Added canonical tag settings for each page.
126
 
4
  Tags: SEO, meta, analytics, webmaster, simple, japan, meta tag
5
  Requires at least: 4.6
6
  Tested up to: 5.6
7
+ Stable tag: 2.2.1
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
121
 
122
  == Changelog ==
123
 
124
+ = 2.2.1 =
125
+ Bug fixes
126
+
127
  = 2.2.0 =
128
  Added canonical tag settings for each page.
129
 
seo-simple-pack.php CHANGED
@@ -3,13 +3,13 @@
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.0
7
  * Author: LOOS,Inc.
8
  * Author URI: https://loos-web-studio.com/
9
  * License: GPL2 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: loos-ssp
12
- * Domain Path: /languages/
13
  */
14
  defined( 'ABSPATH' ) || exit;
15
 
@@ -17,7 +17,7 @@ defined( 'ABSPATH' ) || exit;
17
  * 定数宣言
18
  */
19
  if ( ! defined( 'SSP_VERSION' ) ) {
20
- define( 'SSP_VERSION', ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ? date_i18n( 'mdGis' ) : '2.2.0' );
21
  }
22
  if ( ! defined( 'SSP_PATH' ) ) {
23
  define( 'SSP_PATH', plugin_dir_path( __FILE__ ) );
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.1
7
  * Author: LOOS,Inc.
8
  * Author URI: https://loos-web-studio.com/
9
  * License: GPL2 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: loos-ssp
12
+ * Domain Path: /languages
13
  */
14
  defined( 'ABSPATH' ) || exit;
15
 
17
  * 定数宣言
18
  */
19
  if ( ! defined( 'SSP_VERSION' ) ) {
20
+ define( 'SSP_VERSION', ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ? date_i18n( 'mdGis' ) : '2.2.1' );
21
  }
22
  if ( ! defined( 'SSP_PATH' ) ) {
23
  define( 'SSP_PATH', plugin_dir_path( __FILE__ ) );