Widgets for Google Reviews - Version 9.4

Version Description

Download this release

Release Info

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

Code changes from version 9.3 to 9.4

Files changed (84) hide show
  1. include/activate.php +4 -3
  2. languages/trustindex-af.mo +0 -0
  3. languages/trustindex-ar.mo +0 -0
  4. languages/trustindex-ary.mo +0 -0
  5. languages/trustindex-az.mo +0 -0
  6. languages/trustindex-azb.mo +0 -0
  7. languages/trustindex-bg_BG.mo +0 -0
  8. languages/trustindex-bn_BD.mo +0 -0
  9. languages/trustindex-bs_BA.mo +0 -0
  10. languages/trustindex-cs_CZ.mo +0 -0
  11. languages/trustindex-cy.mo +0 -0
  12. languages/trustindex-da_DK.mo +0 -0
  13. languages/trustindex-de_AT.mo +0 -0
  14. languages/trustindex-de_CH.mo +0 -0
  15. languages/trustindex-de_CH_informal.mo +0 -0
  16. languages/trustindex-de_DE.mo +0 -0
  17. languages/trustindex-de_DE_formal.mo +0 -0
  18. languages/trustindex-el.mo +0 -0
  19. languages/trustindex-es_AR.mo +0 -0
  20. languages/trustindex-es_CL.mo +0 -0
  21. languages/trustindex-es_CO.mo +0 -0
  22. languages/trustindex-es_CR.mo +0 -0
  23. languages/trustindex-es_ES.mo +0 -0
  24. languages/trustindex-es_GT.mo +0 -0
  25. languages/trustindex-es_MX.mo +0 -0
  26. languages/trustindex-es_PE.mo +0 -0
  27. languages/trustindex-es_PR.mo +0 -0
  28. languages/trustindex-es_UY.mo +0 -0
  29. languages/trustindex-es_VE.mo +0 -0
  30. languages/trustindex-et.mo +0 -0
  31. languages/trustindex-fa_AF.mo +0 -0
  32. languages/trustindex-fa_IR.mo +0 -0
  33. languages/trustindex-fi.mo +0 -0
  34. languages/trustindex-fr_BR.mo +0 -0
  35. languages/trustindex-fr_CA.mo +0 -0
  36. languages/trustindex-fr_FR.mo +0 -0
  37. languages/trustindex-gd.mo +0 -0
  38. languages/trustindex-gl_ES.mo +0 -0
  39. languages/trustindex-he_IL.mo +0 -0
  40. languages/trustindex-hi_IN.mo +0 -0
  41. languages/trustindex-hr.mo +0 -0
  42. languages/trustindex-hu_HU.mo +0 -0
  43. languages/trustindex-hy.mo +0 -0
  44. languages/trustindex-id_ID.mo +0 -0
  45. languages/trustindex-is_IS.mo +0 -0
  46. languages/trustindex-it_IT.mo +0 -0
  47. languages/trustindex-ja.mo +0 -0
  48. languages/trustindex-ka_GE.mo +0 -0
  49. languages/trustindex-kk.mo +0 -0
  50. languages/trustindex-ko_KR.mo +0 -0
  51. languages/trustindex-lt_LT.mo +0 -0
  52. languages/trustindex-mk_MK.mo +0 -0
  53. languages/trustindex-ms_MY.mo +0 -0
  54. languages/trustindex-nb_NO.mo +0 -0
  55. languages/trustindex-nl_BE.mo +0 -0
  56. languages/trustindex-nl_NL.mo +0 -0
  57. languages/trustindex-nl_NL_formal.mo +0 -0
  58. languages/trustindex-nn_NO.mo +0 -0
  59. languages/trustindex-pl_PL.mo +0 -0
  60. languages/trustindex-pt_AO.mo +0 -0
  61. languages/trustindex-pt_BR.mo +0 -0
  62. languages/trustindex-pt_PT.mo +0 -0
  63. languages/trustindex-pt_PT_ao90.mo +0 -0
  64. languages/trustindex-ro_RO.mo +0 -0
  65. languages/trustindex-ru_RU.mo +0 -0
  66. languages/trustindex-sk_SK.mo +0 -0
  67. languages/trustindex-sl_SI.mo +0 -0
  68. languages/trustindex-sq.mo +0 -0
  69. languages/trustindex-sr_RS.mo +0 -0
  70. languages/trustindex-sv_SE.mo +0 -0
  71. languages/trustindex-th.mo +0 -0
  72. languages/trustindex-tr_TR.mo +0 -0
  73. languages/trustindex-uk.mo +0 -0
  74. languages/trustindex-vi.mo +0 -0
  75. languages/trustindex-zh_CN.mo +0 -0
  76. languages/trustindex-zh_HK.mo +0 -0
  77. languages/trustindex-zh_TW.mo +0 -0
  78. readme.txt +2 -2
  79. tabs/my_reviews.php +9 -2
  80. tabs/setup_no_reg.php +7 -2
  81. tabs/troubleshooting.php +1 -4
  82. trustindex-plugin.class.php +1 -9
  83. uninstall.php +1 -1
  84. wp-reviews-plugin-for-google.php +3 -3
