Platinum SEO Pack - Version 2.1.9

Version Description

  • 2020-08-18 - Fixed a bug since WP 5.5 that caused the Platinum SEO Meta Box not to render in Post type 'Page' and custom Post types.
Download this release

Release Info

Developer Rajesh Babu
Plugin Icon 128x128 Platinum SEO Pack
Version 2.1.9
Comparing to
See all releases

Code changes from version 2.1.8 to 2.1.9

Changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 2.1.8 =
2
  * 2020-08-11 - Compatible with WordPress 5.5. Added support for migration of data from All in One SEO Pack.
3
 
1
+ = 2.1.9 =
2
+ * 2020-08-18 - Fixed a bug since WP 5.5 that caused the Platinum SEO Meta Box not to render in Post type 'Page' and custom Post types.
3
+
4
  = 2.1.8 =
5
  * 2020-08-11 - Compatible with WordPress 5.5. Added support for migration of data from All in One SEO Pack.
6
 
platinum-seo-pack.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Platinum SEO Pack
5
  Plugin URI: https://techblissonline.com/platinum-wordpress-seo-plugin/
6
  Description: Complete SEO and Social optimization solution for your Wordpress blog/site. It is Simple, Uncomplicated and User friendly with several useful features.
7
- Version: 2.1.8
8
  Author: Techblissonline.com (Rajesh)
9
  Author URI: https://techblissonline.com/
10
  Text Domain: platinum-seo-pack
4
  Plugin Name: Platinum SEO Pack
5
  Plugin URI: https://techblissonline.com/platinum-wordpress-seo-plugin/
6
  Description: Complete SEO and Social optimization solution for your Wordpress blog/site. It is Simple, Uncomplicated and User friendly with several useful features.
7
+ Version: 2.1.9
8
  Author: Techblissonline.com (Rajesh)
9
  Author URI: https://techblissonline.com/
10
  Text Domain: platinum-seo-pack
psp-include/settings/psp_settings.php CHANGED
@@ -3377,7 +3377,7 @@ class PspSettings {
3377
  if (!$psp_page_metabox_hidden || is_super_admin()) {
3378
  //add_meta_box( 'postpsp', esc_html__( 'Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), 'page', 'normal', 'high' );
3379
  //add_meta_box( 'postpsp', '<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), 'page', 'normal', 'high' );
3380
- add_meta_box( 'postpsp', '<span align="left">'.'<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ).'</span>', array( &$this, 'psp_do_seo_metabox' ), 'post', 'normal', 'high' );
3381
  }
3382
 
3383
  $cust_post_types = array();
@@ -3392,7 +3392,7 @@ class PspSettings {
3392
  if (!$psp_posttype_metabox_hidden || is_super_admin()) {
3393
  //add_meta_box( 'postpsp', esc_html__( 'Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), $cust_post_type, 'normal', 'high' );
3394
  //add_meta_box( 'postpsp', '<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), $cust_post_type, 'normal', 'high' );
3395
- add_meta_box( 'postpsp', '<span align="left">'.'<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ).'</span>', array( &$this, 'psp_do_seo_metabox' ), 'post', 'normal', 'high' );
3396
  }
3397
  }
3398
 
3377
  if (!$psp_page_metabox_hidden || is_super_admin()) {
3378
  //add_meta_box( 'postpsp', esc_html__( 'Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), 'page', 'normal', 'high' );
3379
  //add_meta_box( 'postpsp', '<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), 'page', 'normal', 'high' );
3380
+ add_meta_box( 'postpsp', '<span align="left">'.'<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ).'</span>', array( &$this, 'psp_do_seo_metabox' ), 'page', 'normal', 'high' );
3381
  }
3382
 
3383
  $cust_post_types = array();
3392
  if (!$psp_posttype_metabox_hidden || is_super_admin()) {
3393
  //add_meta_box( 'postpsp', esc_html__( 'Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), $cust_post_type, 'normal', 'high' );
3394
  //add_meta_box( 'postpsp', '<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ), array( &$this, 'psp_do_seo_metabox' ), $cust_post_type, 'normal', 'high' );
3395
+ add_meta_box( 'postpsp', '<span align="left">'.'<img src="'.esc_url(plugins_url( 'images/techblissonline-platinum-seo-pack.ico', dirname(dirname(__FILE__) ))).'" />'.esc_html__( ' Techblissonline Platinum SEO and Social Meta Box', 'platinum-seo-pack' ).'</span>', array( &$this, 'psp_do_seo_metabox' ), $cust_post_type, 'normal', 'high' );
3396
  }
3397
  }
3398
 
psp-include/utilities/psp_helper.php CHANGED
@@ -19,7 +19,7 @@ class PspHelper {
19
  * as description. Touch only if you know what you're doing
20
  */
21
  private $min_description_length = 1;
22
- private $version = "2.1.8";
23
 
24
  public $sitename = "";
25
  public $sitedescription = "";
19
  * as description. Touch only if you know what you're doing
20
  */
21
  private $min_description_length = 1;
22
+ private $version = "2.1.9";
23
 
24
  public $sitename = "";
25
  public $sitedescription = "";
psp_main.php CHANGED
@@ -263,14 +263,14 @@ class PspMain {
263
  $user_id = get_current_user_id();
264
  // Add the meta so that the notice is permanently dismissed.
265
  //delete_user_meta( $user_id, 'psp_ignore_notice_v_209' );
266
- update_user_meta( $user_id, 'psp_ignore_notice', "v_218" );
267
  };
268
  };
269
  }
270
 
271
  public function platinum_seo_admin_notice__success() {
272
  $user_id = get_current_user_id();
273
- if ( "v_218" === trim(get_user_meta( $user_id, 'psp_ignore_notice', true ) )) return;
274
  global $pagenow;
275
  $psp_pages = array('platinum-seo-social-pack-by-techblissonline', 'psp-social-by-techblissonline', 'psp-tools-by-techblissonline', 'pspp-licenses');
276
  if ('index.php' === $pagenow || ( $pagenow == 'admin.php' && in_array(sanitize_key($_GET['page']), $psp_pages))) {
@@ -280,7 +280,7 @@ class PspMain {
280
  'psp_ignore_notice' => '1',
281
  'action' => 'psp_delete_adminnotice',
282
  'nonce' => wp_create_nonce('psp_delete_adminnotice'),
283
- ] ) ) .'" style="float:right; display:block; border:none;">'.esc_html__( 'Dismiss permanently', 'platinum-seo-pack' ) .'</a>'.'<br>'. esc_html__( 'See What has Changed in this', 'platinum-seo-pack' ).'<a href="https://techblissonline.com/platinum-wordpress-seo-plugin/#what-is-new" target="_blank" rel="noopener"> '.esc_html__( ' Version ', 'platinum-seo-pack' ).'2.1.8'.esc_html__( ' and earlier Versions!', 'platinum-seo-pack' ) .'</a>'.'<br>'.esc_html__( 'Like this Plugin? Pls. give it a rating on WordPress', 'platinum-seo-pack' ).'<a href="https://wordpress.org/plugins/platinum-seo-pack/" target="_blank" rel="noopener">'.esc_html__(' here','platinum-seo-pack' ).'</a>'; ?></p></strong>
284
  </div>
285
  <?php
286
  }
263
  $user_id = get_current_user_id();
264
  // Add the meta so that the notice is permanently dismissed.
265
  //delete_user_meta( $user_id, 'psp_ignore_notice_v_209' );
266
+ update_user_meta( $user_id, 'psp_ignore_notice', "v_219" );
267
  };
