Site Reviews - Version 5.0.2

Version Description

(2020-10-23) =

  • Fixed the terms toggle (Sorry about that! It was caused by a last-minute adjustment of the conditional checkboxes in the settings)
Download this release

Release Info

Developer geminilabs
Plugin Icon 128x128 Site Reviews
Version 5.0.2
Comparing to
See all releases

Code changes from version 5.0.1 to 5.0.2

Files changed (115) hide show
  1. activate.php +1 -1
  2. autoload.php +1 -1
  3. compatibility.php +1 -1
  4. deprecated.php +1 -1
  5. helpers.php +1 -1
  6. plugin/Modules/Html/Field.php +2 -2
  7. plugin/Modules/System.php +1 -1
  8. readme.txt +5 -1
  9. site-reviews.php +2 -2
  10. templates/email-notification.php +1 -1
  11. templates/form/field-errors.php +1 -1
  12. templates/form/field.php +1 -1
  13. templates/form/response.php +1 -1
  14. templates/form/submit-button.php +1 -1
  15. templates/form/type-checkbox.php +1 -1
  16. templates/form/type-radio.php +1 -1
  17. templates/form/type-toggle.php +1 -1
  18. templates/login-register.php +1 -1
  19. templates/pagination.php +1 -1
  20. templates/review.php +1 -1
  21. templates/reviews-form.php +1 -1
  22. templates/reviews-summary.php +1 -1
  23. templates/reviews.php +1 -1
  24. views/pages/addons/index.php +1 -1
  25. views/pages/documentation/addons.php +1 -1
  26. views/pages/documentation/faq.php +1 -1
  27. views/pages/documentation/functions.php +1 -1
  28. views/pages/documentation/hooks.php +1 -1
  29. views/pages/documentation/index.php +1 -1
  30. views/pages/documentation/shortcodes.php +1 -1
  31. views/pages/documentation/support.php +1 -1
  32. views/pages/settings/addons.php +1 -1
  33. views/pages/settings/general.php +1 -1
  34. views/pages/settings/index.php +1 -1
  35. views/pages/settings/licenses.php +1 -1
  36. views/pages/settings/reviews.php +1 -1
  37. views/pages/settings/schema.php +1 -1
  38. views/pages/settings/submissions.php +1 -1
  39. views/pages/settings/translations.php +1 -1
  40. views/pages/tools/console.php +1 -1
  41. views/pages/tools/general.php +1 -1
  42. views/pages/tools/index.php +1 -1
  43. views/pages/tools/sync.php +1 -1
  44. views/pages/tools/system-info.php +1 -1
  45. views/pages/welcome/getting-started.php +1 -1
  46. views/pages/welcome/index.php +1 -1
  47. views/pages/welcome/support.php +1 -1
  48. views/pages/welcome/upgrade-guide.php +1 -1
  49. views/pages/welcome/whatsnew.php +1 -1
  50. views/partials/addons/addon.php +1 -1
  51. views/partials/addons/license-missing.php +1 -1
  52. views/partials/editor/assigned-entry.php +1 -1
  53. views/partials/editor/bulk-edit-assigned-posts.php +1 -1
  54. views/partials/editor/bulk-edit-assigned-users.php +1 -1
  55. views/partials/editor/metabox-assigned-posts.php +1 -1
  56. views/partials/editor/metabox-assigned-users.php +1 -1
  57. views/partials/editor/metabox-categories.php +1 -1
  58. views/partials/editor/metabox-details.php +1 -1
  59. views/partials/editor/metabox-field.php +1 -1
  60. views/partials/editor/metabox-response.php +1 -1
  61. views/partials/editor/notice.php +1 -1
  62. views/partials/editor/pinned.php +1 -1
  63. views/partials/editor/review.php +1 -1
  64. views/partials/editor/search-result.php +2 -1
  65. views/partials/editor/tinymce.php +1 -1
  66. views/partials/email/body.php +1 -1
  67. views/partials/email/footer.php +1 -1
  68. views/partials/email/header.php +1 -1
  69. views/partials/email/index.php +1 -1
  70. views/partials/form/table-row-multiple.php +1 -1
  71. views/partials/form/table-row.php +1 -1
  72. views/partials/privacy-policy.php +1 -1
  73. views/partials/styles/bootstrap_4/type-checkbox.php +1 -1
  74. views/partials/styles/bootstrap_4/type-radio.php +1 -1
  75. views/partials/styles/bootstrap_4_custom/type-checkbox.php +1 -1
  76. views/partials/styles/bootstrap_4_custom/type-radio.php +1 -1
  77. views/partials/styles/bootstrap_4_custom/type-toggle.php +1 -1
  78. views/partials/styles/contact_form_7/field-errors.php +1 -1
  79. views/partials/styles/contact_form_7/field.php +1 -1
  80. views/partials/styles/contact_form_7/field_checkbox.php +1 -1
  81. views/partials/styles/contact_form_7/field_radio.php +1 -1
  82. views/partials/styles/contact_form_7/field_toggle.php +1 -1
  83. views/partials/styles/contact_form_7/reviews-form.php +1 -1
  84. views/partials/styles/contact_form_7/submit-button.php +1 -1
  85. views/partials/styles/contact_form_7/type-checkbox.php +1 -1
  86. views/partials/styles/contact_form_7/type-radio.php +1 -1
  87. views/partials/styles/divi/field-errors.php +1 -1
  88. views/partials/styles/divi/field.php +1 -1
  89. views/partials/styles/divi/field_checkbox.php +1 -1
  90. views/partials/styles/divi/field_radio.php +1 -1
  91. views/partials/styles/divi/field_select.php +1 -1
  92. views/partials/styles/divi/field_toggle.php +1 -1
  93. views/partials/styles/divi/response.php +1 -1
  94. views/partials/styles/divi/reviews-form.php +1 -1
  95. views/partials/styles/divi/submit-button.php +1 -1
  96. views/partials/styles/divi/type-checkbox.php +1 -1
  97. views/partials/styles/divi/type-radio.php +1 -1
  98. views/partials/styles/divi/type-toggle.php +1 -1
  99. views/partials/styles/ninja_forms/field.php +1 -1
  100. views/partials/styles/ninja_forms/field_checkbox.php +1 -1
  101. views/partials/styles/ninja_forms/field_radio.php +1 -1
  102. views/partials/styles/ninja_forms/field_select.php +1 -1
  103. views/partials/styles/ninja_forms/response.php +1 -1
  104. views/partials/styles/ninja_forms/reviews-form.php +1 -1
  105. views/partials/styles/ninja_forms/submit-button.php +1 -1
  106. views/partials/styles/ninja_forms/type-checkbox.php +1 -1
  107. views/partials/styles/ninja_forms/type-radio.php +1 -1
  108. views/partials/styles/wpforms/field-errors.php +1 -1
  109. views/partials/styles/wpforms/field_checkbox.php +1 -1
  110. views/partials/styles/wpforms/field_radio.php +1 -1
  111. views/partials/styles/wpforms/response.php +1 -1
  112. views/partials/styles/wpforms/reviews-form.php +1 -1
  113. views/partials/styles/wpforms/submit-button.php +1 -1
  114. views/partials/styles/wpforms/type-checkbox.php +1 -1
  115. views/partials/styles/wpforms/type-radio.php +1 -1
