Version Description
- 2018-01-06
Download this release
Release Info
Developer | codeinwp |
Plugin | Contact Form & SMTP Plugin for WordPress by PirateForms |
Version | 2.3.3 |
Comparing to | |
See all releases |
Code changes from version 2.3.2 to 2.3.3
- CHANGELOG.md +5 -0
- admin/css/wp-admin.css +7 -6
- includes/class-pirateforms-phpformbuilder.php +1 -2
- includes/class-pirateforms.php +1 -1
- languages/pirate-forms.pot +19 -19
- pirate-forms.php +2 -2
- public/class-pirateforms-public.php +3 -1
- public/css/front.css +21 -1
- readme.md +6 -0
- readme.txt +6 -0
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php +145 -59
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-review.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-translate.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php +5 -24
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/autoload_real_52.php +3 -3
- vendor/composer/installed.json +4 -4
CHANGELOG.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
2 |
### v2.3.2 - 2017-12-28
|
3 |
**Changes:**
|
4 |
* Fix for tooltip admin behavior.
|
1 |
|
2 |
+
### v2.3.3 - 2018-01-06
|
3 |
+
**Changes:**
|
4 |
+
* Fix double reCAPTCHA box bug.
|
5 |
+
* Fix custom spam trap alignement error.
|
6 |
+
|
7 |
### v2.3.2 - 2017-12-28
|
8 |
**Changes:**
|
9 |
* Fix for tooltip admin behavior.
|
admin/css/wp-admin.css
CHANGED
@@ -331,10 +331,11 @@ input#save.pirate-forms-save-button {
|
|
331 |
.pirate-forms-password-toggle span.dashicons {
|
332 |
cursor: pointer;
|
333 |
}
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
padding:5px;
|
338 |
-
width:300px;
|
339 |
border-radius: 5px;
|
340 |
-
|
|
|
|
331 |
.pirate-forms-password-toggle span.dashicons {
|
332 |
cursor: pointer;
|
333 |
}
|
334 |
+
|
335 |
+
.toplevel_page_pirateforms-admin .ui-tooltip {
|
336 |
+
width: 300px;
|
337 |
+
padding: 5px;
|
|
|
338 |
border-radius: 5px;
|
339 |
+
color: #fff;
|
340 |
+
background: #333;
|
341 |
+
}
|
includes/class-pirateforms-phpformbuilder.php
CHANGED
@@ -47,8 +47,7 @@ class PirateForms_PhpFormBuilder {
|
|
47 |
$classes[] = $val['id'] . '-on';
|
48 |
} else {
|
49 |
$element = $html_helper->add( $val, false );
|
50 |
-
if ( ( 'form_honeypot' === $val['id'] || in_array( $val['type'], array( 'hidden', 'div' ) ) ) && $val['id']
|
51 |
-
) {
|
52 |
$form_end .= $element;
|
53 |
}
|
54 |
if ( $val['id'] === 'pirate-forms-maps-custom' ) {
|
47 |
$classes[] = $val['id'] . '-on';
|
48 |
} else {
|
49 |
$element = $html_helper->add( $val, false );
|
50 |
+
if ( ( 'form_honeypot' === $val['id'] || in_array( $val['type'], array( 'hidden', 'div' ) ) ) && ! in_array( $val['id'], array( 'pirate-forms-maps-custom', 'pirate-forms-captcha' ) ) ) {
|
|
|
51 |
$form_end .= $element;
|
52 |
}
|
53 |
if ( $val['id'] === 'pirate-forms-maps-custom' ) {
|
includes/class-pirateforms.php
CHANGED
@@ -69,7 +69,7 @@ class PirateForms {
|
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'pirateforms';
|
72 |
-
$this->version = '2.3.
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'pirateforms';
|
72 |
+
$this->version = '2.3.3';
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
languages/pirate-forms.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Free & Simple Contact Form Plugin - Pirateforms 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
|
7 |
-
"POT-Creation-Date: 2017-12-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -178,7 +178,7 @@ msgid "Message"
|
|
178 |
msgstr ""
|
179 |
|
180 |
#: admin/class-pirateforms-admin.php:483
|
181 |
-
#: public/class-pirateforms-public.php:
|
182 |
msgid "Attachment"
|
183 |
msgstr ""
|
184 |
|
@@ -513,30 +513,30 @@ msgid "None"
|
|
513 |
msgstr ""
|
514 |
|
515 |
#: includes/class-pirateforms-util.php:240
|
516 |
-
#: public/class-pirateforms-public.php:
|
517 |
msgid "Contact form submission from %s"
|
518 |
msgstr ""
|
519 |
|
520 |
#: includes/class-pirateforms-util.php:256
|
521 |
#: includes/class-pirateforms-util.php:298
|
522 |
-
#: public/class-pirateforms-public.php:
|
523 |
msgid "IP address"
|
524 |
msgstr ""
|
525 |
|
526 |
#: includes/class-pirateforms-util.php:257
|
527 |
-
#: public/class-pirateforms-public.php:
|
528 |
msgid "IP search"
|
529 |
msgstr ""
|
530 |
|
531 |
#: includes/class-pirateforms-util.php:258
|
532 |
#: includes/class-pirateforms-util.php:299
|
533 |
-
#: public/class-pirateforms-public.php:
|
534 |
msgid "Came from"
|
535 |
msgstr ""
|
536 |
|
537 |
#: includes/class-pirateforms-util.php:259
|
538 |
#: includes/class-pirateforms-util.php:300
|
539 |
-
#: public/class-pirateforms-public.php:
|
540 |
msgid "Sent from page"
|
541 |
msgstr ""
|
542 |
|
@@ -602,44 +602,44 @@ msgstr ""
|
|
602 |
msgid "Submit"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: public/class-pirateforms-public.php:
|
606 |
msgid "Sorry, an error occured."
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: public/class-pirateforms-public.php:
|
610 |
msgid "Nonce failed!"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: public/class-pirateforms-public.php:
|
614 |
-
#: public/class-pirateforms-public.php:
|
615 |
msgid "Form submission failed!"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: public/class-pirateforms-public.php:
|
619 |
msgid "Please enter one or more Contact submission recipients"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: public/class-pirateforms-public.php:
|
623 |
msgid "Invalid CAPTCHA"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: public/class-pirateforms-public.php:
|
627 |
msgid "Incorrect CAPTCHA"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: public/class-pirateforms-public.php:
|
631 |
msgid "Submission blocked!"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: public/class-pirateforms-public.php:
|
635 |
msgid "Uploaded file type is not allowed for %s"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: public/class-pirateforms-public.php:
|
639 |
msgid "Uploaded file is too large %s"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: public/class-pirateforms-public.php:
|
643 |
msgid "There was an unknown error uploading the file %s"
|
644 |
msgstr ""
|
645 |
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Free & Simple Contact Form Plugin - Pirateforms 2.3.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
|
7 |
+
"POT-Creation-Date: 2017-12-29 12:29:49+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
178 |
msgstr ""
|
179 |
|
180 |
#: admin/class-pirateforms-admin.php:483
|
181 |
+
#: public/class-pirateforms-public.php:995
|
182 |
msgid "Attachment"
|
183 |
msgstr ""
|
184 |
|
513 |
msgstr ""
|
514 |
|
515 |
#: includes/class-pirateforms-util.php:240
|
516 |
+
#: public/class-pirateforms-public.php:549
|
517 |
msgid "Contact form submission from %s"
|
518 |
msgstr ""
|
519 |
|
520 |
#: includes/class-pirateforms-util.php:256
|
521 |
#: includes/class-pirateforms-util.php:298
|
522 |
+
#: public/class-pirateforms-public.php:576
|
523 |
msgid "IP address"
|
524 |
msgstr ""
|
525 |
|
526 |
#: includes/class-pirateforms-util.php:257
|
527 |
+
#: public/class-pirateforms-public.php:577
|
528 |
msgid "IP search"
|
529 |
msgstr ""
|
530 |
|
531 |
#: includes/class-pirateforms-util.php:258
|
532 |
#: includes/class-pirateforms-util.php:299
|
533 |
+
#: public/class-pirateforms-public.php:584
|
534 |
msgid "Came from"
|
535 |
msgstr ""
|
536 |
|
537 |
#: includes/class-pirateforms-util.php:259
|
538 |
#: includes/class-pirateforms-util.php:300
|
539 |
+
#: public/class-pirateforms-public.php:590
|
540 |
msgid "Sent from page"
|
541 |
msgstr ""
|
542 |
|
602 |
msgid "Submit"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: public/class-pirateforms-public.php:466
|
606 |
msgid "Sorry, an error occured."
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: public/class-pirateforms-public.php:528
|
610 |
msgid "Nonce failed!"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: public/class-pirateforms-public.php:536
|
614 |
+
#: public/class-pirateforms-public.php:601
|
615 |
msgid "Form submission failed!"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: public/class-pirateforms-public.php:561
|
619 |
msgid "Please enter one or more Contact submission recipients"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: public/class-pirateforms-public.php:807
|
623 |
msgid "Invalid CAPTCHA"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: public/class-pirateforms-public.php:819
|
627 |
msgid "Incorrect CAPTCHA"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: public/class-pirateforms-public.php:828
|
631 |
msgid "Submission blocked!"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: public/class-pirateforms-public.php:957
|
635 |
msgid "Uploaded file type is not allowed for %s"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: public/class-pirateforms-public.php:965
|
639 |
msgid "Uploaded file is too large %s"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: public/class-pirateforms-public.php:979
|
643 |
msgid "There was an unknown error uploading the file %s"
|
644 |
msgstr ""
|
645 |
|
pirate-forms.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Free & Simple Contact Form Plugin - Pirateforms
|
17 |
* Plugin URI: http://themeisle.com/plugins/pirate-forms/
|
18 |
* Description: Easily creates a nice looking, simple contact form on your WP site.
|
19 |
-
* Version: 2.3.
|
20 |
* Author: Themeisle
|
21 |
* Author URI: http://themeisle.com
|
22 |
* Text Domain: pirate-forms
|
@@ -36,7 +36,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
36 |
define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
|
37 |
define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
|
38 |
define( 'PIRATEFORMS_USELL_LINK', 'https://themeisle.com/plugins/pirate-forms-extended/' );
|
39 |
-
define( 'PIRATE_FORMS_VERSION', '2.3.
|
40 |
define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
41 |
define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
|
42 |
define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
|
16 |
* Plugin Name: Free & Simple Contact Form Plugin - Pirateforms
|
17 |
* Plugin URI: http://themeisle.com/plugins/pirate-forms/
|
18 |
* Description: Easily creates a nice looking, simple contact form on your WP site.
|
19 |
+
* Version: 2.3.3
|
20 |
* Author: Themeisle
|
21 |
* Author URI: http://themeisle.com
|
22 |
* Text Domain: pirate-forms
|
36 |
define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
|
37 |
define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
|
38 |
define( 'PIRATEFORMS_USELL_LINK', 'https://themeisle.com/plugins/pirate-forms-extended/' );
|
39 |
+
define( 'PIRATE_FORMS_VERSION', '2.3.3' );
|
40 |
define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
41 |
define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
|
42 |
define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
|
public/class-pirateforms-public.php
CHANGED
@@ -443,13 +443,15 @@ class PirateForms_Public {
|
|
443 |
echo $form_builder->attachment;
|
444 |
}
|
445 |
|
|
|
|
|
446 |
if ( isset( $form_builder->captcha ) ) {
|
447 |
echo $form_builder->captcha;
|
448 |
}
|
449 |
|
450 |
echo $form_builder->contact_submit;
|
451 |
|
452 |
-
echo '</div>';
|
453 |
}
|
454 |
|
455 |
/**
|
443 |
echo $form_builder->attachment;
|
444 |
}
|
445 |
|
446 |
+
echo '<div class="pirate-forms-footer">';
|
447 |
+
|
448 |
if ( isset( $form_builder->captcha ) ) {
|
449 |
echo $form_builder->captcha;
|
450 |
}
|
451 |
|
452 |
echo $form_builder->contact_submit;
|
453 |
|
454 |
+
echo '</div></div>';
|
455 |
}
|
456 |
|
457 |
/**
|
public/css/front.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
Version: 2.3.
|
3 |
*/
|
4 |
.pirate_forms_wrap .form_field_wrap,
|
5 |
.widget .pirate_forms_wrap .form_field_wrap {
|
@@ -78,8 +78,28 @@ Version: 2.3.2
|
|
78 |
max-width: 100%;
|
79 |
}
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
@media (max-width: 480px) {
|
|
|
82 |
.pirate_forms_wrap .form_field_wrap .pirate-forms-submit-button {
|
|
|
83 |
width: 100%;
|
84 |
}
|
|
|
|
|
|
|
|
|
|
|
85 |
}
|
1 |
/*
|
2 |
+
Version: 2.3.3
|
3 |
*/
|
4 |
.pirate_forms_wrap .form_field_wrap,
|
5 |
.widget .pirate_forms_wrap .form_field_wrap {
|
78 |
max-width: 100%;
|
79 |
}
|
80 |
|
81 |
+
.pirate_forms_wrap .pirate-forms-footer {
|
82 |
+
display: table;
|
83 |
+
float: left;
|
84 |
+
width: 100%;
|
85 |
+
}
|
86 |
+
|
87 |
+
.pirate_forms_wrap .pirate-forms-footer .form_field_wrap {
|
88 |
+
display: table-cell;
|
89 |
+
float: none;
|
90 |
+
margin: 0;
|
91 |
+
vertical-align: middle;
|
92 |
+
}
|
93 |
+
|
94 |
@media (max-width: 480px) {
|
95 |
+
.pirate_forms_wrap .pirate-forms-footer .form_field_wrap,
|
96 |
.pirate_forms_wrap .form_field_wrap .pirate-forms-submit-button {
|
97 |
+
display: block;
|
98 |
width: 100%;
|
99 |
}
|
100 |
+
|
101 |
+
.pirate_forms_wrap .pirate-forms-footer .pirateform_wrap_classes_spam_wrap,
|
102 |
+
.pirate_forms_wrap .pirate-forms-footer .form_captcha_wrap {
|
103 |
+
margin-bottom: 20px;
|
104 |
+
}
|
105 |
}
|
readme.md
CHANGED
@@ -187,6 +187,12 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you'
|
|
187 |
4. Screenshot 4. Enabling SMTP
|
188 |
|
189 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
### 2.3.2 - 2017-12-28 ###
|
191 |
|
192 |
* Fix for tooltip admin behavior.
|
187 |
4. Screenshot 4. Enabling SMTP
|
188 |
|
189 |
## Changelog ##
|
190 |
+
### 2.3.3 - 2018-01-06 ###
|
191 |
+
|
192 |
+
* Fix double reCAPTCHA box bug.
|
193 |
+
* Fix custom spam trap alignement error.
|
194 |
+
|
195 |
+
|
196 |
### 2.3.2 - 2017-12-28 ###
|
197 |
|
198 |
* Fix for tooltip admin behavior.
|
readme.txt
CHANGED
@@ -187,6 +187,12 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you'
|
|
187 |
4. Screenshot 4. Enabling SMTP
|
188 |
|
189 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
= 2.3.2 - 2017-12-28 =
|
191 |
|
192 |
* Fix for tooltip admin behavior.
|
187 |
4. Screenshot 4. Enabling SMTP
|
188 |
|
189 |
== Changelog ==
|
190 |
+
= 2.3.3 - 2018-01-06 =
|
191 |
+
|
192 |
+
* Fix double reCAPTCHA box bug.
|
193 |
+
* Fix custom spam trap alignement error.
|
194 |
+
|
195 |
+
|
196 |
= 2.3.2 - 2017-12-28 =
|
197 |
|
198 |
* Fix for tooltip admin behavior.
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"index.php":"39ab8276fb0e4bd3fcab3270822c5977","pirate-forms.php":"
|
1 |
+
{"index.php":"39ab8276fb0e4bd3fcab3270822c5977","pirate-forms.php":"d2b7b37491ed4ea5462d5bc53013fc59","uninstall.php":"9d936442a63521d971a6dbc28df9c0d1"}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInite4e16cf00d7681e8ee43ec3e0e1e0b72::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitdd46fa6f7bf6f1d5119268cef91fcc46::getLoader();
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php
CHANGED
@@ -22,21 +22,15 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
22 |
* @var array $options_plugin The main options list for plugins.
|
23 |
*/
|
24 |
private $options_plugin = array(
|
25 |
-
'I
|
26 |
-
'id' => 1,
|
27 |
-
),
|
28 |
-
'The plugin broke my site' => array(
|
29 |
-
'id' => 2,
|
30 |
-
),
|
31 |
-
'I found a better plugin' => array(
|
32 |
'id' => 3,
|
33 |
'type' => 'text',
|
34 |
'placeholder' => 'What\'s the plugin\'s name?',
|
35 |
),
|
36 |
-
'
|
37 |
'id' => 4,
|
38 |
),
|
39 |
-
'I no longer need the plugin'
|
40 |
'id' => 5,
|
41 |
'type' => 'textarea',
|
42 |
'placeholder' => 'If you could improve one thing about our product, what would it be?',
|
@@ -80,12 +74,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
80 |
/**
|
81 |
* @var string $heading_plugin The heading of the modal
|
82 |
*/
|
83 |
-
private $heading_plugin = '
|
84 |
|
85 |
/**
|
86 |
* @var string $heading_theme The heading of the modal
|
87 |
*/
|
88 |
-
private $heading_theme = 'Looking to change {theme}
|
89 |
|
90 |
/**
|
91 |
* @var string $button_submit_before The text of the deactivate button before an option is chosen
|
@@ -100,7 +94,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
100 |
/**
|
101 |
* @var string $button_cancel The text of the cancel button
|
102 |
*/
|
103 |
-
private $button_cancel = '
|
104 |
|
105 |
/**
|
106 |
* @var int how many seconds before the deactivation window is triggered for themes
|
@@ -170,46 +164,110 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
170 |
}
|
171 |
|
172 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #TB_title {
|
173 |
-
|
174 |
-
|
175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
}
|
177 |
|
178 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container div.actions {
|
179 |
-
|
180 |
-
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
|
184 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button.button-primary {
|
185 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
}
|
187 |
|
188 |
-
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button {
|
189 |
-
|
190 |
}
|
191 |
|
192 |
-
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container
|
193 |
-
|
194 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
}
|
196 |
|
197 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container div.revive_network-container {
|
198 |
background-color: #ffffff;
|
199 |
}
|
200 |
|
|
|
|
|
|
|
|
|
201 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container ul.ti-list li {
|
202 |
-
|
|
|
|
|
203 |
}
|
204 |
|
205 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container ul.ti-list li label {
|
206 |
margin-left: 10px;
|
207 |
-
line-height:
|
208 |
-
font-size:
|
|
|
|
|
|
|
|
|
209 |
}
|
210 |
|
211 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #TB_ajaxContent {
|
212 |
-
|
|
|
|
|
|
|
213 |
}
|
214 |
|
215 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container li div textarea {
|
@@ -222,24 +280,31 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
222 |
}
|
223 |
|
224 |
.<?php echo $key; ?>-container #TB_title #TB_ajaxWindowTitle {
|
|
|
225 |
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
227 |
|
228 |
-
|
229 |
-
|
230 |
-
width: 100%;
|
231 |
display: block;
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
text-
|
236 |
}
|
237 |
|
238 |
-
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container
|
239 |
-
|
240 |
-
height: 33px;
|
241 |
width: 100%;
|
242 |
-
|
|
|
|
|
|
|
243 |
}
|
244 |
|
245 |
.theme-install-php .<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon:before {
|
@@ -247,24 +312,40 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
247 |
}
|
248 |
|
249 |
.<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon {
|
250 |
-
|
251 |
color: #eee;
|
252 |
}
|
253 |
|
254 |
.<?php echo $key; ?>-container #TB_closeWindowButton {
|
255 |
left: auto;
|
256 |
-
right: -
|
|
|
257 |
color: #eee;
|
258 |
}
|
259 |
|
260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
|
|
|
262 |
margin: auto !important;
|
263 |
-
height:
|
264 |
top: 0 !important;
|
265 |
left: 0 !important;
|
266 |
bottom: 0 !important;
|
267 |
right: 0 !important;
|
|
|
268 |
}
|
269 |
</style>
|
270 |
<?php
|
@@ -303,25 +384,29 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
303 |
$('a.ti-auto-anchor').trigger('click');
|
304 |
}, <?php echo self::AUTO_TRIGGER_DEACTIVATE_WINDOW_SECONDS * 1000; ?> );
|
305 |
}
|
306 |
-
$(
|
307 |
$.ajax({
|
308 |
url: ajaxurl,
|
309 |
method: 'post',
|
310 |
data: {
|
311 |
-
'action'
|
312 |
-
'nonce'
|
313 |
-
'type'
|
314 |
-
'key'
|
315 |
},
|
316 |
});
|
317 |
});
|
318 |
var href = $(target_element).attr('href');
|
319 |
-
$('#<?php echo $key; ?>ti-deactivate-no').on('click', function (e) {
|
320 |
e.preventDefault();
|
321 |
e.stopPropagation();
|
322 |
|
323 |
$('body').unbind('thickbox:removed');
|
324 |
tb_remove();
|
|
|
|
|
|
|
|
|
325 |
});
|
326 |
|
327 |
$('#<?php echo $key; ?> ul.ti-list label, #<?php echo $key; ?> ul.ti-list input[name="ti-deactivate-option"]').on('click', function (e) {
|
@@ -349,12 +434,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
349 |
url: ajaxurl,
|
350 |
method: 'post',
|
351 |
data: {
|
352 |
-
'action'
|
353 |
-
'nonce'
|
354 |
-
'id'
|
355 |
-
'msg'
|
356 |
-
'type'
|
357 |
-
'key'
|
358 |
},
|
359 |
});
|
360 |
var redirect = $(this).attr('data-ti-action');
|
@@ -366,7 +451,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
366 |
}
|
367 |
});
|
368 |
|
369 |
-
$(target_element).attr('name', '<?php echo
|
370 |
var thicbox_timer;
|
371 |
$(target_element).on('click', function () {
|
372 |
tiBindThickbox();
|
@@ -409,10 +494,10 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
409 |
|
410 |
$list = '';
|
411 |
foreach ( $options as $title => $attributes ) {
|
412 |
-
$id
|
413 |
$list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
|
414 |
if ( array_key_exists( 'type', $attributes ) ) {
|
415 |
-
$list
|
416 |
$placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
|
417 |
switch ( $attributes['type'] ) {
|
418 |
case 'text':
|
@@ -431,8 +516,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
431 |
. '<ul class="ti-list">' . $list . '</ul>'
|
432 |
. '<div class="actions">'
|
433 |
. get_submit_button(
|
434 |
-
$
|
435 |
'data-after-text' => $button_submit,
|
|
|
436 |
)
|
437 |
)
|
438 |
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
22 |
* @var array $options_plugin The main options list for plugins.
|
23 |
*/
|
24 |
private $options_plugin = array(
|
25 |
+
'I found a better plugin' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
'id' => 3,
|
27 |
'type' => 'text',
|
28 |
'placeholder' => 'What\'s the plugin\'s name?',
|
29 |
),
|
30 |
+
'I could not get the plugin to work' => array(
|
31 |
'id' => 4,
|
32 |
),
|
33 |
+
'I no longer need the plugin' => array(
|
34 |
'id' => 5,
|
35 |
'type' => 'textarea',
|
36 |
'placeholder' => 'If you could improve one thing about our product, what would it be?',
|
74 |
/**
|
75 |
* @var string $heading_plugin The heading of the modal
|
76 |
*/
|
77 |
+
private $heading_plugin = 'Quick Feedback <span>Because we care about our clients, please leave us a feedback.</span>';
|
78 |
|
79 |
/**
|
80 |
* @var string $heading_theme The heading of the modal
|
81 |
*/
|
82 |
+
private $heading_theme = 'Looking to change {theme} <span> What does not work for you?</span>';
|
83 |
|
84 |
/**
|
85 |
* @var string $button_submit_before The text of the deactivate button before an option is chosen
|
94 |
/**
|
95 |
* @var string $button_cancel The text of the cancel button
|
96 |
*/
|
97 |
+
private $button_cancel = 'Skip & Deactivate';
|
98 |
|
99 |
/**
|
100 |
* @var int how many seconds before the deactivation window is triggered for themes
|
164 |
}
|
165 |
|
166 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #TB_title {
|
167 |
+
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDU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XotHVPEalD5EP23l9VUc+fUc9UoOKQU/9x7OLSndelJfHwesckRqtKyVdnLbOjQ4hUPuATP+3v4r3n8LMAAsR90w+kkNLQAAAABJRU5ErkJggg==') 40px 30px no-repeat;
|
168 |
+
border: none;
|
169 |
+
box-sizing: border-box;
|
170 |
+
color: #373e40;
|
171 |
+
font-size: 24px;
|
172 |
+
font-weight: 700;
|
173 |
+
height: 90px;
|
174 |
+
padding: 40px 40px 0 120px;
|
175 |
+
text-transform: uppercase;
|
176 |
+
width: 100%;
|
177 |
}
|
178 |
|
179 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container div.actions {
|
180 |
+
box-sizing: border-box;
|
181 |
+
padding: 30px 40px;
|
182 |
+
background-color: #eaeaea;
|
183 |
+
}
|
184 |
+
|
185 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button {
|
186 |
+
background: #ec5d60;
|
187 |
+
border: none;
|
188 |
+
box-shadow: none;
|
189 |
+
color: #ffffff;
|
190 |
+
font-size: 15px;
|
191 |
+
font-weight: 700;
|
192 |
+
height: auto;
|
193 |
+
line-height: 20px;
|
194 |
+
padding: 10px 15px;
|
195 |
+
text-transform: uppercase;
|
196 |
+
-webkit-transition: 0.3s ease;
|
197 |
+
-moz-transition: 0.3s ease;
|
198 |
+
-ms-transition: 0.3s ease;
|
199 |
+
-o-transition: 0.3s ease;
|
200 |
+
transition: 0.3s ease;
|
201 |
}
|
202 |
|
203 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button.button-primary {
|
204 |
+
background: transparent;
|
205 |
+
box-shadow: none;
|
206 |
+
color: #8d9192;
|
207 |
+
font-weight: 400;
|
208 |
+
float: right;
|
209 |
+
line-height: 40px;
|
210 |
+
padding: 0;
|
211 |
+
text-decoration: underline;
|
212 |
+
text-shadow: none;
|
213 |
+
text-transform: none;
|
214 |
}
|
215 |
|
216 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button:hover {
|
217 |
+
background: #e83f42;
|
218 |
}
|
219 |
|
220 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button.button-primary:hover {
|
221 |
+
background: transparent;
|
222 |
+
}
|
223 |
+
|
224 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button:focus {
|
225 |
+
box-shadow: none;
|
226 |
+
outline: none;
|
227 |
+
}
|
228 |
+
|
229 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button:active {
|
230 |
+
box-shadow: none;
|
231 |
+
transform: translateY(0);
|
232 |
+
}
|
233 |
+
|
234 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button:disabled {
|
235 |
+
cursor: not-allowed;
|
236 |
+
}
|
237 |
+
|
238 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container input.button.button-primary:hover {
|
239 |
+
text-decoration: none;
|
240 |
}
|
241 |
|
242 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container div.revive_network-container {
|
243 |
background-color: #ffffff;
|
244 |
}
|
245 |
|
246 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container ul.ti-list {
|
247 |
+
margin: 0;
|
248 |
+
}
|
249 |
+
|
250 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container ul.ti-list li {
|
251 |
+
color: #373e40;
|
252 |
+
font-size: 13px;
|
253 |
+
margin-bottom: 5px;
|
254 |
}
|
255 |
|
256 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container ul.ti-list li label {
|
257 |
margin-left: 10px;
|
258 |
+
line-height: 28px;
|
259 |
+
font-size: 15px;
|
260 |
+
}
|
261 |
+
|
262 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container ul.ti-list input[type=radio] {
|
263 |
+
margin-top: 1px;
|
264 |
}
|
265 |
|
266 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #TB_ajaxContent {
|
267 |
+
box-sizing: border-box;
|
268 |
+
height: auto !important;
|
269 |
+
padding: 20px 40px;
|
270 |
+
width: 100% !important;
|
271 |
}
|
272 |
|
273 |
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container li div textarea {
|
280 |
}
|
281 |
|
282 |
.<?php echo $key; ?>-container #TB_title #TB_ajaxWindowTitle {
|
283 |
+
box-sizing: border-box;
|
284 |
display: block;
|
285 |
+
float: none;
|
286 |
+
font-weight: 700;
|
287 |
+
line-height: 1;
|
288 |
+
padding: 0;
|
289 |
+
text-align: left;
|
290 |
+
width: 100%;
|
291 |
}
|
292 |
|
293 |
+
.<?php echo $key; ?>-container #TB_title #TB_ajaxWindowTitle span {
|
294 |
+
color: #8d9192;
|
|
|
295 |
display: block;
|
296 |
+
font-size: 15px;
|
297 |
+
font-weight: 400;
|
298 |
+
margin-top: 5px;
|
299 |
+
text-transform: none;
|
300 |
}
|
301 |
|
302 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container .actions {
|
|
|
|
|
303 |
width: 100%;
|
304 |
+
display: block;
|
305 |
+
position: absolute;
|
306 |
+
left: 0;
|
307 |
+
bottom: 0;
|
308 |
}
|
309 |
|
310 |
.theme-install-php .<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon:before {
|
312 |
}
|
313 |
|
314 |
.<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon {
|
|
|
315 |
color: #eee;
|
316 |
}
|
317 |
|
318 |
.<?php echo $key; ?>-container #TB_closeWindowButton {
|
319 |
left: auto;
|
320 |
+
right: -5px;
|
321 |
+
top: -35px;
|
322 |
color: #eee;
|
323 |
}
|
324 |
|
325 |
+
.<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon {
|
326 |
+
text-align: right;
|
327 |
+
line-height: 25px;
|
328 |
+
width: 25px;
|
329 |
+
height: 25px;
|
330 |
+
}
|
331 |
+
|
332 |
+
.<?php echo $key; ?>-container #TB_closeWindowButton:focus .tb-close-icon {
|
333 |
+
box-shadow: none;
|
334 |
+
outline: none;
|
335 |
+
}
|
336 |
+
|
337 |
+
.<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon:before {
|
338 |
+
font: normal 25px dashicons;
|
339 |
+
}
|
340 |
|
341 |
+
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container {
|
342 |
margin: auto !important;
|
343 |
+
height: 500px !important;
|
344 |
top: 0 !important;
|
345 |
left: 0 !important;
|
346 |
bottom: 0 !important;
|
347 |
right: 0 !important;
|
348 |
+
width: 600px !important;
|
349 |
}
|
350 |
</style>
|
351 |
<?php
|
384 |
$('a.ti-auto-anchor').trigger('click');
|
385 |
}, <?php echo self::AUTO_TRIGGER_DEACTIVATE_WINDOW_SECONDS * 1000; ?> );
|
386 |
}
|
387 |
+
$(document).on('thickbox:removed', function () {
|
388 |
$.ajax({
|
389 |
url: ajaxurl,
|
390 |
method: 'post',
|
391 |
data: {
|
392 |
+
'action': '<?php echo $key . __CLASS__; ?>',
|
393 |
+
'nonce': '<?php echo wp_create_nonce( (string) __CLASS__ ); ?>',
|
394 |
+
'type': '<?php echo $type; ?>',
|
395 |
+
'key': '<?php echo $key; ?>'
|
396 |
},
|
397 |
});
|
398 |
});
|
399 |
var href = $(target_element).attr('href');
|
400 |
+
$('#<?php echo $key; ?>ti-deactivate-no').attr('data-ti-action', href).on('click', function (e) {
|
401 |
e.preventDefault();
|
402 |
e.stopPropagation();
|
403 |
|
404 |
$('body').unbind('thickbox:removed');
|
405 |
tb_remove();
|
406 |
+
var redirect = $(this).attr('data-ti-action');
|
407 |
+
if (redirect != '') {
|
408 |
+
location.href = redirect;
|
409 |
+
}
|
410 |
});
|
411 |
|
412 |
$('#<?php echo $key; ?> ul.ti-list label, #<?php echo $key; ?> ul.ti-list input[name="ti-deactivate-option"]').on('click', function (e) {
|
434 |
url: ajaxurl,
|
435 |
method: 'post',
|
436 |
data: {
|
437 |
+
'action': '<?php echo $key . __CLASS__; ?>',
|
438 |
+
'nonce': '<?php echo wp_create_nonce( (string) __CLASS__ ); ?>',
|
439 |
+
'id': $('#<?php echo $key; ?> input[name="ti-deactivate-option"]:checked').parent().attr('ti-option-id'),
|
440 |
+
'msg': $('#<?php echo $key; ?> input[name="ti-deactivate-option"]:checked').parent().find('textarea').val(),
|
441 |
+
'type': '<?php echo $type; ?>',
|
442 |
+
'key': '<?php echo $key; ?>'
|
443 |
},
|
444 |
});
|
445 |
var redirect = $(this).attr('data-ti-action');
|
451 |
}
|
452 |
});
|
453 |
|
454 |
+
$(target_element).attr('name', '<?php echo wp_kses( $heading, array( 'span' => array() ) ); ?>').attr('href', '<?php echo $src; ?>').addClass('thickbox');
|
455 |
var thicbox_timer;
|
456 |
$(target_element).on('click', function () {
|
457 |
tiBindThickbox();
|
494 |
|
495 |
$list = '';
|
496 |
foreach ( $options as $title => $attributes ) {
|
497 |
+
$id = $attributes['id'];
|
498 |
$list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
|
499 |
if ( array_key_exists( 'type', $attributes ) ) {
|
500 |
+
$list .= '<div>';
|
501 |
$placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
|
502 |
switch ( $attributes['type'] ) {
|
503 |
case 'text':
|
516 |
. '<ul class="ti-list">' . $list . '</ul>'
|
517 |
. '<div class="actions">'
|
518 |
. get_submit_button(
|
519 |
+
$button_submit, 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
|
520 |
'data-after-text' => $button_submit,
|
521 |
+
'disabled' => true,
|
522 |
)
|
523 |
)
|
524 |
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-review.php
CHANGED
@@ -146,7 +146,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Review' ) ) :
|
|
146 |
'action': '<?php echo $this->product->get_key() . __CLASS__; ?>'
|
147 |
},
|
148 |
success: function () {
|
149 |
-
$('#<?php echo $key; ?>_review').
|
150 |
}
|
151 |
});
|
152 |
});
|
146 |
'action': '<?php echo $this->product->get_key() . __CLASS__; ?>'
|
147 |
},
|
148 |
success: function () {
|
149 |
+
$('#<?php echo $key; ?>_review').html('<p><b>Thanks for your answer.</b></p>');
|
150 |
}
|
151 |
});
|
152 |
});
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-translate.php
CHANGED
@@ -888,7 +888,7 @@ The process is easy, and you can join by following the link below!';
|
|
888 |
'action': '<?php echo $this->product->get_key() . __CLASS__; ?>'
|
889 |
},
|
890 |
success: function () {
|
891 |
-
$('#<?php echo $key; ?>_translate').
|
892 |
}
|
893 |
});
|
894 |
});
|
888 |
'action': '<?php echo $this->product->get_key() . __CLASS__; ?>'
|
889 |
},
|
890 |
success: function () {
|
891 |
+
$('#<?php echo $key; ?>_translate').html('<p><b>Thanks for your answer.</b></p>');
|
892 |
}
|
893 |
});
|
894 |
});
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php
CHANGED
@@ -204,19 +204,6 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
204 |
* @return bool Either hide them or not.
|
205 |
*/
|
206 |
function check_hide( $hide ) {
|
207 |
-
if ( isset( $_GET[ $this->product->get_key() . '_hide_' . $hide ] ) ) {
|
208 |
-
if ( $_GET[ $this->product->get_key() . '_hide_' . $hide ] === 'yes' ) {
|
209 |
-
update_option( $this->product->get_key() . '_hide_' . $hide, 'yes' );
|
210 |
-
|
211 |
-
return false;
|
212 |
-
}
|
213 |
-
} else {
|
214 |
-
$license = get_option( $this->product->get_key() . '_hide_' . $hide, '' );
|
215 |
-
if ( $license === 'yes' ) {
|
216 |
-
return false;
|
217 |
-
}
|
218 |
-
}
|
219 |
-
|
220 |
return true;
|
221 |
}
|
222 |
|
@@ -237,15 +224,14 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
237 |
Staff for more details.'
|
238 |
);
|
239 |
$no_valid_string = apply_filters(
|
240 |
-
$this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s
|
241 |
your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a
|
242 |
-
href="%s">here</a
|
243 |
);
|
244 |
$expiration_string = apply_filters(
|
245 |
$this->product->get_key() . '_lc_expiration_string', 'Your license is about to expire
|
246 |
for %s. You can go to %s and renew it '
|
247 |
);
|
248 |
-
$hide_notice_string = apply_filters( $this->product->get_key() . '_lc_hide_notice_string', 'Hide Notice' );
|
249 |
if ( $status != 'valid' ) {
|
250 |
if ( $this->check_activation() ) {
|
251 |
if ( $this->check_hide( 'activation' ) ) {
|
@@ -258,8 +244,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
258 |
target="_blank">' . $this->product->get_store_name() . '</a>'
|
259 |
);
|
260 |
?>
|
261 |
-
</strong>
|
262 |
-
href="<?php echo add_query_arg( $this->product->get_key() . '_activation', 'yes' ); ?> "><?php echo $hide_notice_string; ?></a>
|
263 |
</p>
|
264 |
</div>
|
265 |
<?php
|
@@ -270,9 +255,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
270 |
<?php if ( $this->check_hide( 'valid' ) ) : ?>
|
271 |
<div class="error">
|
272 |
<p>
|
273 |
-
<strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->product->get_store_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() ); ?> </strong
|
274 |
-
<a
|
275 |
-
href="<?php echo add_query_arg( $this->product->get_key() . '_hide_valid', 'yes' ); ?> "><?php echo $hide_notice_string; ?></a>
|
276 |
</p>
|
277 |
</div>
|
278 |
<?php endif; ?>
|
@@ -291,9 +274,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
291 |
target="_blank">' . $this->product->get_store_name() . '</a>'
|
292 |
);
|
293 |
?>
|
294 |
-
</strong>
|
295 |
-
<a
|
296 |
-
href="<?php echo add_query_arg( $this->product->get_key() . '_hide_expiration', 'yes' ); ?> "><?php echo $hide_notice_string; ?></a>
|
297 |
</p>
|
298 |
</div>
|
299 |
<?php
|
204 |
* @return bool Either hide them or not.
|
205 |
*/
|
206 |
function check_hide( $hide ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
return true;
|
208 |
}
|
209 |
|
224 |
Staff for more details.'
|
225 |
);
|
226 |
$no_valid_string = apply_filters(
|
227 |
+
$this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add
|
228 |
your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a
|
229 |
+
href="%s">here</a>. '
|
230 |
);
|
231 |
$expiration_string = apply_filters(
|
232 |
$this->product->get_key() . '_lc_expiration_string', 'Your license is about to expire
|
233 |
for %s. You can go to %s and renew it '
|
234 |
);
|
|
|
235 |
if ( $status != 'valid' ) {
|
236 |
if ( $this->check_activation() ) {
|
237 |
if ( $this->check_hide( 'activation' ) ) {
|
244 |
target="_blank">' . $this->product->get_store_name() . '</a>'
|
245 |
);
|
246 |
?>
|
247 |
+
</strong>
|
|
|
248 |
</p>
|
249 |
</div>
|
250 |
<?php
|
255 |
<?php if ( $this->check_hide( 'valid' ) ) : ?>
|
256 |
<div class="error">
|
257 |
<p>
|
258 |
+
<strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->product->get_store_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() ); ?> </strong>
|
|
|
|
|
259 |
</p>
|
260 |
</div>
|
261 |
<?php endif; ?>
|
274 |
target="_blank">' . $this->product->get_store_name() . '</a>'
|
275 |
);
|
276 |
?>
|
277 |
+
</strong>
|
|
|
|
|
278 |
</p>
|
279 |
</div>
|
280 |
<?php
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
-
$themeisle_sdk_version = '2.
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
+
$themeisle_sdk_version = '2.1.0';
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9651cb440a62af3aa2d304272eeb48c4
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit9651cb440a62af3aa2d304272eeb48c4
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInite4e16cf00d7681e8ee43ec3e0e1e0b72
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInite4e16cf00d7681e8ee43ec3e0e1e0b72', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInite4e16cf00d7681e8ee43ec3e0e1e0b72', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequiree4e16cf00d7681e8ee43ec3e0e1e0b72($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequiree4e16cf00d7681e8ee43ec3e0e1e0b72($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit4818c40d08e422dc424aa26a1ee1de37 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInitdd46fa6f7bf6f1d5119268cef91fcc46 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitdd46fa6f7bf6f1d5119268cef91fcc46', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitdd46fa6f7bf6f1d5119268cef91fcc46', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
vendor/composer/installed.json
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
+
"reference": "ae69f3966081f0a7c7c468c00275c411cc0be063"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/ae69f3966081f0a7c7c468c00275c411cc0be063",
|
14 |
+
"reference": "ae69f3966081f0a7c7c468c00275c411cc0be063",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2018-01-04 13:30:43",
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|