Widgets for Google Reviews - Version 7.7.1

Version Description

Download this release

Release Info

Developer trustindex
Plugin Icon 128x128 Widgets for Google Reviews
Version 7.7.1
Comparing to
See all releases

Code changes from version 7.7 to 7.7.1

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
7
  Requires PHP: 5.2
8
- Stable tag: 7.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: 7.7
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
7
  Requires PHP: 5.2
8
+ Stable tag: 7.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: 7.7.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
@@ -25,7 +25,7 @@ exit;
25
  }
26
  $yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
27
  $no_icon = '<span class="dashicons dashicons-dismiss"></span>';
28
- $plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "7.7");
29
  $widget_nonce = get_option($trustindex_pm_google->get_option_name('widget-nonce'), 1);
30
  ?>
31
  <div class="ti-box">
25
  }
26
  $yes_icon = '<span class="dashicons dashicons-yes-alt"></span>';
27
  $no_icon = '<span class="dashicons dashicons-dismiss"></span>';
28
+ $plugin_updated = ($trustindex_pm_google->get_plugin_current_version() <= "7.7.1");
29
  $widget_nonce = get_option($trustindex_pm_google->get_option_name('widget-nonce'), 1);
30
  ?>
31
  <div class="ti-box">
trustindex-plugin.class.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* GENERATED: 1639397716 */
3
  class TrustindexPlugin
4
  {
5
  private $plugin_file_path;
@@ -373,7 +373,7 @@ $chosed_platform_slug = $this->plugin_slugs[ $force_platform ];
373
  $current_platform_slug = $this->plugin_slugs[ $this->shortname ];
374
  $file_path = preg_replace('/\/[^\/]+\/trustindex-plugin\.class\.php/', "/$chosed_platform_slug/trustindex-plugin.class.php", $file_path);
375
  }
376
- $chosed_platform = new TrustindexPlugin($force_platform, $file_path, "do-not-care-7.7", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
377
  if(!$chosed_platform->is_noreg_linked() || !$chosed_platform->is_noreg_table_exists($force_platform))
378
  {
379
  return self::get_alertbox(
1
  <?php
2
+ /* GENERATED: 1639643662 */
3
  class TrustindexPlugin
4
  {
5
  private $plugin_file_path;
373
  $current_platform_slug = $this->plugin_slugs[ $this->shortname ];
374
  $file_path = preg_replace('/\/[^\/]+\/trustindex-plugin\.class\.php/', "/$chosed_platform_slug/trustindex-plugin.class.php", $file_path);
375
  }
376
+ $chosed_platform = new TrustindexPlugin($force_platform, $file_path, "do-not-care-7.7.1", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
377
  if(!$chosed_platform->is_noreg_linked() || !$chosed_platform->is_noreg_table_exists($force_platform))
378
  {
379
  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.7", "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.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: 7.7
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.7", "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'));
@@ -40,9 +40,9 @@ add_action('widgets_init', array($trustindex_pm_google, 'register_widget'));
40
  $widget_css_google = get_option($trustindex_pm_google->get_option_name('css-content'));
41
  if($trustindex_pm_google->is_noreg_linked() && $widget_css_google)
42
  {
43
- wp_register_style('ti-widget-css-google', admin_url('admin-ajax.php') .'?action=widget_css_google', [], null);
44
  add_action('wp_enqueue_scripts', function() {
45
  global $trustindex_pm_google;
 
46
  wp_enqueue_script('trustindex-frontend-js-google', $trustindex_pm_google->get_plugin_file_url('static/js/frontend.js'), [ 'jquery' ], false, true );
47
  $data = [
48
  'ajaxurl' => admin_url('admin-ajax.php'),
9
  Author URI: https://www.trustindex.io/
10
  Contributors: trustindex
11
  License: GPLv2 or later
12
+ Version: 7.7.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.7.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'));
40
  $widget_css_google = get_option($trustindex_pm_google->get_option_name('css-content'));
41
  if($trustindex_pm_google->is_noreg_linked() && $widget_css_google)
42
  {
 
43
  add_action('wp_enqueue_scripts', function() {
44
  global $trustindex_pm_google;
45
+ wp_register_style('ti-widget-css-google', admin_url('admin-ajax.php') .'?action=widget_css_google', [], null);
46
  wp_enqueue_script('trustindex-frontend-js-google', $trustindex_pm_google->get_plugin_file_url('static/js/frontend.js'), [ 'jquery' ], false, true );
47
  $data = [
48
  'ajaxurl' => admin_url('admin-ajax.php'),