activate.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- defined('WPINC') || die;
4
 
5
  /**
6
  * Check for minimum system requirments on plugin activation.
1
  <?php
2
 
3
+ defined('ABSPATH') || die;
4
 
5
  /**
6
  * Check for minimum system requirments on plugin activation.
autoload.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- defined('WPINC') || die;
4
 
5
  if (!function_exists('wp_hash')) {
6
  require_once ABSPATH.WPINC.'/pluggable.php';
1
  <?php
2
 
3
+ defined('ABSPATH') || die;
4
 
5
  if (!function_exists('wp_hash')) {
6
  require_once ABSPATH.WPINC.'/pluggable.php';
compatibility.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- defined('WPINC') || die;
4
 
5
  /**
6
  * Add human-readable capability names
1
  <?php
2
 
3
+ defined('ABSPATH') || die;
4
 
5
  /**
6
  * Add human-readable capability names
deprecated.php CHANGED
@@ -4,7 +4,7 @@ use GeminiLabs\SiteReviews\Defaults\CreateReviewDefaults;
4
  use GeminiLabs\SiteReviews\Helpers\Str;
5
  use GeminiLabs\SiteReviews\Modules\Backtrace;
6
 
7
- defined('WPINC') || die;
8
 
9
  add_action('plugins_loaded', function () {
10
  if (!glsr()->filterBool('support/deprecated/v5', true)) {
4
  use GeminiLabs\SiteReviews\Helpers\Str;
5
  use GeminiLabs\SiteReviews\Modules\Backtrace;
6
 
7
+ defined('ABSPATH') || die;
8
 
9
  add_action('plugins_loaded', function () {
10
  if (!glsr()->filterBool('support/deprecated/v5', true)) {
helpers.php CHANGED
@@ -17,7 +17,7 @@ use GeminiLabs\SiteReviews\Modules\Html\Partial;
17
  use GeminiLabs\SiteReviews\Modules\Rating;
18
  use GeminiLabs\SiteReviews\Request;
19
 
20
- defined('WPINC') || die;
21
 
22
  /*
23
  * Alternate method of using the functions without having to use `function_exists()`
17
  use GeminiLabs\SiteReviews\Modules\Rating;
18
  use GeminiLabs\SiteReviews\Request;
19
 
20
+ defined('ABSPATH') || die;
21
 
22
  /*
23
  * Alternate method of using the functions without having to use `function_exists()`
plugin/Modules/Html/Field.php CHANGED
@@ -293,10 +293,10 @@ class Field
293
  if ($this->isFieldValid()) {
294
  $this->field['path'] = $this->field['name'];
295
  $this->field['raw_type'] = $this->field['type']; // save the original type before it's normalized
 
296
  $this->normalizeFieldArgs();
297
  $this->normalizeFieldId();
298
  $this->normalizeFieldName();
299
- $this->field = glsr(FieldDefaults::class)->merge($this->field);
300
  $this->field = glsr()->filterArray('field/'.$this->field['raw_type'], $this->field);
301
  }
302
  }
@@ -306,7 +306,7 @@ class Field
306
  */
