Widgets for Google Reviews - Version 7.5

Version Description

Download this release

Release Info

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

Code changes from version 7.4 to 7.5

Files changed (77) hide show
  1. languages/trustindex-af.mo +0 -0
  2. languages/trustindex-ar.mo +0 -0
  3. languages/trustindex-ary.mo +0 -0
  4. languages/trustindex-az.mo +0 -0
  5. languages/trustindex-azb.mo +0 -0
  6. languages/trustindex-bg_BG.mo +0 -0
  7. languages/trustindex-bn_BD.mo +0 -0
  8. languages/trustindex-bs_BA.mo +0 -0
  9. languages/trustindex-cs_CZ.mo +0 -0
  10. languages/trustindex-cy.mo +0 -0
  11. languages/trustindex-da_DK.mo +0 -0
  12. languages/trustindex-de_AT.mo +0 -0
  13. languages/trustindex-de_CH.mo +0 -0
  14. languages/trustindex-de_CH_informal.mo +0 -0
  15. languages/trustindex-de_DE.mo +0 -0
  16. languages/trustindex-de_DE_formal.mo +0 -0
  17. languages/trustindex-el.mo +0 -0
  18. languages/trustindex-es_AR.mo +0 -0
  19. languages/trustindex-es_CL.mo +0 -0
  20. languages/trustindex-es_CO.mo +0 -0
  21. languages/trustindex-es_CR.mo +0 -0
  22. languages/trustindex-es_ES.mo +0 -0
  23. languages/trustindex-es_GT.mo +0 -0
  24. languages/trustindex-es_MX.mo +0 -0
  25. languages/trustindex-es_PE.mo +0 -0
  26. languages/trustindex-es_PR.mo +0 -0
  27. languages/trustindex-es_UY.mo +0 -0
  28. languages/trustindex-es_VE.mo +0 -0
  29. languages/trustindex-et.mo +0 -0
  30. languages/trustindex-fa_AF.mo +0 -0
  31. languages/trustindex-fa_IR.mo +0 -0
  32. languages/trustindex-fi.mo +0 -0
  33. languages/trustindex-fr_BR.mo +0 -0
  34. languages/trustindex-fr_CA.mo +0 -0
  35. languages/trustindex-fr_FR.mo +0 -0
  36. languages/trustindex-gd.mo +0 -0
  37. languages/trustindex-he_IL.mo +0 -0
  38. languages/trustindex-hi_IN.mo +0 -0
  39. languages/trustindex-hr.mo +0 -0
  40. languages/trustindex-hu_HU.mo +0 -0
  41. languages/trustindex-id_ID.mo +0 -0
  42. languages/trustindex-is_IS.mo +0 -0
  43. languages/trustindex-it_IT.mo +0 -0
  44. languages/trustindex-ja.mo +0 -0
  45. languages/trustindex-ko_KR.mo +0 -0
  46. languages/trustindex-lt_LT.mo +0 -0
  47. languages/trustindex-mk_MK.mo +0 -0
  48. languages/trustindex-ms_MY.mo +0 -0
  49. languages/trustindex-nb_NO.mo +0 -0
  50. languages/trustindex-nl_BE.mo +0 -0
  51. languages/trustindex-nl_NL.mo +0 -0
  52. languages/trustindex-nl_NL_formal.mo +0 -0
  53. languages/trustindex-nn_NO.mo +0 -0
  54. languages/trustindex-pl_PL.mo +0 -0
  55. languages/trustindex-pt_AO.mo +0 -0
  56. languages/trustindex-pt_BR.mo +0 -0
  57. languages/trustindex-pt_PT.mo +0 -0
  58. languages/trustindex-pt_PT_ao90.mo +0 -0
  59. languages/trustindex-ro_RO.mo +0 -0
  60. languages/trustindex-ru_RU.mo +0 -0
  61. languages/trustindex-sk_SK.mo +0 -0
  62. languages/trustindex-sl_SI.mo +0 -0
  63. languages/trustindex-sq.mo +0 -0
  64. languages/trustindex-sr_RS.mo +0 -0
  65. languages/trustindex-sv_SE.mo +0 -0
  66. languages/trustindex-th.mo +0 -0
  67. languages/trustindex-tr_TR.mo +0 -0
  68. languages/trustindex-uk.mo +0 -0
  69. languages/trustindex-vi.mo +0 -0
  70. languages/trustindex-zh_CN.mo +0 -0
  71. languages/trustindex-zh_HK.mo +0 -0
  72. languages/trustindex-zh_TW.mo +0 -0
  73. readme.txt +3 -3
  74. tabs/troubleshooting.php +1 -1
  75. trustindex-plugin.class.php +35 -5
  76. uninstall.php +1 -1
  77. wp-reviews-plugin-for-google.php +2 -2
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 ADDED
Binary file
languages/trustindex-fa_IR.mo ADDED
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-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-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-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: 5.8
7
  Requires PHP: 5.2
