Version Description
2020-12-04 - Resolved the authorization error thrown for roles other than Admin, like Editor role etc. while trying to access a POST to which the Role has not been assigned access to Platinum SEO Metabox in role Manager.
Download this release
Release Info
Developer | Rajesh Babu |
Plugin | Platinum SEO Pack |
Version | 2.2.5 |
Comparing to | |
See all releases |
Code changes from version 2.2.4 to 2.2.5
- Changelog.txt +3 -0
- platinum-seo-pack.php +1 -1
- psp-include/settings/psp_settings.php +3 -1
- psp-include/utilities/psp_helper.php +1 -1
- psp_main.php +3 -3
- readme.txt +6 -1
Changelog.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
= 2.2.4 =
|
2 |
2020-12-02 - Provided an option to disable published and modified time being added as open graph tags for article og type. Added a button to exit the setup wizard that is triggered on plugin activation.
|
3 |
|
1 |
+
= 2.2.5 =
|
2 |
+
2020-12-04 - Resolved the authorization error thrown for roles other than Admin, like Editor role etc. while trying to access a POST to which the Role has not been assigned access to Platinum SEO Metabox in role Manager.
|
3 |
+
|
4 |
= 2.2.4 =
|
5 |
2020-12-02 - Provided an option to disable published and modified time being added as open graph tags for article og type. Added a button to exit the setup wizard that is triggered on plugin activation.
|
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.2.
|
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.2.5
|
8 |
Author: Techblissonline.com (Rajesh)
|
9 |
Author URI: https://techblissonline.com/
|
10 |
Text Domain: platinum-seo-pack
|
psp-include/settings/psp_settings.php
CHANGED
@@ -3466,9 +3466,11 @@ class PspSettings {
|
|
3466 |
//wp_enqueue_media();
|
3467 |
wp_enqueue_script( 'psp-meta-box', plugins_url( '/js/pspmetabox.js', __FILE__ ), array('jquery', 'jquery-ui-tabs' ) );
|
3468 |
//wp_enqueue_script( 'psp-image-uploader', plugins_url( '/js/pspmediauploader.js', __FILE__ ), array( 'jquery' ) );
|
3469 |
-
wp_enqueue_script( 'psp-meta-box-snippet', plugins_url( '/js/snippetpreview.js', __FILE__ ), '', '2.2.0');
|
3470 |
//wp_enqueue_script( 'psp-social', plugins_url( '/js/pspsocialhandler.js', __FILE__ ), array( 'jquery' ) );
|
3471 |
|
|
|
|
|
|
|
3472 |
$psp_cm_json_settings['codeEditor'] = wp_enqueue_code_editor(array('type' => 'json', 'codemirror'=> array('autoRefresh' => true)));
|
3473 |
wp_localize_script('psp-meta-box', 'psp_cm_json_settings', $psp_cm_json_settings);
|
3474 |
|
3466 |
//wp_enqueue_media();
|
3467 |
wp_enqueue_script( 'psp-meta-box', plugins_url( '/js/pspmetabox.js', __FILE__ ), array('jquery', 'jquery-ui-tabs' ) );
|
3468 |
//wp_enqueue_script( 'psp-image-uploader', plugins_url( '/js/pspmediauploader.js', __FILE__ ), array( 'jquery' ) );
|
|
|
3469 |
//wp_enqueue_script( 'psp-social', plugins_url( '/js/pspsocialhandler.js', __FILE__ ), array( 'jquery' ) );
|
3470 |
|
3471 |
+
if ( $this->psp_helper->user_has_access('metabox') ) {
|
3472 |
+
wp_enqueue_script( 'psp-meta-box-snippet', plugins_url( '/js/snippetpreview.js', __FILE__ ), '', '2.2.0');
|
3473 |
+
}
|
3474 |
$psp_cm_json_settings['codeEditor'] = wp_enqueue_code_editor(array('type' => 'json', 'codemirror'=> array('autoRefresh' => true)));
|
3475 |
wp_localize_script('psp-meta-box', 'psp_cm_json_settings', $psp_cm_json_settings);
|
3476 |
|
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.2.
|
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.2.5";
|
23 |
|
24 |
public $sitename = "";
|
25 |
public $sitedescription = "";
|
psp_main.php
CHANGED
@@ -273,14 +273,14 @@ class PspMain {
|
|
273 |
$user_id = get_current_user_id();
|
274 |
// Add the meta so that the notice is permanently dismissed.
|
275 |
//delete_user_meta( $user_id, 'psp_ignore_notice_v_209' );
|
276 |
-
update_user_meta( $user_id, 'psp_ignore_notice', "
|
277 |
};
|
278 |
};
|
279 |
}
|
280 |
|
281 |
public function platinum_seo_admin_notice__success() {
|
282 |
$user_id = get_current_user_id();
|
283 |
-
if ( "
|
284 |
global $pagenow;
|
285 |
$psp_pages = array('platinum-seo-social-pack-by-techblissonline', 'psp-social-by-techblissonline', 'psp-tools-by-techblissonline', 'pspp-licenses');
|
286 |
if ('index.php' === $pagenow || ( $pagenow == 'admin.php' && in_array(sanitize_key($_GET['page']), $psp_pages))) {
|
@@ -290,7 +290,7 @@ class PspMain {
|
|
290 |
'psp_ignore_notice' => '1',
|
291 |
'action' => 'psp_delete_adminnotice',
|
292 |
'nonce' => wp_create_nonce('psp_delete_adminnotice'),
|
293 |
-
] ) ) .'" 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.2.
|
294 |
</div>
|
295 |
<?php
|
296 |
}
|
273 |
$user_id = get_current_user_id();
|
274 |
// Add the meta so that the notice is permanently dismissed.
|
275 |
//delete_user_meta( $user_id, 'psp_ignore_notice_v_209' );
|
276 |
+
update_user_meta( $user_id, 'psp_ignore_notice', "v_225" );
|
277 |
};
|
278 |
};
|
279 |
}
|
280 |
|
281 |
public function platinum_seo_admin_notice__success() {
|
282 |
$user_id = get_current_user_id();
|
283 |
+
if ( "v_225" === trim(get_user_meta( $user_id, 'psp_ignore_notice', true ) )) return;
|
284 |
global $pagenow;
|
285 |
$psp_pages = array('platinum-seo-social-pack-by-techblissonline', 'psp-social-by-techblissonline', 'psp-tools-by-techblissonline', 'pspp-licenses');
|
286 |
if ('index.php' === $pagenow || ( $pagenow == 'admin.php' && in_array(sanitize_key($_GET['page']), $psp_pages))) {
|
290 |
'psp_ignore_notice' => '1',
|
291 |
'action' => 'psp_delete_adminnotice',
|
292 |
'nonce' => wp_create_nonce('psp_delete_adminnotice'),
|
293 |
+
] ) ) .'" 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.2.5'.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/support/plugin/platinum-seo-pack/reviews/#new-post" target="_blank" rel="noopener">'.esc_html__(' here','platinum-seo-pack' ).'</a>'; ?></p></strong>
|
294 |
</div>
|
295 |
<?php
|
296 |
}
|
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.3
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 2.2.
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -21,6 +21,8 @@ Techblissonline's **[ WordPress SEO Plugin](https://techblissonline.com/platinum
|
|
21 |
|
22 |
[FAQ](https://techblissonline.com/platinum-seo-pack-faq/)
|
23 |
|
|
|
|
|
24 |
Some features:
|
25 |
|
26 |
1) Create and set any kind of Json-ld schema markup tag for any post, page or taxonomy. Thus Platinum SEO is now the easiest Plugin to add JSON Schema Markup. This can be generated using the free JSON Schema Markup Generator on Techblissonline.com.
|
@@ -73,6 +75,9 @@ Please read these **[FAQs](https://techblissonline.com/platinum-seo-pack-faq/)**
|
|
73 |
4. Social Settings for Facebook, Twitter, Pinterest and LinkedIn. Generates Open Grah Tags and Twitter compatible Tags.
|
74 |
|
75 |
== Changelog ==
|
|
|
|
|
|
|
76 |
= 2.2.4 =
|
77 |
2020-12-02 - Provided an option to disable published and modified time being added as open graph tags for article og type. Added a button to exit the setup wizard that is triggered on plugin activation.
|
78 |
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.5.3
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 2.2.5
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
21 |
|
22 |
[FAQ](https://techblissonline.com/platinum-seo-pack-faq/)
|
23 |
|
24 |
+
[youtube https://www.youtube.com/watch?v=OlSIfRbao4w]
|
25 |
+
|
26 |
Some features:
|
27 |
|
28 |
1) Create and set any kind of Json-ld schema markup tag for any post, page or taxonomy. Thus Platinum SEO is now the easiest Plugin to add JSON Schema Markup. This can be generated using the free JSON Schema Markup Generator on Techblissonline.com.
|
75 |
4. Social Settings for Facebook, Twitter, Pinterest and LinkedIn. Generates Open Grah Tags and Twitter compatible Tags.
|
76 |
|
77 |
== Changelog ==
|
78 |
+
= 2.2.5 =
|
79 |
+
2020-12-04 - Resolved the authorization error thrown for roles other than Admin, like Editor role etc. while trying to access a POST to which the Role has not been assigned access to Platinum SEO Metabox in role Manager.
|
80 |
+
|
81 |
= 2.2.4 =
|
82 |
2020-12-02 - Provided an option to disable published and modified time being added as open graph tags for article og type. Added a button to exit the setup wizard that is triggered on plugin activation.
|
83 |
|