307
  protected function normalizeFieldId()
308
  {
309
- if (isset($this->field['id']) || $this->field['is_raw']) {
310
  return;
311
  }
312
  $this->field['id'] = Str::convertPathToId(
293
  if ($this->isFieldValid()) {
294
  $this->field['path'] = $this->field['name'];
295
  $this->field['raw_type'] = $this->field['type']; // save the original type before it's normalized
296
+ $this->field = glsr(FieldDefaults::class)->merge($this->field);
297
  $this->normalizeFieldArgs();
298
  $this->normalizeFieldId();
299
  $this->normalizeFieldName();
 
300
  $this->field = glsr()->filterArray('field/'.$this->field['raw_type'], $this->field);
301
  }
302
  }
306
  */
307
  protected function normalizeFieldId()
308
  {
309
+ if (!empty($this->field['id']) || $this->field['is_raw']) {
310
  return;
311
  }
312
  $this->field['id'] = Str::convertPathToId(
plugin/Modules/System.php CHANGED
@@ -234,7 +234,7 @@ class System
234
  global $wpdb;
235
  $theme = wp_get_theme();
236
  return [
237
- 'Active Theme' => sprintf('%s v%s', (string) $theme->Name, (string) $theme->Version),
238
  'Email Domain' => substr(strrchr(glsr(OptionManager::class)->getWP('admin_email'), '@'), 1),
239
  'Home URL' => home_url(),
240
  'Language' => get_locale(),
234
  global $wpdb;
235
  $theme = wp_get_theme();
236
  return [
237
+ 'Active Theme' => sprintf('%s v%s', (string) $theme->name, (string) $theme->version),
238
  'Email Domain' => substr(strrchr(glsr(OptionManager::class)->getWP('admin_email'), '@'), 1),
239
  'Home URL' => home_url(),
240
  'Language' => get_locale(),
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: reviews, ratings, testimonials, business reviews, product reviews, stars,
5
  Tested up to: 5.5
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 5.0.1
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -113,6 +113,10 @@ All documentation can be found in the "Help" page of the plugin. If your questio
113
 
114
  == Changelog ==
115
 
 
 
 
 
116
  = 5.0.1 (2020-10-23) =
117
 
118
  - Added back the deprecated "count" option on the [site_reviews] shortcode so that it will still work for people who have not yet replaced it with the "display" option.
5
  Tested up to: 5.5
6
  Requires at least: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 5.0.2
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
113
 
114
  == Changelog ==
115
 
116
+ = 5.0.2 (2020-10-23) =
117
+
118
+ - Fixed the terms toggle (Sorry about that! It was caused by a last-minute adjustment of the conditional checkboxes in the settings)
119
+
120
  = 5.0.1 (2020-10-23) =
121
 
122
  - Added back the deprecated "count" option on the [site_reviews] shortcode so that it will still work for people who have not yet replaced it with the "display" option.
site-reviews.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin Name: Site Reviews
8
  * Plugin URI: https://wordpress.org/plugins/site-reviews
9
  * Description: Receive and display reviews on your website
10
- * Version: 5.0.1
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2
@@ -17,7 +17,7 @@
17
  * Text Domain: site-reviews
18
  * Domain Path: languages
19
  */
20
- defined('WPINC') || die;
21
 
22
  if (!class_exists('GL_Plugin_Check_v5')) {
23
  require_once __DIR__.'/activate.php';
7
  * Plugin Name: Site Reviews
8
  * Plugin URI: https://wordpress.org/plugins/site-reviews
9
  * Description: Receive and display reviews on your website
10
+ * Version: 5.0.2
11
  * Author: Paul Ryley
12
  * Author URI: https://geminilabs.io
13
  * License: GPL2
17
  * Text Domain: site-reviews
18
  * Domain Path: languages
19
  */
20
+ defined('ABSPATH') || die;
21
 
22
  if (!class_exists('GL_Plugin_Check_v5')) {
23
  require_once __DIR__.'/activate.php';
templates/email-notification.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <strong>A new {review_rating}-star review has been submitted:</strong>
4
 
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <strong>A new {review_rating}-star review has been submitted:</strong>
4
 
templates/form/field-errors.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ errors }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ errors }}
templates/form/field.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ label }}
templates/form/response.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ message }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ message }}
templates/form/submit-button.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div>
4
  <button type="submit" class="glsr-button button btn btn-primary">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div>