268
  };
269
  }
270
 
271
  public function platinum_seo_admin_notice__success() {
272
  $user_id = get_current_user_id();
273
+ if ( "v_219" === trim(get_user_meta( $user_id, 'psp_ignore_notice', true ) )) return;
274
  global $pagenow;
275
  $psp_pages = array('platinum-seo-social-pack-by-techblissonline', 'psp-social-by-techblissonline', 'psp-tools-by-techblissonline', 'pspp-licenses');
276
  if ('index.php' === $pagenow || ( $pagenow == 'admin.php' && in_array(sanitize_key($_GET['page']), $psp_pages))) {
280
  'psp_ignore_notice' => '1',
281
  'action' => 'psp_delete_adminnotice',
282
  'nonce' => wp_create_nonce('psp_delete_adminnotice'),
283
+ ] ) ) .'" style="float:right; display:block; border:none;">'.esc_html__( 'Dismiss permanently', 'platinum-seo-pack' ) .'</a>'.'<br>'. esc_html__( 'See What has Changed in this', 'platinum-seo-pack' ).'<a href="https://techblissonline.com/platinum-wordpress-seo-plugin/#what-is-new" target="_blank" rel="noopener"> '.esc_html__( ' Version ', 'platinum-seo-pack' ).'2.1.9'.esc_html__( ' and earlier Versions!', 'platinum-seo-pack' ) .'</a>'.'<br>'.esc_html__( 'Like this Plugin? Pls. give it a rating on WordPress', 'platinum-seo-pack' ).'<a href="https://wordpress.org/plugins/platinum-seo-pack/" target="_blank" rel="noopener">'.esc_html__(' here','platinum-seo-pack' ).'</a>'; ?></p></strong>
284
  </div>
285
  <?php
286
  }
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: seo, wordpress seo, plugin, google seo, platinum seo, schema, schema marku
6
  Requires at least: 4.0
7
  Tested up to: 5.5
8
  Requires PHP: 5.6
9
- Stable tag: 2.1.8
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -72,6 +72,9 @@ Please read these **[FAQs](https://techblissonline.com/platinum-seo-pack-faq/)**
72
  4. Social Settings for Facebook, Twitter, Pinterest and LinkedIn. Generates Open Grah Tags and Twitter compatible Tags.
73
 
74
  == Changelog ==
 
 
 
75
  = 2.1.8 =
76
  * 2020-08-11 - Compatible with WordPress 5.5. Added support for migration of data from All in One SEO Pack.
77
 
6
  Requires at least: 4.0
7
  Tested up to: 5.5
8
  Requires PHP: 5.6
9
+ Stable tag: 2.1.9
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
72
  4. Social Settings for Facebook, Twitter, Pinterest and LinkedIn. Generates Open Grah Tags and Twitter compatible Tags.
73
 
74
  == Changelog ==
75
+ = 2.1.9 =
76
+ * 2020-08-18 - Fixed a bug since WP 5.5 that caused the Platinum SEO Meta Box not to render in Post type 'Page' and custom Post types.
77
+
78
  = 2.1.8 =
79
  * 2020-08-11 - Compatible with WordPress 5.5. Added support for migration of data from All in One SEO Pack.
80