8
- Stable tag: 7.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,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.4
18
 
19
  Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google Business reviews.
20
 
@@ -129,7 +129,7 @@ Why not display your other ratings, too? Check out our other free review plugins
129
  If your company does business globally, it’s in your interest to cater to various languages.
130
 
131
  Our Widgets for Google Reviews supports the following languages:
132
- Afrikaans, Albanian, Arabic, Azerbaijani, Bengali, Bosnian, Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Korean, Lithuanian, Macedonian, Malay, Norwegian, Polish, Portuguese, Romanian, Russian, Scottish Gaelic, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukranian, Vietnamese, Welsh
133
 
134
  == Support ==
135
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.8
7
  Requires PHP: 5.2
8
+ Stable tag: 7.5
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.5
18
 
19
  Embed Google reviews fast and easily into your WordPress site. Increase SEO, trust and sales using Google Business reviews.
20
 
129
  If your company does business globally, it’s in your interest to cater to various languages.
130
 
131
  Our Widgets for Google Reviews supports the following languages:
132
+ Afrikaans, Albanian, Arabic, Azerbaijani, Bengali, Bosnian, Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Korean, Lithuanian, Macedonian, Malay, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Scottish Gaelic, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukranian, Vietnamese, Welsh
133
 
134
  == Support ==