4
  <button type="submit" class="glsr-button button btn btn-primary">
templates/form/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">
templates/form/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">
templates/form/type-toggle.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">{{ text }}</label>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">{{ text }}</label>
templates/login-register.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-login-register">
4
  <p>{{ text }}</p>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-login-register">
4
  <p>{{ text }}</p>
templates/pagination.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="pagination">
4
  <nav class="navigation" role="navigation">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="pagination">
4
  <nav class="navigation" role="navigation">
templates/review.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-review" id="{{ review_id }}">
4
  {{ title }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-review" id="{{ review_id }}">
4
  {{ title }}
templates/reviews-form.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-form-wrap">
4
  <form class="{{ class }}" method="post" enctype="multipart/form-data">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-form-wrap">
4
  <form class="{{ class }}" method="post" enctype="multipart/form-data">
templates/reviews-summary.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-summary-wrap">
4
  <div class="{{ class }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-summary-wrap">
4
  <div class="{{ class }}">
templates/reviews.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-reviews-wrap">
4
  <div class="{{ class }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-reviews-wrap">
4
  <div class="{{ class }}">
views/pages/addons/index.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline"><?= esc_html(get_admin_page_title()); ?></h1>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline"><?= esc_html(get_admin_page_title()); ?></h1>
views/pages/documentation/addons.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <?php foreach ($addons as $title => $section) : ?>
4
  <div class="glsr-card postbox">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <?php foreach ($addons as $title => $section) : ?>
4
  <div class="glsr-card postbox">
views/pages/documentation/faq.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'faq/add-schema-values.php',
1
+ <?php defined('ABSPATH') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'faq/add-schema-values.php',
views/pages/documentation/functions.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'functions/readme.php',
1
+ <?php defined('ABSPATH') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'functions/readme.php',
views/pages/documentation/hooks.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'hooks/readme.php',
1
+ <?php defined('ABSPATH') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'hooks/readme.php',
views/pages/documentation/index.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline">
views/pages/documentation/shortcodes.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'shortcodes/site_reviews.php',
1
+ <?php defined('ABSPATH') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'shortcodes/site_reviews.php',
views/pages/documentation/support.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'support/basic-troubleshooting.php',
1
+ <?php defined('ABSPATH') || die;
2
 
3
  $sections = [
4
  trailingslashit(__DIR__).'support/basic-troubleshooting.php',
views/pages/settings/addons.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <?php foreach ($settings as $key => $rows) : ?>
4
  <div class="glsr-nav-view-section" id="<?= $key; ?>" style="margin-top:40px;">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <?php foreach ($settings as $key => $rows) : ?>
4
  <div class="glsr-nav-view-section" id="<?= $key; ?>" style="margin-top:40px;">
views/pages/settings/general.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
views/pages/settings/index.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline"><?= esc_html(get_admin_page_title()); ?></h1>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline"><?= esc_html(get_admin_page_title()); ?></h1>
views/pages/settings/licenses.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
views/pages/settings/reviews.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
views/pages/settings/schema.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p><?= _x('The JSON-LD schema is disabled by default. To use it, please enable the option in your blocks or shortcodes. The schema appears in Google\'s search results and shows the star rating and other information about your reviews. If the schema has been enabled, you can use Google\'s <a href="https://search.google.com/test/rich-results">Rich Results</a> tool to test your pages for valid schema data.', 'admin-text', 'site-reviews'); ?></p>
4
  <p><?= _x('You may override any of these options on a per-post/page basis by using its Custom Field name and adding a custom value using the <a href="https://codex.wordpress.org/Using_Custom_Fields#Usage">Custom Fields</a> metabox.', 'admin-text', 'site-reviews'); ?></p>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p><?= _x('The JSON-LD schema is disabled by default. To use it, please enable the option in your blocks or shortcodes. The schema appears in Google\'s search results and shows the star rating and other information about your reviews. If the schema has been enabled, you can use Google\'s <a href="https://search.google.com/test/rich-results">Rich Results</a> tool to test your pages for valid schema data.', 'admin-text', 'site-reviews'); ?></p>
4
  <p><?= _x('You may override any of these options on a per-post/page basis by using its Custom Field name and adding a custom value using the <a href="https://codex.wordpress.org/Using_Custom_Fields#Usage">Custom Fields</a> metabox.', 'admin-text', 'site-reviews'); ?></p>
views/pages/settings/submissions.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <table class="form-table">
4
  <tbody>
views/pages/settings/translations.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p><?= sprintf(_x('Here you can customise any text of the plugin, including the review form labels and placeholders. However, if you have a multilingual website you should use the %s plugin instead.', 'admin-text', 'site-reviews'), '<a href="https://wordpress.org/plugins/loco-translate/">Loco Translate</a>'); ?></p>
4
 
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p><?= sprintf(_x('Here you can customise any text of the plugin, including the review form labels and placeholders. However, if you have a multilingual website you should use the %s plugin instead.', 'admin-text', 'site-reviews'), '<a href="https://wordpress.org/plugins/loco-translate/">Loco Translate</a>'); ?></p>
4
 
views/pages/tools/console.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <textarea id="log-file" class="large-text code glsr-code glsr-code-large" rows="20" readonly>{{ console }}</textarea>
4
  <form method="post" class="glsr-float-left">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <textarea id="log-file" class="large-text code glsr-code glsr-code-large" rows="20" readonly>{{ console }}</textarea>
4
  <form method="post" class="glsr-float-left">
views/pages/tools/general.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <?php if (glsr()->hasPermission('settings')) : ?>
4
 
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <?php if (glsr()->hasPermission('settings')) : ?>
4
 
views/pages/tools/index.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline"><?= esc_html(get_admin_page_title()); ?></h1>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wrap">
4
  <h1 class="wp-heading-inline"><?= esc_html(get_admin_page_title()); ?></h1>
views/pages/tools/sync.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <form method="post" class="glsr-form-sync glsr-status">
4
  <?php $selected = key($services); ?>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <form method="post" class="glsr-form-sync glsr-status">
4
  <?php $selected = key($services); ?>
views/pages/tools/system-info.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <form method="post">
4
  <textarea class="large-text code glsr-code glsr-code-large" name="{{ id }}[system-info]" rows="20" onclick="this.select()" readonly>{{ system }}</textarea>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <form method="post">
4
  <textarea class="large-text code glsr-code glsr-code-large" name="{{ id }}[system-info]" rows="20" onclick="this.select()" readonly>{{ system }}</textarea>
views/pages/welcome/getting-started.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="is-fullwidth">
4
  <div class="glsr-welcome-banner">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="is-fullwidth">
4
  <div class="glsr-welcome-banner">
views/pages/welcome/index.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-welcome wrap about-wrap about-wrap-content">
4
  <h1>Welcome to <?= glsr()->name; ?></h1>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-welcome wrap about-wrap about-wrap-content">
4
  <h1>Welcome to <?= glsr()->name; ?></h1>
views/pages/welcome/support.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="about-description">
4
  Still need help with <?= glsr()->name; ?>? We offer excellent support, but don't forget to check our <a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes'); ?>">documentation</a> first.
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="about-description">
4
  Still need help with <?= glsr()->name; ?>? We offer excellent support, but don't forget to check our <a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes'); ?>">documentation</a> first.