include/activate.php CHANGED
@@ -22,16 +22,17 @@ $not_created_tables []= $table_name;
22
  }
23
  if($not_created_tables)
24
  {
 
25
  deactivate_plugins(plugin_basename($this->plugin_file_path));
26
  $sqls_to_run = array_map(function($table_name) use($ti_db_schema) {
27
  return trim($ti_db_schema[ $table_name ]);
28
  }, $not_created_tables);
29
  $pre_style = 'background: #eee; padding: 10px 20px; word-wrap: break-word; white-space: pre-wrap';
30
  wp_die(
31
- '<strong>' . self::___('Plugin activation is failed because the required MySQL tables could not created!') . '</strong><br /><br />' .
32
- self::___('We got the following error from %s:', [ 'MySQL' ]) .
33
  '<pre style="'. $pre_style .'">'. $mysql_error .'</pre>' .
34
- '<strong>' . self::___('Run the following SQL codes in your MySQL administration interface (e.g. PhpMyAdmin) to create the tables or contact your system administrator:') . '</strong>' .
35
  '<pre style="'. $pre_style .'">' . implode('</pre><pre style="'. $pre_style .'">', $sqls_to_run) . '</pre>' .
36
  '<strong>' . self::___('Then try activate the plugin again.') . '</strong>'
37
  );
22
  }
23
  if($not_created_tables)