135
 
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.4");
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.5");
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: 1636535063 */
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.4", "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(
@@ -737,7 +737,8 @@ public static $widget_languages = [
737
  'az' => 'Azərbaycan dili',
738
  'bn' => 'বাংলা',
739
  'bs' => 'Bosanski',
740
- 'cy' => 'Cymraeg'
 
741
  ];
742
  public static $widget_dateformats = [ 'j. F, Y.', 'F j, Y.', 'Y.m.d.', 'Y-m-d', 'd/m/Y' ];
743
  private static $widget_rating_texts = array (
@@ -1101,6 +1102,14 @@ private static $widget_rating_texts = array (
1101
  3 => 'da',
1102
  4 => 'rhagorol',
1103
  ),
 
 
 
 
 
 
 
 
1104
  );
1105
  private static $widget_recommendation_texts = array (
1106
  'en' =>
@@ -1328,6 +1337,11 @@ private static $widget_recommendation_texts = array (
1328
  'negative' => 'NOT_RECOMMEND_ICON ddim yn argymell',
1329
  'positive' => 'RECOMMEND_ICON yn argymell',
1330
  ),
 
 
 
 
 
1331
  );
1332
  private static $widget_verified_texts = array (
1333
  'en' => 'Verified',
@@ -1375,6 +1389,7 @@ private static $widget_verified_texts = array (
1375
  'bn' => 'যাচাই',
1376
  'bs' => 'Provjereno',
1377
  'cy' => 'Wedi\'i ddilysu',
 
1378
  );
1379
  private static $widget_month_names = array (
1380
  'en' =>
@@ -2052,6 +2067,21 @@ private static $widget_month_names = array (
2052
  10 => 'Tachwedd',
2053
  11 => 'Rhagfyr',
2054
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2055
  );
2056
  private static $page_urls = array (
2057
  'facebook' => 'https://www.facebook.com/pg/%page_id%',
@@ -2331,7 +2361,7 @@ $content .= '<style type="text/css">'. $widget_css .'</style>';
2331
  }
2332
  else
2333
  {
2334
- if(in_array($free_css_class, $class_appends) && wp_script_is('trustindex-frontend-js-' . $this->shortname, 'queue'))
2335
  {
2336
  $content = str_replace(' class="ti-widget ', ' style="display: none" class="ti-widget ', $content);
2337
  }
@@ -2661,7 +2691,7 @@ $r = new stdClass();
2661
  $r->id = $i;
2662
  $r->user = self::___('Reviewer') .' '. ($i + 1);
2663
  $r->user_photo = 'https://cdn.trustindex.io/assets/default-avatar/noprofile-01.svg';
2664
- $r->text = '<p style="font-size:11px;font-style:italic;opacity:0.8;margin:0;margin-bottom:4px">'. self::___('Example review to demonstrate the widgets...') .'</p>'. $text;
2665
  $r->original_rating = rand(4, 5);
2666
  $r->rating = $r->original_rating;
2667
  $r->highlight = null;
1
  <?php
2
+ /* GENERATED: 1637440667 */
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.5", "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(
737
  'az' => 'Azərbaycan dili',
738
  'bn' => 'বাংলা',
739
  'bs' => 'Bosanski',
740
+ 'cy' => 'Cymraeg',
741
+ 'fa' => 'فارسی'
742
  ];
743
  public static $widget_dateformats = [ 'j. F, Y.', 'F j, Y.', 'Y.m.d.', 'Y-m-d', 'd/m/Y' ];
744
  private static $widget_rating_texts = array (
1102
  3 => 'da',
1103
  4 => 'rhagorol',
1104
  ),
1105
+ 'fa' =>
1106
+ array (
1107
+ 0 => 'فقیر',
1108
+ 1 => 'زیر میانگین',
1109
+ 2 => 'میانگین',
1110
+ 3 => 'خوب',
1111
+ 4 => 'عالی',
1112
+ ),
1113
  );
1114
  private static $widget_recommendation_texts = array (
1115
  'en' =>
1337
  'negative' => 'NOT_RECOMMEND_ICON ddim yn argymell',
1338
  'positive' => 'RECOMMEND_ICON yn argymell',
1339
  ),
1340
+ 'fa' =>
1341
+ array (
1342
+ 'negative' => 'NOT_RECOMMEND_ICON توصیه نمی کند',
1343
+ 'positive' => 'RECOMMEND_ICON توصیه می‌کند',
1344
+ ),
1345
  );
1346
  private static $widget_verified_texts = array (
1347
  'en' => 'Verified',
1389
  'bn' => 'যাচাই',
1390
  'bs' => 'Provjereno',
1391
  'cy' => 'Wedi\'i ddilysu',
1392
+ 'fa' => 'تأیید شده',
1393
  );
1394
  private static $widget_month_names = array (
1395
  'en' =>
2067
  10 => 'Tachwedd',
2068
  11 => 'Rhagfyr',
2069
  ),
2070
+ 'fa' =>
2071
+ array (
2072
+ 0 => 'ژانویه',
2073
+ 1 => 'فوریه',
2074
+ 2 => 'مارس',
2075
+ 3 => 'آوریل',
2076
+ 4 => 'ممکن است',
2077
+ 5 => 'ژوئن',
2078
+ 6 => 'جولای',
2079
+ 7 => 'اوت',
2080
+ 8 => 'سپتامبر',
2081
+ 9 => 'اکتبر',
2082
+ 10 => 'نوامبر',
2083
+ 11 => 'دسامبر',
2084
+ ),
2085
  );
2086
  private static $page_urls = array (
2087
  'facebook' => 'https://www.facebook.com/pg/%page_id%',
2361
  }
2362
  else
2363
  {
2364
+ if(in_array($free_css_class, $class_appends) && wp_script_is('trustindex-frontend-js-' . $this->shortname, 'enqueued'))
2365
  {
2366
  $content = str_replace(' class="ti-widget ', ' style="display: none" class="ti-widget ', $content);
2367
  }
2691
  $r->id = $i;
2692
  $r->user = self::___('Reviewer') .' '. ($i + 1);
2693
  $r->user_photo = 'https://cdn.trustindex.io/assets/default-avatar/noprofile-01.svg';
2694
+ $r->text = $text;
2695
  $r->original_rating = rand(4, 5);
2696
  $r->rating = $r->original_rating;
2697
  $r->highlight = null;
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.4", "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.5", "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.4
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.4", "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'));
9
  Author URI: https://www.trustindex.io/
10
  Contributors: trustindex
11
  License: GPLv2 or later
12
+ Version: 7.5
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.5", "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'));