views/pages/welcome/upgrade-guide.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="about-description">Please take some time to read this upgrade guide.</p>
4
  <div class="is-fullwidth">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="about-description">Please take some time to read this upgrade guide.</p>
4
  <div class="is-fullwidth">
views/pages/welcome/whatsnew.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="about-description">We hope you love the changes in this new release!</p>
4
  <div class="is-fullwidth">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="about-description">We hope you love the changes in this new release!</p>
4
  <div class="is-fullwidth">
views/partials/addons/addon.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-addon">
4
  <a href="{{ link }}" class="glsr-addon-screenshot" data-slug="{{ slug }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-addon">
4
  <a href="{{ link }}" class="glsr-addon-screenshot" data-slug="{{ slug }}">
views/partials/addons/license-missing.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <strong><a href="<?= esc_url(admin_url('edit.php?post_type='.glsr()->post_type.'&page=settings#tab-licenses')); ?>">
4
  <?= _x('Enter a valid license key for automatic updates.', 'admin-text', 'site-reviews'); ?>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <strong><a href="<?= esc_url(admin_url('edit.php?post_type='.glsr()->post_type.'&page=settings#tab-licenses')); ?>">
4
  <?= _x('Enter a valid license key for automatic updates.', 'admin-text', 'site-reviews'); ?>