24
  {
25
+ $this->loadI18N();
26
  deactivate_plugins(plugin_basename($this->plugin_file_path));
27
  $sqls_to_run = array_map(function($table_name) use($ti_db_schema) {
28
  return trim($ti_db_schema[ $table_name ]);
29
  }, $not_created_tables);
30
  $pre_style = 'background: #eee; padding: 10px 20px; word-wrap: break-word; white-space: pre-wrap';
31
  wp_die(
32
+ '<strong>' . self::___('Plugin activation is failed because the required database tables could not created!') . '</strong><br /><br />' .
33
+ self::___('We got the following error from %s:', [ self::___('database') ]) .
34
  '<pre style="'. $pre_style .'">'. $mysql_error .'</pre>' .
35
+ '<strong>' . self::___('Run the following SQL codes in your database administration interface (e.g. PhpMyAdmin) to create the tables or contact your system administrator:') . '</strong>' .
36
  '<pre style="'. $pre_style .'">' . implode('</pre><pre style="'. $pre_style .'">', $sqls_to_run) . '</pre>' .
37
  '<strong>' . self::___('Then try activate the plugin again.') . '</strong>'
38
  );
languages/trustindex-af.mo CHANGED
Binary file
languages/trustindex-ar.mo CHANGED
Binary file
languages/trustindex-ary.mo CHANGED
Binary file
languages/trustindex-az.mo CHANGED
Binary file
languages/trustindex-azb.mo CHANGED
Binary file
languages/trustindex-bg_BG.mo CHANGED
Binary file
languages/trustindex-bn_BD.mo CHANGED
Binary file
languages/trustindex-bs_BA.mo CHANGED
Binary file
languages/trustindex-cs_CZ.mo CHANGED
Binary file
languages/trustindex-cy.mo CHANGED
Binary file
languages/trustindex-da_DK.mo CHANGED
Binary file
languages/trustindex-de_AT.mo CHANGED
Binary file
languages/trustindex-de_CH.mo CHANGED
Binary file
languages/trustindex-de_CH_informal.mo CHANGED
Binary file
languages/trustindex-de_DE.mo CHANGED
Binary file
languages/trustindex-de_DE_formal.mo CHANGED
Binary file
languages/trustindex-el.mo CHANGED
Binary file
languages/trustindex-es_AR.mo CHANGED
Binary file
languages/trustindex-es_CL.mo CHANGED
Binary file
languages/trustindex-es_CO.mo CHANGED
Binary file
languages/trustindex-es_CR.mo CHANGED
Binary file
languages/trustindex-es_ES.mo CHANGED
Binary file
languages/trustindex-es_GT.mo CHANGED
Binary file
languages/trustindex-es_MX.mo CHANGED
Binary file
languages/trustindex-es_PE.mo CHANGED
Binary file
languages/trustindex-es_PR.mo CHANGED
Binary file
languages/trustindex-es_UY.mo CHANGED
Binary file
languages/trustindex-es_VE.mo CHANGED
Binary file
languages/trustindex-et.mo CHANGED
Binary file
languages/trustindex-fa_AF.mo CHANGED
Binary file
languages/trustindex-fa_IR.mo CHANGED
Binary file
languages/trustindex-fi.mo CHANGED
Binary file
languages/trustindex-fr_BR.mo CHANGED
Binary file
languages/trustindex-fr_CA.mo CHANGED
Binary file
languages/trustindex-fr_FR.mo CHANGED
Binary file
languages/trustindex-gd.mo CHANGED
Binary file
languages/trustindex-gl_ES.mo CHANGED
Binary file
languages/trustindex-he_IL.mo CHANGED
Binary file
languages/trustindex-hi_IN.mo CHANGED
Binary file
languages/trustindex-hr.mo CHANGED
Binary file
languages/trustindex-hu_HU.mo CHANGED
Binary file
languages/trustindex-hy.mo CHANGED
Binary file
languages/trustindex-id_ID.mo CHANGED
Binary file
languages/trustindex-is_IS.mo CHANGED
Binary file
languages/trustindex-it_IT.mo CHANGED
Binary file
languages/trustindex-ja.mo CHANGED
Binary file
languages/trustindex-ka_GE.mo CHANGED
Binary file
languages/trustindex-kk.mo CHANGED
Binary file
languages/trustindex-ko_KR.mo CHANGED
Binary file
languages/trustindex-lt_LT.mo CHANGED
Binary file
languages/trustindex-mk_MK.mo CHANGED
Binary file
languages/trustindex-ms_MY.mo CHANGED
Binary file
languages/trustindex-nb_NO.mo CHANGED
Binary file
languages/trustindex-nl_BE.mo CHANGED
Binary file
languages/trustindex-nl_NL.mo CHANGED
Binary file
languages/trustindex-nl_NL_formal.mo CHANGED
Binary file
languages/trustindex-nn_NO.mo CHANGED
Binary file
languages/trustindex-pl_PL.mo CHANGED
Binary file
languages/trustindex-pt_AO.mo CHANGED
Binary file
languages/trustindex-pt_BR.mo CHANGED
Binary file
languages/trustindex-pt_PT.mo CHANGED
Binary file
languages/trustindex-pt_PT_ao90.mo CHANGED
Binary file
languages/trustindex-ro_RO.mo CHANGED
Binary file
languages/trustindex-ru_RU.mo CHANGED
Binary file
languages/trustindex-sk_SK.mo CHANGED
Binary file
languages/trustindex-sl_SI.mo CHANGED
Binary file
languages/trustindex-sq.mo CHANGED
Binary file
languages/trustindex-sr_RS.mo CHANGED
Binary file
languages/trustindex-sv_SE.mo CHANGED
Binary file
languages/trustindex-th.mo CHANGED
Binary file
languages/trustindex-tr_TR.mo CHANGED
Binary file
languages/trustindex-uk.mo CHANGED
Binary file
languages/trustindex-vi.mo CHANGED
Binary file
languages/trustindex-zh_CN.mo CHANGED
Binary file
languages/trustindex-zh_HK.mo CHANGED
Binary file
languages/trustindex-zh_TW.mo CHANGED
Binary file
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.0
7
  Requires PHP: 5.2
8
- Stable tag: 9.3
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.3
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.0
7
  Requires PHP: 5.2
8
+ Stable tag: 9.4
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.4
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
@@ -122,7 +122,7 @@ $download_timestamp = get_option($trustindex_pm_google->get_option_name('downloa
122
  <input type="hidden" id="ti-noreg-page-id" value="<?php echo esc_attr($page_details['id']); ?>" />
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.3" />
126
  <?php if(isset($page_details['access_token'])): ?>
127
  <input type="hidden" id="ti-noreg-access-token" value="<?php echo esc_attr($page_details['access_token']); ?>" />
128
  <?php endif; ?>
@@ -164,7 +164,14 @@ update_option($trustindex_pm_google->get_option_name('review-download-token'), $
164
  <br />
165
  <a href="#" id="review-manual-download" class="button button-primary ti-tooltip" style="margin-top: 10px" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>">
166
  <?php echo TrustindexPlugin_google::___("Manual download") ;?>
167
- <span class="ti-tooltip-message"><?php echo TrustindexPlugin_google::___('Your reviews are downloading in the background. This can take up to a few hours depending on the load and platform.'); ?></span>
 
 
 
 
 
 
 
168
  </a>
169
  <?php endif; ?>
170
  </p>
122
  <input type="hidden" id="ti-noreg-page-id" value="<?php echo esc_attr($page_details['id']); ?>" />
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.4" />
126
  <?php if(isset($page_details['access_token'])): ?>
127
  <input type="hidden" id="ti-noreg-access-token" value="<?php echo esc_attr($page_details['access_token']); ?>" />
128
  <?php endif; ?>
164
  <br />
165
  <a href="#" id="review-manual-download" class="button button-primary ti-tooltip" style="margin-top: 10px" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>">
166
  <?php echo TrustindexPlugin_google::___("Manual download") ;?>
167
+ <span class="ti-tooltip-message">
168
+ <span class="ti-tooltip-message">
169
+ <?php echo TrustindexPlugin_google::___('Your reviews are downloading in the background.'); ?>
170
+ <?php if(!in_array('google', [ 'facebook', 'google' ])): ?>
171
+ <?php echo TrustindexPlugin_google::___('This can take up to a few hours depending on the load and platform.'); ?>
172
+ <?php endif; ?>
173
+ </span>
174
+ </span>
175
  </a>
176
  <?php endif; ?>
177
  </p>
tabs/setup_no_reg.php CHANGED
@@ -53,7 +53,12 @@
53
  <br />
54
  <a href="#" id="review-manual-download" class="button button-primary ti-tooltip" style="margin-top: 10px" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>">
55
  <?php echo TrustindexPlugin_google::___("Manual download") ;?>
56
- <span class="ti-tooltip-message"><?php echo TrustindexPlugin_google::___('Your reviews are downloading in the background. This can take up to a few hours depending on the load and platform.'); ?></span>
 
 
 
 
 
57
  </a>
58
  <?php endif; ?>
59
  </p>
@@ -117,7 +122,7 @@ update_option($trustindex_pm_google->get_option_name('review-download-token'), $
117
  <input type="hidden" id="ti-noreg-connect-token" name="ti-noreg-connect-token" value="<?php echo $review_download_token; ?>" />
118
  <input type="hidden" id="ti-noreg-webhook-url" value="<?php echo $trustindex_pm_google->get_webhook_url(); ?>" />
119
  <input type="hidden" id="ti-noreg-email" value="<?php echo get_option('admin_email'); ?>" />
120
- <input type="hidden" id="ti-noreg-version" value="9.3" />
121
  <input type="hidden" id="ti-noreg-review-download" name="review_download" value="0" />
122
  <input type="hidden" id="ti-noreg-review-request-id" name="review_request_id" value="" />
123
  <input type="hidden" id="ti-noreg-manual-download" name="manual_download" value=0 />
53
  <br />
54
  <a href="#" id="review-manual-download" class="button button-primary ti-tooltip" style="margin-top: 10px" data-loading-text="<?php echo TrustindexPlugin_google::___("Loading") ;?>">
55
  <?php echo TrustindexPlugin_google::___("Manual download") ;?>
56
+ <span class="ti-tooltip-message">
57
+ <?php echo TrustindexPlugin_google::___('Your reviews are downloading in the background.'); ?>
58
+ <?php if(!in_array('google', [ 'facebook', 'google' ])): ?>
59
+ <?php echo TrustindexPlugin_google::___('This can take up to a few hours depending on the load and platform.'); ?>
60
+ <?php endif; ?>
61
+ </span>
62
  </a>
63
  <?php endif; ?>
64
  </p>
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.4" />
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.3");
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
  ?>
@@ -180,9 +180,6 @@ $max_execute = filter_var(ini_get('max_execution_time'));
180
  <textarea class="ti-troubleshooting-info" readonly>
181
  URL: <?php echo esc_url(get_option('siteurl')) ."\n"; ?>
182
  MySQL Version: <?php echo esc_html($wpdb->db_version()) ."\n"; ?>
183
- MySQL Database: <?php echo esc_html(DB_NAME) ."\n"; ?>
184
- MySQL User: <?php echo esc_html(DB_USER) ."\n"; ?>
185
- MySQL User rights: <?php echo "\n\t\t - ". esc_html(implode("\n\t\t - ", $trustindex_pm_google->get_mysql_rights())) ."\n"; ?>
186
  WP Table Prefix: <?php echo esc_html($wpdb->prefix) ."\n"; ?>
187
  WP Version: <?php echo esc_html($wp_version) ."\n"; ?>
188
  Server Name: <?php echo esc_html($_SERVER['SERVER_NAME']) ."\n"; ?>
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.4");
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
  ?>
180
  <textarea class="ti-troubleshooting-info" readonly>
181
  URL: <?php echo esc_url(get_option('siteurl')) ."\n"; ?>
182
  MySQL Version: <?php echo esc_html($wpdb->db_version()) ."\n"; ?>
 
 
 
183
  WP Table Prefix: <?php echo esc_html($wpdb->prefix) ."\n"; ?>
184
  WP Version: <?php echo esc_html($wp_version) ."\n"; ?>
185
  Server Name: <?php echo esc_html($_SERVER['SERVER_NAME']) ."\n"; ?>
trustindex-plugin.class.php CHANGED
@@ -446,7 +446,7 @@ $chosed_platform_slug = $this->plugin_slugs[ $force_platform ];
446
  $current_platform_slug = $this->plugin_slugs[ $this->shortname ];
447
  $file_path = preg_replace('/[^\/\\\\]+([\\\\\/]trustindex-plugin\.class\.php)/', $chosed_platform_slug . '$1', $file_path);
448
  }
449
- $chosed_platform = new self($force_platform, $file_path, "do-not-care-9.3", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
450
  if(!$chosed_platform->is_noreg_linked())
451
  {
452
  return self::get_alertbox(
@@ -5005,14 +5005,6 @@ else
5005
  return false;
5006
  }
5007
  }
5008
- public static function get_mysql_rights()
5009
- {
5010
- global $wpdb;
5011
- return array_map(function($a) {
5012
- $key = key($a);
5013
- return $a->$key;
5014
- }, $wpdb->get_results('SHOW GRANTS'));
5015
- }
5016
  public function filter_filesystem_method($method)
5017
  {
5018
  if($method != 'direct' && !defined('FS_METHOD'))
446
  $current_platform_slug = $this->plugin_slugs[ $this->shortname ];
447
  $file_path = preg_replace('/[^\/\\\\]+([\\\\\/]trustindex-plugin\.class\.php)/', $chosed_platform_slug . '$1', $file_path);
448
  }
449
+ $chosed_platform = new self($force_platform, $file_path, "do-not-care-9.4", "do-not-care-Widgets for Google Reviews", "do-not-care-Google");
450
  if(!$chosed_platform->is_noreg_linked())
451
  {
452
  return self::get_alertbox(
5005
  return false;
5006
  }
5007
  }
 
 
 
 
 
 
 
 
5008
  public function filter_filesystem_method($method)
5009
  {
5010
  if($method != 'direct' && !defined('FS_METHOD'))
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.3", "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.4", "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.3
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.3", "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.3", "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.4
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.4", "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.4", "Widgets for Google Reviews", "Google");
41
  }
42
  $path = wp_upload_dir()['baseurl'] .'/'. $trustindex_pm_google->getCssFile(true);
43
  if(is_ssl())