Version Description
Download this release
Release Info
Developer | trustindex |
Plugin | Widgets for Google Reviews |
Version | 9.7.1 |
Comparing to | |
See all releases |
Code changes from version 9.7 to 9.7.1
- readme.txt +2 -2
- tabs/my_reviews.php +1 -1
- tabs/setup_no_reg.php +1 -1
- tabs/troubleshooting.php +1 -1
- trustindex-plugin.class.php +2 -2
- uninstall.php +1 -1
- wp-reviews-plugin-for-google.php +3 -3
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: google, google places reviews, reviews, widget, google business, review, t
|
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 6.1
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 9.7
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
Plugin Name: Widgets for Google Reviews
|
@@ -14,7 +14,7 @@ Plugin URI: https://wordpress.org/plugins/wp-reviews-plugin-for-google/
|
|
14 |
Author: Trustindex.io <support@trustindex.io>
|
15 |
Author URI: https://www.trustindex.io/
|
16 |
Text Domain: wp-reviews-plugin-for-google
|
17 |
-
Version: 9.7
|
18 |
|
19 |
Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google reviews.
|
20 |
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 6.1
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 9.7.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
Plugin Name: Widgets for Google Reviews
|
14 |
Author: Trustindex.io <support@trustindex.io>
|
15 |
Author URI: https://www.trustindex.io/
|
16 |
Text Domain: wp-reviews-plugin-for-google
|
17 |
+
Version: 9.7.1
|
18 |
|
19 |
Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google reviews.
|
20 |
|
tabs/my_reviews.php
CHANGED
@@ -137,7 +137,7 @@ $download_timestamp = get_option($trustindex_pm_google->get_option_name('downloa
|
|
137 |
<input type="hidden" id="ti-noreg-page-id" value="<?php echo esc_attr($page_details['id']); ?>" />
|
138 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
139 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
140 |
-
<input type="hidden" id="ti-noreg-version" value="9.7" />
|
141 |
<?php if(isset($page_details['access_token'])): ?>
|
142 |
<input type="hidden" id="ti-noreg-access-token" value="<?php echo esc_attr($page_details['access_token']); ?>" />
|
143 |
<?php endif; ?>
|
137 |
<input type="hidden" id="ti-noreg-page-id" value="<?php echo esc_attr($page_details['id']); ?>" />
|
138 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
139 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
140 |
+
<input type="hidden" id="ti-noreg-version" value="9.7.1" />
|
141 |
<?php if(isset($page_details['access_token'])): ?>
|
142 |
<input type="hidden" id="ti-noreg-access-token" value="<?php echo esc_attr($page_details['access_token']); ?>" />
|
143 |
<?php endif; ?>
|
tabs/setup_no_reg.php
CHANGED
@@ -122,7 +122,7 @@ update_option($trustindex_pm_google->get_option_name('review-download-token'), $
|
|
122 |
<input type="hidden" id="ti-noreg-connect-token" name="ti-noreg-connect-token" value="<?php echo $review_download_token; ?>" />
|
123 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
124 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
125 |
-
<input type="hidden" id="ti-noreg-version" value="9.7" />
|
126 |
<input type="hidden" id="ti-noreg-review-download" name="review_download" value="0" />
|
127 |
<input type="hidden" id="ti-noreg-review-request-id" name="review_request_id" value="" />
|
128 |
<input type="hidden" id="ti-noreg-manual-download" name="manual_download" value=0 />
|
122 |
<input type="hidden" id="ti-noreg-connect-token" name="ti-noreg-connect-token" value="<?php echo $review_download_token; ?>" />
|
123 |
<input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
|
124 |
<input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
|
125 |
+
<input type="hidden" id="ti-noreg-version" value="9.7.1" />
|
126 |
<input type="hidden" id="ti-noreg-review-download" name="review_download" value="0" />
|
127 |
<input type="hidden" id="ti-noreg-review-request-id" name="review_request_id" value="" />
|
128 |
<input type="hidden" id="ti-noreg-manual-download" name="manual_download" value=0 />
|
tabs/troubleshooting.php
CHANGED
@@ -39,7 +39,7 @@ exit;
|
|
39 |
}
|
40 |
$yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
|
41 |
$no_icon = '<span class="dashicons dashicons-dismiss"></span>';
|
42 |
-
$plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "9.7");
|
43 |
$css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
|
44 |
$css = get_option($trustindex_pm_google->get_option_name('css-content'));
|
45 |
?>
|
39 |
}
|
40 |
$yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
|
41 |
$no_icon = '<span class="dashicons dashicons-dismiss"></span>';
|
42 |
+
$plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "9.7.1");
|
43 |
$css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
|
44 |
$css = get_option($trustindex_pm_google->get_option_name('css-content'));
|
45 |
?>
|
trustindex-plugin.class.php
CHANGED
@@ -459,7 +459,7 @@ $chosed_platform_slug = $this->plugin_slugs[ $force_platform ];
|
|
459 |
$current_platform_slug = $this->plugin_slugs[ $this->shortname ];
|
460 |
$file_path = preg_replace('/[^\/\\\\]+([\\\\\/]trustindex-plugin\.class\.php)/', $chosed_platform_slug . '$1', $file_path);
|
461 |
}
|
462 |
-
$chosed_platform = new self($force_platform, $file_path, "do-not-care-9.7", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
|
463 |
if(!$chosed_platform->is_noreg_linked())
|
464 |
{
|
465 |
return $this->error_box_for_admins(self::___('You have to connect your business (%s)!', [$force_platform]));
|
@@ -4360,7 +4360,7 @@ if(in_array(5, $filter['stars']))
|
|
4360 |
$sql .= ' or rating IS NULL';
|
4361 |
}
|
4362 |
$sql .= ') ';
|
4363 |
-
if($filter['only-ratings'])
|
4364 |
{
|
4365 |
$sql .= 'and text != "" ';
|
4366 |
}
|
459 |
$current_platform_slug = $this->plugin_slugs[ $this->shortname ];
|
460 |
$file_path = preg_replace('/[^\/\\\\]+([\\\\\/]trustindex-plugin\.class\.php)/', $chosed_platform_slug . '$1', $file_path);
|
461 |
}
|
462 |
+
$chosed_platform = new self($force_platform, $file_path, "do-not-care-9.7.1", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
|
463 |
if(!$chosed_platform->is_noreg_linked())
|
464 |
{
|
465 |
return $this->error_box_for_admins(self::___('You have to connect your business (%s)!', [$force_platform]));
|
4360 |
$sql .= ' or rating IS NULL';
|
4361 |
}
|
4362 |
$sql .= ') ';
|
4363 |
+
if(isset($filter['only-ratings']) && $filter['only-ratings'])
|
4364 |
{
|
4365 |
$sql .= 'and text != "" ';
|
4366 |
}
|
uninstall.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
3 |
-
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.7", "Widgets for Google Reviews", "Google");
|
4 |
$trustindex_pm_google->uninstall();
|
5 |
?>
|
1 |
<?php
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
3 |
+
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.7.1", "Widgets for Google Reviews", "Google");
|
4 |
$trustindex_pm_google->uninstall();
|
5 |
?>
|
wp-reviews-plugin-for-google.php
CHANGED
@@ -9,7 +9,7 @@ Author: Trustindex.io <support@trustindex.io>
|
|
9 |
Author URI: https://www.trustindex.io/
|
10 |
Contributors: trustindex
|
11 |
License: GPLv2 or later
|
12 |
-
Version: 9.7
|
13 |
Text Domain: wp-reviews-plugin-for-google
|
14 |
Domain Path: /languages/
|
15 |
Donate link: https://www.trustindex.io/prices/
|
@@ -19,7 +19,7 @@ Copyright 2019 Trustindex Kft (email: support@trustindex.io)
|
|
19 |
*/
|
20 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
21 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
22 |
-
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.7", "Widgets for Google Reviews", "Google");
|
23 |
register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
|
24 |
register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
|
25 |
add_action('admin_menu', array($trustindex_pm_google, 'add_setting_menu'), 10);
|
@@ -37,7 +37,7 @@ global $trustindex_pm_google;
|
|
37 |
if(!isset($trustindex_pm_google) || is_null($trustindex_pm_google))
|
38 |
{
|
39 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
40 |
-
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.7", "Widgets for Google Reviews", "Google");
|
41 |
}
|
42 |
$path = wp_upload_dir()['baseurl'] .'/'. $trustindex_pm_google->getCssFile(true);
|
43 |
if(is_ssl())
|
9 |
Author URI: https://www.trustindex.io/
|
10 |
Contributors: trustindex
|
11 |
License: GPLv2 or later
|
12 |
+
Version: 9.7.1
|
13 |
Text Domain: wp-reviews-plugin-for-google
|
14 |
Domain Path: /languages/
|
15 |
Donate link: https://www.trustindex.io/prices/
|
19 |
*/
|
20 |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
21 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
22 |
+
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.7.1", "Widgets for Google Reviews", "Google");
|
23 |
register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
|
24 |
register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
|
25 |
add_action('admin_menu', array($trustindex_pm_google, 'add_setting_menu'), 10);
|
37 |
if(!isset($trustindex_pm_google) || is_null($trustindex_pm_google))
|
38 |
{
|
39 |
require_once plugin_dir_path( __FILE__ ) . 'trustindex-plugin.class.php';
|
40 |
+
$trustindex_pm_google = new TrustindexPlugin_google("google", __FILE__, "9.7.1", "Widgets for Google Reviews", "Google");
|
41 |
}
|
42 |
$path = wp_upload_dir()['baseurl'] .'/'. $trustindex_pm_google->getCssFile(true);
|
43 |
if(is_ssl())
|