Version Description
Download this release
Release Info
Developer | trustindex |
Plugin | Widgets for Google Reviews |
Version | 7.9.1 |
Comparing to | |
See all releases |
Code changes from version 7.9 to 7.9.1
- readme.txt +2 -2
- tabs/troubleshooting.php +1 -1
- trustindex-plugin.class.php +2 -2
- uninstall.php +1 -1
- wp-reviews-plugin-for-google.php +9 -2
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: 5.8.2
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 7.9
|
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: 7.9
|
18 |
|
19 |
Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google Business reviews.
|
20 |
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.8.2
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 7.9.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: 7.9.1
|
18 |
|
19 |
Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google Business reviews.
|
20 |
|
tabs/troubleshooting.php
CHANGED
@@ -30,7 +30,7 @@ exit;
|
|
30 |
}
|
31 |
$yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
|
32 |
$no_icon = '<span class="dashicons dashicons-dismiss"></span>';
|
33 |
-
$plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "7.9");
|
34 |
$css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
|
35 |
?>
|
36 |
<div class="ti-box">
|
30 |
}
|
31 |
$yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
|
32 |
$no_icon = '<span class="dashicons dashicons-dismiss"></span>';
|
33 |
+
$plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "7.9.1");
|
34 |
$css_inline = get_option($trustindex_pm_google->get_option_name('load-css-inline'), 0);
|
35 |
?>
|
36 |
<div class="ti-box">
|
trustindex-plugin.class.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* GENERATED:
|
3 |
class TrustindexPlugin
|
4 |
{
|
5 |
private $plugin_file_path;
|
@@ -376,7 +376,7 @@ $chosed_platform_slug = $this->plugin_slugs[ $force_platform ];
|
|
376 |
$current_platform_slug = $this->plugin_slugs[ $this->shortname ];
|
377 |
$file_path = preg_replace('/\/[^\/]+\/trustindex-plugin\.class\.php/', "/$chosed_platform_slug/trustindex-plugin.class.php", $file_path);
|
378 |
}
|
379 |
-
$chosed_platform = new TrustindexPlugin($force_platform, $file_path, "do-not-care-7.9", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
|
380 |
if(!$chosed_platform->is_noreg_linked() || !$chosed_platform->is_noreg_table_exists($force_platform))
|
381 |
{
|
382 |
return self::get_alertbox(
|
1 |
<?php
|
2 |
+
/* GENERATED: 1642609890 */
|
3 |
class TrustindexPlugin
|
4 |
{
|
5 |
private $plugin_file_path;
|
376 |
$current_platform_slug = $this->plugin_slugs[ $this->shortname ];
|
377 |
$file_path = preg_replace('/\/[^\/]+\/trustindex-plugin\.class\.php/', "/$chosed_platform_slug/trustindex-plugin.class.php", $file_path);
|
378 |
}
|
379 |
+
$chosed_platform = new TrustindexPlugin($force_platform, $file_path, "do-not-care-7.9.1", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
|
380 |
if(!$chosed_platform->is_noreg_linked() || !$chosed_platform->is_noreg_table_exists($force_platform))
|
381 |
{
|
382 |
return self::get_alertbox(
|
uninstall.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
|
3 |
-
$trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.9", "Widgets for Google Reviews", "Google");
|
4 |
$trustindex_pm_google->uninstall();
|
5 |
?>
|
1 |
<?php
|
2 |
require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
|
3 |
+
$trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.9.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: 7.9
|
13 |
Text Domain: wp-reviews-plugin-for-google
|
14 |
Domain Path: /languages/
|
15 |
Donate link: https://www.trustindex.io/prices/
|
@@ -25,7 +25,7 @@ $plugin_slug = $tmp[ count($tmp) - 2 ];
|
|
25 |
if(1)
|
26 |
{
|
27 |
require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
|
28 |
-
$trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.9", "Widgets for Google Reviews", "Google");
|
29 |
}
|
30 |
register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
|
31 |
register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
|
@@ -39,7 +39,14 @@ add_action('widgets_init', array($trustindex_pm_google, 'register_widget'));
|
|
39 |
}
|
40 |
if(is_file($trustindex_pm_google->getCssFile()))
|
41 |
{
|
|
|
|
|
42 |
wp_register_style('ti-widget-css-google', content_url() .'/uploads/'. $trustindex_pm_google->getCssFile(true), [], null);
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
add_action('init', array($trustindex_pm_google, 'init_shortcode'));
|
45 |
add_filter('script_loader_tag', function($tag, $handle) {
|
9 |
Author URI: https://www.trustindex.io/
|
10 |
Contributors: trustindex
|
11 |
License: GPLv2 or later
|
12 |
+
Version: 7.9.1
|
13 |
Text Domain: wp-reviews-plugin-for-google
|
14 |
Domain Path: /languages/
|
15 |
Donate link: https://www.trustindex.io/prices/
|
25 |
if(1)
|
26 |
{
|
27 |
require_once plugin_dir_path( __FILE__ ) . 'plugin-load.php';
|
28 |
+
$trustindex_pm_google = new TrustindexPlugin("google", __FILE__, "7.9.1", "Widgets for Google Reviews", "Google");
|
29 |
}
|
30 |
register_activation_hook(__FILE__, array($trustindex_pm_google, 'activate'));
|
31 |
register_deactivation_hook(__FILE__, array($trustindex_pm_google, 'deactivate'));
|
39 |
}
|
40 |
if(is_file($trustindex_pm_google->getCssFile()))
|
41 |
{
|
42 |
+
add_action('wp_enqueue_scripts', function() {
|
43 |
+
global $trustindex_pm_google;
|
44 |
wp_register_style('ti-widget-css-google', content_url() .'/uploads/'. $trustindex_pm_google->getCssFile(true), [], null);
|
45 |
+
});
|
46 |
+
add_action('admin_enqueue_scripts', function() {
|
47 |
+
global $trustindex_pm_google;
|
48 |
+
wp_register_style('ti-widget-css-google', content_url() .'/uploads/'. $trustindex_pm_google->getCssFile(true), [], null);
|
49 |
+
});
|
50 |
}
|
51 |
add_action('init', array($trustindex_pm_google, 'init_shortcode'));
|
52 |
add_filter('script_loader_tag', function($tag, $handle) {
|