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 | Site Reviews |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.2
- activate.php +1 -1
- autoload.php +1 -1
- compatibility.php +1 -1
- deprecated.php +1 -1
- helpers.php +1 -1
- plugin/Modules/Html/Field.php +2 -2
- plugin/Modules/System.php +1 -1
- readme.txt +5 -1
- site-reviews.php +2 -2
- templates/email-notification.php +1 -1
- templates/form/field-errors.php +1 -1
- templates/form/field.php +1 -1
- templates/form/response.php +1 -1
- templates/form/submit-button.php +1 -1
- templates/form/type-checkbox.php +1 -1
- templates/form/type-radio.php +1 -1
- templates/form/type-toggle.php +1 -1
- templates/login-register.php +1 -1
- templates/pagination.php +1 -1
- templates/review.php +1 -1
- templates/reviews-form.php +1 -1
- templates/reviews-summary.php +1 -1
- templates/reviews.php +1 -1
- views/pages/addons/index.php +1 -1
- views/pages/documentation/addons.php +1 -1
- views/pages/documentation/faq.php +1 -1
- views/pages/documentation/functions.php +1 -1
- views/pages/documentation/hooks.php +1 -1
- views/pages/documentation/index.php +1 -1
- views/pages/documentation/shortcodes.php +1 -1
- views/pages/documentation/support.php +1 -1
- views/pages/settings/addons.php +1 -1
- views/pages/settings/general.php +1 -1
- views/pages/settings/index.php +1 -1
- views/pages/settings/licenses.php +1 -1
- views/pages/settings/reviews.php +1 -1
- views/pages/settings/schema.php +1 -1
- views/pages/settings/submissions.php +1 -1
- views/pages/settings/translations.php +1 -1
- views/pages/tools/console.php +1 -1
- views/pages/tools/general.php +1 -1
- views/pages/tools/index.php +1 -1
- views/pages/tools/sync.php +1 -1
- views/pages/tools/system-info.php +1 -1
- views/pages/welcome/getting-started.php +1 -1
- views/pages/welcome/index.php +1 -1
- views/pages/welcome/support.php +1 -1
- views/pages/welcome/upgrade-guide.php +1 -1
- views/pages/welcome/whatsnew.php +1 -1
- views/partials/addons/addon.php +1 -1
- views/partials/addons/license-missing.php +1 -1
- views/partials/editor/assigned-entry.php +1 -1
- views/partials/editor/bulk-edit-assigned-posts.php +1 -1
- views/partials/editor/bulk-edit-assigned-users.php +1 -1
- views/partials/editor/metabox-assigned-posts.php +1 -1
- views/partials/editor/metabox-assigned-users.php +1 -1
- views/partials/editor/metabox-categories.php +1 -1
- views/partials/editor/metabox-details.php +1 -1
- views/partials/editor/metabox-field.php +1 -1
- views/partials/editor/metabox-response.php +1 -1
- views/partials/editor/notice.php +1 -1
- views/partials/editor/pinned.php +1 -1
- views/partials/editor/review.php +1 -1
- views/partials/editor/search-result.php +2 -1
- views/partials/editor/tinymce.php +1 -1
- views/partials/email/body.php +1 -1
- views/partials/email/footer.php +1 -1
- views/partials/email/header.php +1 -1
- views/partials/email/index.php +1 -1
- views/partials/form/table-row-multiple.php +1 -1
- views/partials/form/table-row.php +1 -1
- views/partials/privacy-policy.php +1 -1
- views/partials/styles/bootstrap_4/type-checkbox.php +1 -1
- views/partials/styles/bootstrap_4/type-radio.php +1 -1
- views/partials/styles/bootstrap_4_custom/type-checkbox.php +1 -1
- views/partials/styles/bootstrap_4_custom/type-radio.php +1 -1
- views/partials/styles/bootstrap_4_custom/type-toggle.php +1 -1
- views/partials/styles/contact_form_7/field-errors.php +1 -1
- views/partials/styles/contact_form_7/field.php +1 -1
- views/partials/styles/contact_form_7/field_checkbox.php +1 -1
- views/partials/styles/contact_form_7/field_radio.php +1 -1
- views/partials/styles/contact_form_7/field_toggle.php +1 -1
- views/partials/styles/contact_form_7/reviews-form.php +1 -1
- views/partials/styles/contact_form_7/submit-button.php +1 -1
- views/partials/styles/contact_form_7/type-checkbox.php +1 -1
- views/partials/styles/contact_form_7/type-radio.php +1 -1
- views/partials/styles/divi/field-errors.php +1 -1
- views/partials/styles/divi/field.php +1 -1
- views/partials/styles/divi/field_checkbox.php +1 -1
- views/partials/styles/divi/field_radio.php +1 -1
- views/partials/styles/divi/field_select.php +1 -1
- views/partials/styles/divi/field_toggle.php +1 -1
- views/partials/styles/divi/response.php +1 -1
- views/partials/styles/divi/reviews-form.php +1 -1
- views/partials/styles/divi/submit-button.php +1 -1
- views/partials/styles/divi/type-checkbox.php +1 -1
- views/partials/styles/divi/type-radio.php +1 -1
- views/partials/styles/divi/type-toggle.php +1 -1
- views/partials/styles/ninja_forms/field.php +1 -1
- views/partials/styles/ninja_forms/field_checkbox.php +1 -1
- views/partials/styles/ninja_forms/field_radio.php +1 -1
- views/partials/styles/ninja_forms/field_select.php +1 -1
- views/partials/styles/ninja_forms/response.php +1 -1
- views/partials/styles/ninja_forms/reviews-form.php +1 -1
- views/partials/styles/ninja_forms/submit-button.php +1 -1
- views/partials/styles/ninja_forms/type-checkbox.php +1 -1
- views/partials/styles/ninja_forms/type-radio.php +1 -1
- views/partials/styles/wpforms/field-errors.php +1 -1
- views/partials/styles/wpforms/field_checkbox.php +1 -1
- views/partials/styles/wpforms/field_radio.php +1 -1
- views/partials/styles/wpforms/response.php +1 -1
- views/partials/styles/wpforms/reviews-form.php +1 -1
- views/partials/styles/wpforms/submit-button.php +1 -1
- views/partials/styles/wpforms/type-checkbox.php +1 -1
- views/partials/styles/wpforms/type-radio.php +1 -1
activate.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
defined('
|
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('
|
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('
|
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('
|
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('
|
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 (
|
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->
|
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.
|
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.
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
2 |
|
3 |
{{ notices }}
|
1 |
+
<?php defined('ABSPATH') || die; ?>
|
2 |
|
3 |
{{ notices }}
|
views/partials/editor/pinned.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php defined('
|
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('
|
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('
|
|
|
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('
|
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('
|
2 |
|
3 |
{{ message }}
|
1 |
+
<?php defined('ABSPATH') || die; ?>
|
2 |
|
3 |
{{ message }}
|
views/partials/email/footer.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php defined('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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 |
-
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
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('
|
2 |
|
3 |
<li class="{{ class }}">
|
4 |
{{ input }}
|
1 |
+
<?php defined('ABSPATH') || die; ?>
|
2 |
|
3 |
<li class="{{ class }}">
|
4 |
{{ input }}
|