views/partials/editor/assigned-entry.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="glsr-assigned-entry">
4
  <input type="hidden" name="{{ data.name }}" value="{{ data.id }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="glsr-assigned-entry">
4
  <input type="hidden" name="{{ data.name }}" value="{{ data.id }}">
views/partials/editor/bulk-edit-assigned-posts.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <fieldset class="inline-edit-col-right">
4
  <div class="inline-edit-col">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <fieldset class="inline-edit-col-right">
4
  <div class="inline-edit-col">
views/partials/editor/bulk-edit-assigned-users.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <fieldset class="inline-edit-col-right">
4
  <div class="inline-edit-col">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <fieldset class="inline-edit-col-right">
4
  <div class="inline-edit-col">
views/partials/editor/metabox-assigned-posts.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-search-box" id="glsr-search-posts">
4
  <span class="glsr-spinner"><span class="spinner"></span></span>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-search-box" id="glsr-search-posts">
4
  <span class="glsr-spinner"><span class="spinner"></span></span>
views/partials/editor/metabox-assigned-users.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-search-box" id="glsr-search-users">
4
  <span class="glsr-spinner"><span class="spinner"></span></span>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-search-box" id="glsr-search-users">
4
  <span class="glsr-spinner"><span class="spinner"></span></span>
views/partials/editor/metabox-categories.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div id="taxonomy-<?= $tax_name; ?>" class="categorydiv">
4
 
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div id="taxonomy-<?= $tax_name; ?>" class="categorydiv">
4
 
views/partials/editor/metabox-details.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-metabox-field">
4
  <div class="glsr-label"><label>Edit Details</label></div>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-metabox-field">
4
  <div class="glsr-label"><label>Edit Details</label></div>
views/partials/editor/metabox-field.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-metabox-field {{ class }}">
4
  <div class="glsr-label">{{ label }}</div>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-metabox-field {{ class }}">
4
  <div class="glsr-label">{{ label }}</div>
views/partials/editor/metabox-response.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <label class="screen-reader-text" for="response"><?= _x('Respond Publicly', 'admin-text', 'site-reviews'); ?></label>
4
  <textarea class="glsr-response" name="response" id="response" rows="1" cols="40"><?= $response; ?></textarea>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <label class="screen-reader-text" for="response"><?= _x('Respond Publicly', 'admin-text', 'site-reviews'); ?></label>
4
  <textarea class="glsr-response" name="response" id="response" rows="1" cols="40"><?= $response; ?></textarea>
views/partials/editor/notice.php CHANGED
@@ -1,3 +1,3 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  {{ notices }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  {{ notices }}
views/partials/editor/pinned.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div id="misc-pub-pinned" class="misc-pub-section misc-pub-pinned">
4
  <label for="pinned-status"><?= _x('Pinned', 'admin-text', 'site-reviews'); ?>:</label>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div id="misc-pub-pinned" class="misc-pub-section misc-pub-pinned">
4
  <label for="pinned-status"><?= _x('Pinned', 'admin-text', 'site-reviews'); ?>:</label>
views/partials/editor/review.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div id="titlediv">
4
  <input type="text" id="title" value="<?= $post->post_title ? esc_attr($post->post_title) : sprintf('(%s)', esc_attr_x('no title', 'admin-text', 'site-reviews')); ?>" readonly>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div id="titlediv">
4
  <input type="text" id="title" value="<?= $post->post_title ? esc_attr($post->post_title) : sprintf('(%s)', esc_attr_x('no title', 'admin-text', 'site-reviews')); ?>" readonly>
views/partials/editor/search-result.php CHANGED
@@ -1,2 +1,3 @@
1
- <?php defined('WPINC') || die; ?>
 
2
  <span tabindex="0" data-id="<?= $ID; ?>" data-url="<?= $permalink; ?>"><?= $title; ?></span>
1
+ <?php defined('ABSPATH') || die; ?>
2
+
3
  <span tabindex="0" data-id="<?= $ID; ?>" data-url="<?= $permalink; ?>"><?= $title; ?></span>
views/partials/editor/tinymce.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-mce">
4
  <button class="button glsr-mce-button">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-mce">
4
  <button class="button glsr-mce-button">
views/partials/email/body.php CHANGED
@@ -1,3 +1,3 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  {{ message }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  {{ message }}
views/partials/email/footer.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  </body>
4
  </html>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  </body>
4
  </html>
views/partials/email/header.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <!doctype html>
4
  <html>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <!doctype html>
4
  <html>
views/partials/email/index.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die;
2
 
3
  include trailingslashit(__DIR__).'header.php';
4
  include trailingslashit(__DIR__).'body.php';
1
+ <?php defined('ABSPATH') || die;
2
 
3
  include trailingslashit(__DIR__).'header.php';
4
  include trailingslashit(__DIR__).'body.php';
views/partials/form/table-row-multiple.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <tr class="glsr-setting-field {{ class }}">
4
  <th scope="row">{{ label }}</th>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <tr class="glsr-setting-field {{ class }}">
4
  <th scope="row">{{ label }}</th>
views/partials/form/table-row.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <tr class="glsr-setting-field {{ class }}">
4
  <th scope="row">{{ label }}</th>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <tr class="glsr-setting-field {{ class }}">
4
  <th scope="row">{{ label }}</th>
views/partials/privacy-policy.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <strong class="privacy-policy-tutorial">Suggested Text:</strong> When visitors leave reviews on the site, we collect the data shown in the review form and also the visitor’s IP address to help spam detection. The review may be checked through Akismet, an automated spam detection service. The Akismet service privacy policy is available here: <a href="https://akismet.com/privacy/">https://akismet.com/privacy/</a>.
4
 
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <strong class="privacy-policy-tutorial">Suggested Text:</strong> When visitors leave reviews on the site, we collect the data shown in the review form and also the visitor’s IP address to help spam detection. The review may be checked through Akismet, an automated spam detection service. The Akismet service privacy policy is available here: <a href="https://akismet.com/privacy/">https://akismet.com/privacy/</a>.
4
 
views/partials/styles/bootstrap_4/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="form-check {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="form-check {{ class }}">
4
  {{ input }}
views/partials/styles/bootstrap_4/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="form-check {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="form-check {{ class }}">
4
  {{ input }}
views/partials/styles/bootstrap_4_custom/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="custom-control custom-checkbox {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="custom-control custom-checkbox {{ class }}">
4
  {{ input }}
views/partials/styles/bootstrap_4_custom/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="custom-control custom-radio {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="custom-control custom-radio {{ class }}">
4
  {{ input }}
views/partials/styles/bootstrap_4_custom/type-toggle.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="custom-control custom-switch {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="custom-control custom-switch {{ class }}">
4
  {{ input }}
views/partials/styles/contact_form_7/field-errors.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  {{ errors }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  {{ errors }}
views/partials/styles/contact_form_7/field.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <label for="{{ for }}">{{ label_text }}<br>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <label for="{{ for }}">{{ label_text }}<br>
views/partials/styles/contact_form_7/field_checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
views/partials/styles/contact_form_7/field_radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
views/partials/styles/contact_form_7/field_toggle.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
views/partials/styles/contact_form_7/reviews-form.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wpcf7">
4
  <div class="glsr-form-wrap">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wpcf7">
4
  <div class="glsr-form-wrap">
views/partials/styles/contact_form_7/submit-button.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p>
4
  <button type="submit" class="glsr-button wpcf7-form-control wpcf7-submit button">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p>
4
  <button type="submit" class="glsr-button wpcf7-form-control wpcf7-submit button">
views/partials/styles/contact_form_7/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="wpcf7-form-control-wrap">
4
  <span class="wpcf7-form-control wpcf7-checkbox {{ class }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="wpcf7-form-control-wrap">
4
  <span class="wpcf7-form-control wpcf7-checkbox {{ class }}">
views/partials/styles/contact_form_7/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="wpcf7-form-control-wrap">
4
  <span class="wpcf7-form-control wpcf7-radio {{ class }}">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="wpcf7-form-control-wrap">
4
  <span class="wpcf7-form-control wpcf7-radio {{ class }}">
views/partials/styles/divi/field-errors.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  {{ errors }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  {{ errors }}
views/partials/styles/divi/field.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ label }}
views/partials/styles/divi/field_checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <span class="et_pb_contact_field_options_wrapper">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <span class="et_pb_contact_field_options_wrapper">
views/partials/styles/divi/field_radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <span class="et_pb_contact_field_options_wrapper">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <span class="et_pb_contact_field_options_wrapper">
views/partials/styles/divi/field_select.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}" data-type="select">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}" data-type="select">
4
  {{ label }}
views/partials/styles/divi/field_toggle.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <span class="et_pb_contact_field_options_wrapper">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  <span class="et_pb_contact_field_options_wrapper">
views/partials/styles/divi/response.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ message }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <p class="{{ class }}">
4
  {{ message }}
views/partials/styles/divi/reviews-form.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-form-wrap et_pb_contact">
4
  <form class="{{ class }}" id="{{ id }}" method="post" enctype="multipart/form-data">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-form-wrap et_pb_contact">
4
  <form class="{{ class }}" id="{{ id }}" method="post" enctype="multipart/form-data">
views/partials/styles/divi/submit-button.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="et_contact_bottom_container">
4
  <button type="submit" class="glsr-button et_pb_contact_submit et_pb_button">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="et_contact_bottom_container">
4
  <button type="submit" class="glsr-button et_pb_contact_submit et_pb_button">
views/partials/styles/divi/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="et_pb_contact_field_checkbox {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="et_pb_contact_field_checkbox {{ class }}">
4
  {{ input }}
views/partials/styles/divi/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="et_pb_contact_field_radio {{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="et_pb_contact_field_radio {{ class }}">
4
  {{ input }}
views/partials/styles/divi/type-toggle.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">{{ text }}</label>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <span class="{{ class }}">
4
  <label for="{{ id }}">{{ text }}</label>
views/partials/styles/ninja_forms/field.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="nf-field-container label-above">
4
  <div class="nf-field">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="nf-field-container label-above">
4
  <div class="nf-field">
views/partials/styles/ninja_forms/field_checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="nf-field-container listcheckbox-container label-above list-container">
4
  <div class="nf-field">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="nf-field-container listcheckbox-container label-above list-container">
4
  <div class="nf-field">
views/partials/styles/ninja_forms/field_radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="nf-field-container listradio-container label-above list-container">
4
  <div class="nf-field">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="nf-field-container listradio-container label-above list-container">
4
  <div class="nf-field">
views/partials/styles/ninja_forms/field_select.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="nf-field-container label-above list-container listselect-container {{ class }}">
4
  <div class="nf-field">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="nf-field-container label-above list-container listselect-container {{ class }}">
4
  <div class="nf-field">
views/partials/styles/ninja_forms/response.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ message }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  {{ message }}
views/partials/styles/ninja_forms/reviews-form.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-form-wrap nf-form-wrap ninja-forms-form-wrap">
4
  <div class="nf-form-layout">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-form-wrap nf-form-wrap ninja-forms-form-wrap">
4
  <div class="nf-form-layout">
views/partials/styles/ninja_forms/submit-button.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <button type="submit" class="glsr-button button">
4
  <span class="glsr-button-loading"></span>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <button type="submit" class="glsr-button button">
4
  <span class="glsr-button-loading"></span>
views/partials/styles/ninja_forms/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
views/partials/styles/ninja_forms/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
views/partials/styles/wpforms/field-errors.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <label class="{{ class }}">
4
  {{ errors }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <label class="{{ class }}">
4
  {{ errors }}
views/partials/styles/wpforms/field_checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wpforms-field-checkbox {{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wpforms-field-checkbox {{ class }}">
4
  {{ label }}
views/partials/styles/wpforms/field_radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="wpforms-field-radio {{ class }}">
4
  {{ label }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="wpforms-field-radio {{ class }}">
4
  {{ label }}
views/partials/styles/wpforms/response.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  <p>{{ message }}</p>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="{{ class }}">
4
  <p>{{ message }}</p>
views/partials/styles/wpforms/reviews-form.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <div class="glsr-form-wrap wpforms-container wpforms-container-full">
4
  <form class="{{ class }}" method="post" enctype="multipart/form-data">
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <div class="glsr-form-wrap wpforms-container wpforms-container-full">
4
  <form class="{{ class }}" method="post" enctype="multipart/form-data">
views/partials/styles/wpforms/submit-button.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <button type="submit" class="glsr-button wpforms-submit">
4
  <span class="glsr-button-loading"></span>
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <button type="submit" class="glsr-button wpforms-submit">
4
  <span class="glsr-button-loading"></span>
views/partials/styles/wpforms/type-checkbox.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
views/partials/styles/wpforms/type-radio.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php defined('WPINC') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}
1
+ <?php defined('ABSPATH') || die; ?>
2
 
3
  <li class="{{ class }}">
4
  {{ input }}