Contact Form & SMTP Plugin for WordPress by PirateForms - Version 2.0.3

Version Description

  • 2017-08-10
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Contact Form & SMTP Plugin for WordPress by PirateForms
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
 
2
- ### v2.0.2 - 2017-08-08
3
  **Changes:**
4
-
 
 
 
5
  ### v2.0.2 - 2017-08-07
6
  **Changes:**
7
  * Fixed none option for thank you page.
1
 
2
+ ### v2.0.3 - 2017-08-10
3
  **Changes:**
4
+ * Fixed fatal errors on some environments because of anonymous functions usage.
5
+ * Fixed thank you message when nonces are disabled.
6
+ * Added compatibility with pro version.
7
+
8
  ### v2.0.2 - 2017-08-07
9
  **Changes:**
10
  * Fixed none option for thank you page.
admin/css/wp-admin.css CHANGED
@@ -120,6 +120,53 @@
120
  vertical-align: top;
121
  }
122
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  .wrap {
124
  margin-right: 0;
125
  }
@@ -286,8 +333,9 @@ div.pirate_dashicons > form > div > label {
286
 
287
  @media screen and (max-width:1200px) {
288
  #pirate-forms-sidebar {
 
289
  width: 100%;
290
- margin: 4px;
291
  text-align: center;
292
  }
293
 
@@ -298,7 +346,7 @@ div.pirate_dashicons > form > div > label {
298
  }
299
 
300
  #pirate-forms-sidebar div.card {
301
- width: 100%;
302
  min-width: initial;
303
  max-width: initial;
304
  margin: auto;
120
  vertical-align: top;
121
  }
122
 
123
+ .pirate-upgrade {
124
+ margin-bottom: 25px !important;
125
+ padding: 2em;
126
+ border-color: #f3d1bd;
127
+ background: #fdf9f6;
128
+ }
129
+
130
+ .pirate-upgrade h3 {
131
+ margin: 0;
132
+ color: #e18a58;
133
+ font-weight: 700;
134
+ text-align: center;
135
+ }
136
+
137
+ .pirate-upgrade ul {
138
+ margin: 25px 20px;
139
+ text-align: left;
140
+ list-style-type: disc;
141
+ }
142
+
143
+ .pirate-upgrade ul li {
144
+ margin-bottom: 10px;
145
+ }
146
+
147
+ .pirate-upgrade ul li:last-child {
148
+ margin-bottom: 0;
149
+ }
150
+
151
+ .pirate-upgrade a.btn {
152
+ display: block;
153
+ padding: 10px;
154
+ border-radius: 3px;
155
+ color: #fff;
156
+ background: #e18a58;
157
+ font-weight: 700;
158
+ text-align: center;
159
+ text-decoration: none;
160
+ letter-spacing: 0.1em;
161
+ text-transform: uppercase;
162
+ -webkit-transition: 0.3s ease;
163
+ transition: 0.3s ease;
164
+ }
165
+
166
+ .pirate-upgrade a.btn:hover {
167
+ background: #e9a883;
168
+ }
169
+
170
  .wrap {
171
  margin-right: 0;
172
  }
333
 
334
  @media screen and (max-width:1200px) {
335
  #pirate-forms-sidebar {
336
+ float: left;
337
  width: 100%;
338
+ margin: 20px 4px 4px;
339
  text-align: center;
340
  }
341
 
346
  }
347
 
348
  #pirate-forms-sidebar div.card {
349
+ width: auto;
350
  min-width: initial;
351
  max-width: initial;
352
  margin: auto;
admin/partials/pirateforms-settings-sidebar-subscribe.php CHANGED
@@ -1,33 +1,52 @@
1
- <div class="pirate-subscribe postbox card">
2
- <h3 class="title"><?php esc_html_e( 'Get Our Free Email Course', 'pirate-forms' ); ?></h3>
3
- <div class="pirate-forms-subscribe-content">
4
- <?php
5
- if ( ! empty( $_POST['pirate_forms_mail'] ) ) {
6
- require( PIRATE_FORMS_PATH . 'mailin.php' );
7
- $user_info = get_userdata( 1 );
8
- $mailin = new Mailin( 'https://api.sendinblue.com/v2.0', 'cHW5sxZnzE7mhaYb' );
9
- $data = array(
10
- 'email' => $_POST['pirate_forms_mail'],
11
- 'attributes' => array(
12
- 'NAME' => $user_info->first_name,
13
- 'SURNAME' => $user_info->last_name,
14
- ),
15
- 'blacklisted' => 0,
16
- 'listid' => array( 51 ),
17
- 'blacklisted_sms' => 0,
18
- );
19
- $status = $mailin->create_update_user( $data );
20
- if ( $status['code'] == 'success' ) {
21
- update_option( 'pirate_forms_subscribe', true );
22
- }
23
- }
24
- $was_submited = get_option( 'pirate_forms_subscribe', false );
25
- if ( $was_submited == false ) {
26
- echo sprintf( '<p> %s </p><form class="pirate-forms-submit-mail" method="post"><input name="pirate_forms_mail" type="email" value="' . get_option( 'admin_email' ) . '" /><input class="button" type="submit" value="Submit"></form>', esc_html__( 'Ready to learn how to reduce your website loading times by half? Come and join the 1st lesson here!', 'pirate-forms' ) );
27
- } else {
28
- echo sprintf( '<p> %s </p>', esc_html__( 'Thank you for subscribing! You have been added to the mailing list and will receive the next email information in the coming weeks. If you ever wish to unsubscribe, simply use the "Unsubscribe" link included in each newsletter.', 'pirate-forms' ) );
29
- }
30
- ?>
31
- </div>
32
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
1
+ <?php
2
+ if ( ! defined( 'PIRATEFORMSPRO_BASEFILE' ) ) :
3
+ ?>
4
+ <div class="pirate-upgrade postbox card">
5
+ <h3 class="title"><?php esc_html_e( 'Extend to FULL version', 'pirate-forms' ); ?></h3>
6
+ <ul>
7
+ <li>Multiple forms builder</li>
8
+ <li>MailChimp integration</li>
9
+ <li>Developer friendly</li>
10
+ <li>12 months Support & Updates</li>
11
+ <li>30 days Money Back Guaranteed</li>
12
+ </ul>
13
+ <a href="https://themeisle.com/plugins/pirate-forms-extended/" target="_blank"
14
+ title="<?php esc_attr_e( 'View more features', 'pirate-forms' ); ?>"
15
+ class="btn"><?php esc_html_e( 'View more features', 'pirate-forms' ); ?></a>
16
+ </div>
17
+ <?php
18
+ endif;
19
+ ?>
20
+ <div class="pirate-subscribe postbox card">
21
+ <h3 class="title"><?php esc_html_e( 'Get Our Free Email Course', 'pirate-forms' ); ?></h3>
22
+ <div class="pirate-forms-subscribe-content">
23
+ <?php
24
+ if ( ! empty( $_POST['pirate_forms_mail'] ) ) {
25
+ require( PIRATE_FORMS_PATH . 'mailin.php' );
26
+ $user_info = get_userdata( 1 );
27
+ $mailin = new Mailin( 'https://api.sendinblue.com/v2.0', 'cHW5sxZnzE7mhaYb' );
28
+ $data = array(
29
+ 'email' => $_POST['pirate_forms_mail'],
30
+ 'attributes' => array(
31
+ 'NAME' => $user_info->first_name,
32
+ 'SURNAME' => $user_info->last_name,
33
+ ),
34
+ 'blacklisted' => 0,
35
+ 'listid' => array( 51 ),
36
+ 'blacklisted_sms' => 0,
37
+ );
38
+ $status = $mailin->create_update_user( $data );
39
+ if ( $status['code'] == 'success' ) {
40
+ update_option( 'pirate_forms_subscribe', true );
41
+ }
42
+ }
43
+ $was_submited = get_option( 'pirate_forms_subscribe', false );
44
+ if ( $was_submited == false ) {
45
+ echo sprintf( '<p> %s </p><form class="pirate-forms-submit-mail" method="post"><input name="pirate_forms_mail" type="email" value="' . get_option( 'admin_email' ) . '" /><input class="button" type="submit" value="Submit"></form>', esc_html__( 'Ready to learn how to reduce your website loading times by half? Come and join the 1st lesson here!', 'pirate-forms' ) );
46
+ } else {
47
+ echo sprintf( '<p> %s </p>', esc_html__( 'Thank you for subscribing! You have been added to the mailing list and will receive the next email information in the coming weeks. If you ever wish to unsubscribe, simply use the "Unsubscribe" link included in each newsletter.', 'pirate-forms' ) );
48
+ }
49
+ ?>
50
+ </div>
51
+ </div>
52
 
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.0.2';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'pirateforms';
72
+ $this->version = '2.0.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.0.2\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
7
- "POT-Creation-Date: 2017-08-07 08:38:43+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -402,17 +402,26 @@ msgstr ""
402
  msgid "Save changes"
403
  msgstr ""
404
 
405
- #: admin/partials/pirateforms-settings-sidebar-subscribe.php:2
 
 
 
 
 
 
 
 
 
406
  msgid "Get Our Free Email Course"
407
  msgstr ""
408
 
409
- #: admin/partials/pirateforms-settings-sidebar-subscribe.php:26
410
  msgid ""
411
  "Ready to learn how to reduce your website loading times by half? Come and "
412
  "join the 1st lesson here!"
413
  msgstr ""
414
 
415
- #: admin/partials/pirateforms-settings-sidebar-subscribe.php:28
416
  msgid ""
417
  "Thank you for subscribing! You have been added to the mailing list and will "
418
  "receive the next email information in the coming weeks. If you ever wish to "
@@ -533,7 +542,7 @@ msgstr ""
533
  msgid "There was an unknown error uploading the file."
534
  msgstr ""
535
 
536
- #: public/class-pirateforms-public.php:800
537
  msgid "Submit"
538
  msgstr ""
539
 
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Free & Simple Contact Form Plugin - Pirateforms 2.0.3\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
7
+ "POT-Creation-Date: 2017-08-10 13:23:24+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
402
  msgid "Save changes"
403
  msgstr ""
404
 
405
+ #: admin/partials/pirateforms-settings-sidebar-subscribe.php:5
406
+ msgid "Extend to FULL version"
407
+ msgstr ""
408
+
409
+ #: admin/partials/pirateforms-settings-sidebar-subscribe.php:14
410
+ #: admin/partials/pirateforms-settings-sidebar-subscribe.php:15
411
+ msgid "View more features"
412
+ msgstr ""
413
+
414
+ #: admin/partials/pirateforms-settings-sidebar-subscribe.php:21
415
  msgid "Get Our Free Email Course"
416
  msgstr ""
417
 
418
+ #: admin/partials/pirateforms-settings-sidebar-subscribe.php:45
419
  msgid ""
420
  "Ready to learn how to reduce your website loading times by half? Come and "
421
  "join the 1st lesson here!"
422
  msgstr ""
423
 
424
+ #: admin/partials/pirateforms-settings-sidebar-subscribe.php:47
425
  msgid ""
426
  "Thank you for subscribing! You have been added to the mailing list and will "
427
  "receive the next email information in the coming weeks. If you ever wish to "
542
  msgid "There was an unknown error uploading the file."
543
  msgstr ""
544
 
545
+ #: public/class-pirateforms-public.php:801
546
  msgid "Submit"
547
  msgstr ""
548
 
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.0.2
20
  * Author: Themeisle
21
  * Author URI: http://themeisle.com
22
  * Text Domain: pirate-forms
@@ -35,7 +35,7 @@ if ( ! defined( 'WPINC' ) ) {
35
 
36
  define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
37
  define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
38
- define( 'PIRATE_FORMS_VERSION', '2.0.2' );
39
  define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
40
  define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
41
  define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
@@ -141,18 +141,29 @@ function run_pirate_forms() {
141
  if ( is_readable( $vendor_file ) ) {
142
  require_once $vendor_file;
143
  }
144
- add_filter(
145
- 'themeisle_sdk_products', function ( $products ) {
146
- $products[] = PIRATEFORMS_BASEFILE;
147
- return $products;
148
- }
149
- );
150
- add_filter(
151
- 'pirate_parrot_log', function ( $plugins ) {
152
- $plugins[] = PIRATEFORMS_NAME;
153
- return $plugins;
154
- }
155
- );
156
  }
 
 
 
 
 
 
 
 
 
 
 
157
  spl_autoload_register( 'pirate_forms_autoload' );
158
  run_pirate_forms();
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.0.3
20
  * Author: Themeisle
21
  * Author URI: http://themeisle.com
22
  * Text Domain: pirate-forms
35
 
36
  define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
37
  define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
38
+ define( 'PIRATE_FORMS_VERSION', '2.0.3' );
39
  define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
40
  define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
41
  define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
141
  if ( is_readable( $vendor_file ) ) {
142
  require_once $vendor_file;
143
  }
144
+ add_filter( 'themeisle_sdk_products', 'pirate_forms_register_sdk', 10, 1 );
145
+ add_filter( 'pirate_parrot_log', 'pirate_forms_register_parrot', 10, 1 );
146
+ }
147
+
148
+ /**
149
+ * Registers with the SDK
150
+ *
151
+ * @since 1.0.0
152
+ */
153
+ function pirate_forms_register_sdk( $products ) {
154
+ $products[] = PIRATEFORMS_BASEFILE;
155
+ return $products;
156
  }
157
+
158
+ /**
159
+ * Registers with the parrot plugin
160
+ *
161
+ * @since 1.0.0
162
+ */
163
+ function pirate_forms_register_parrot( $plugins ) {
164
+ $plugins[] = PIRATEFORMS_NAME;
165
+ return $plugins;
166
+ }
167
+
168
  spl_autoload_register( 'pirate_forms_autoload' );
169
  run_pirate_forms();
public/class-pirateforms-public.php CHANGED
@@ -616,11 +616,12 @@ class PirateForms_Public {
616
 
617
  $thank_you_message = '';
618
  /* thank you message */
619
- if ( ( ( isset( $_GET['pcf'] ) && $_GET['pcf'] == 1 ) || ( isset( $_POST['pirate-forms-contact-submit'] ) ) )
620
- && empty( $_SESSION[ $error_key ] )
621
- && wp_verify_nonce( $_POST['wordpress-nonce'], get_bloginfo( 'admin_email' ) . ( empty( $atts['from'] ) ? 'no' : 'yes' ) )
622
- ) {
623
- $thank_you_message = sanitize_text_field( $pirate_forms_options['pirateformsopt_label_submit'] );
 
624
  }
625
  $pirate_form->set_element( 'thank_you_message', $thank_you_message );
626
 
@@ -642,7 +643,7 @@ class PirateForms_Public {
642
  if ( ! empty( $field ) && ! empty( $label ) ) :
643
  $required = $field === 'req' ? true : false;
644
  $wrap_classes = array(
645
- 'contact_name_wrap pirate_forms_three_inputs form_field_wrap',
646
  );
647
  // If this field was submitted with invalid data
648
  if ( isset( $_SESSION[ $error_key ]['contact-name'] ) ) {
@@ -671,7 +672,7 @@ class PirateForms_Public {
671
  if ( ! empty( $field ) && ! empty( $label ) ) :
672
  $required = $field === 'req' ? true : false;
673
  $wrap_classes = array(
674
- 'contact_email_wrap pirate_forms_three_inputs form_field_wrap',
675
  );
676
  // If this field was submitted with invalid data
677
  if ( isset( $_SESSION[ $error_key ]['contact-email'] ) ) {
616
 
617
  $thank_you_message = '';
618
  /* thank you message */
619
+ if ( ( ( isset( $_GET['pcf'] ) && $_GET['pcf'] == 1 ) || ( isset( $_POST['pirate-forms-contact-submit'] ) ) ) && empty( $_SESSION[ $error_key ] ) ) {
620
+ $show_nonce = PirateForms_Util::get_option( 'pirateformsopt_nonce' );
621
+ $nonce_val = get_bloginfo( 'admin_email' ) . ( empty( $atts['from'] ) ? 'no' : 'yes' );
622
+ if ( empty( $show_nonce ) || ( 'yes' === $show_nonce && wp_verify_nonce( $_POST['wordpress-nonce'], $nonce_val ) ) ) {
623
+ $thank_you_message = sanitize_text_field( $pirate_forms_options['pirateformsopt_label_submit'] );
624
+ }
625
  }
626
  $pirate_form->set_element( 'thank_you_message', $thank_you_message );
627
 
643
  if ( ! empty( $field ) && ! empty( $label ) ) :
644
  $required = $field === 'req' ? true : false;
645
  $wrap_classes = array(
646
+ 'col-sm-6 col-lg-6 contact_name_wrap pirate_forms_three_inputs form_field_wrap',
647
  );
648
  // If this field was submitted with invalid data
649
  if ( isset( $_SESSION[ $error_key ]['contact-name'] ) ) {
672
  if ( ! empty( $field ) && ! empty( $label ) ) :
673
  $required = $field === 'req' ? true : false;
674
  $wrap_classes = array(
675
+ 'col-sm-6 col-lg-6 contact_email_wrap pirate_forms_three_inputs form_field_wrap',
676
  );
677
  // If this field was submitted with invalid data
678
  if ( isset( $_SESSION[ $error_key ]['contact-email'] ) ) {
public/css/front.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 2.0.2
3
  */
4
  .pirate_forms_wrap .form_field_wrap {
5
  margin-bottom: 20px;
1
  /*
2
+ Version: 2.0.3
3
  */
4
  .pirate_forms_wrap .form_field_wrap {
5
  margin-bottom: 20px;
readme.txt CHANGED
@@ -14,6 +14,15 @@ A simple and effective WordPress contact form & SMTP plugin. Compatible with bes
14
  Stay in touch with your visitors very easily. <a href="https://themeisle.com/plugins/pirate-forms/" rel="nofollow">Pirate Contact Forms</a> offers you a great and friendly contact form for your website.
15
  This is an easy-to-use WordPress contact form with captcha plugin. To create a contact form you just need to use the [pirate_forms] shortcode or use the WordPress contact form widget.
16
 
 
 
 
 
 
 
 
 
 
17
 
18
  **Why use our responsive WordPress Contact Form:**
19
 
@@ -45,6 +54,14 @@ A simple to use contact form plugin for creating a clean contact form using the
45
 
46
  This is not a form maker or drag & drop builder plugin nor "the best contact form plugin", you cannot add new fields or create multiple forms (subscription forms, payment, order, feedback or quote), there are some great alternatives out there for those like : Caldera Forms or Ninja Forms.
47
 
 
 
 
 
 
 
 
 
48
 
49
 
50
  We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Pirate Contact Form, check them out.
@@ -113,6 +130,13 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you'
113
  4. Screenshot 4. Enabling SMTP
114
 
115
  == Changelog ==
 
 
 
 
 
 
 
116
  = 2.0.2 - 2017-08-07 =
117
 
118
  * Fixed none option for thank you page.
14
  Stay in touch with your visitors very easily. <a href="https://themeisle.com/plugins/pirate-forms/" rel="nofollow">Pirate Contact Forms</a> offers you a great and friendly contact form for your website.
15
  This is an easy-to-use WordPress contact form with captcha plugin. To create a contact form you just need to use the [pirate_forms] shortcode or use the WordPress contact form widget.
16
 
17
+ > **Time-saving features available in the FULL version:**
18
+ >
19
+ > * Create multiple forms
20
+ > * Mailchimp Integration
21
+ > * Developer friendly
22
+ > * 12 months Support & Updates
23
+ > * 30 days Money Back Guaranteed
24
+ >
25
+ > **[Learn more about Pirate Forms Extended version]( https://themeisle.com/plugins/pirate-forms-extended/ )**
26
 
27
  **Why use our responsive WordPress Contact Form:**
28
 
54
 
55
  This is not a form maker or drag & drop builder plugin nor "the best contact form plugin", you cannot add new fields or create multiple forms (subscription forms, payment, order, feedback or quote), there are some great alternatives out there for those like : Caldera Forms or Ninja Forms.
56
 
57
+ = See how Pirate Forms can integrate with your website =
58
+
59
+ * [Default form](https://demo.themeisle.com/pirate-forms/default-form-shortcode/)
60
+ * [Use multiple forms on same page](https://demo.themeisle.com/pirate-forms/multiple-forms-page/)
61
+ * [Minimalistic form](https://demo.themeisle.com/pirate-forms/minimalistic-form/)
62
+ * [Form with attachment](https://demo.themeisle.com/pirate-forms/form-with-attachment/)
63
+
64
+
65
 
66
 
67
  We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Pirate Contact Form, check them out.
130
  4. Screenshot 4. Enabling SMTP
131
 
132
  == Changelog ==
133
+ = 2.0.3 - 2017-08-10 =
134
+
135
+ * Fixed fatal errors on some environments because of anonymous functions usage.
136
+ * Fixed thank you message when nonces are disabled.
137
+ * Added compatibility with pro version.
138
+
139
+
140
  = 2.0.2 - 2017-08-07 =
141
 
142
  * Fixed none option for thank you page.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitaded4f45b366ed7e0b9f96fb32075fe9::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitb1856054a631a177579466683046d7bd::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit937464a07bd020256623265eaff345a7::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitac9656859fc8ae65c43579e28fab5722::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php CHANGED
@@ -385,7 +385,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
385
  * @return bool Either we should require feedback on uninstall or not.
386
  */
387
  public function require_uninstall_feedback() {
388
- if ( $this->get_type() == 'theme' && ! $this->is_wordpress_available() && ! $this->is_external_author() ) {
389
  return ! get_transient( 'ti_sdk_pause_' . $this->get_key(), false );
390
  }
391
 
385
  * @return bool Either we should require feedback on uninstall or not.
386
  */
387
  public function require_uninstall_feedback() {
388
+ if ( $this->get_type() == 'theme' && ! $this->is_external_author() ) {
389
  return ! get_transient( 'ti_sdk_pause_' . $this->get_key(), false );
390
  }
391
 
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '1.5.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 = '1.5.5';
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 ComposerAutoloaderInitaded4f45b366ed7e0b9f96fb32075fe9
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitaded4f45b366ed7e0b9f96fb32075fe9
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitaded4f45b366ed7e0b9f96fb32075fe9', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitaded4f45b366ed7e0b9f96fb32075fe9', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitaded4f45b366ed7e0b9f96fb32075fe9
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequireaded4f45b366ed7e0b9f96fb32075fe9($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequireaded4f45b366ed7e0b9f96fb32075fe9($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitb1856054a631a177579466683046d7bd
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitb1856054a631a177579466683046d7bd', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitb1856054a631a177579466683046d7bd', '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
+ composerRequireb1856054a631a177579466683046d7bd($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequireb1856054a631a177579466683046d7bd($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 ComposerAutoloaderInit937464a07bd020256623265eaff345a7 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit937464a07bd020256623265eaff345a7 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit937464a07bd020256623265eaff345a7', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit937464a07bd020256623265eaff345a7', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInitac9656859fc8ae65c43579e28fab5722 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitac9656859fc8ae65c43579e28fab5722', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitac9656859fc8ae65c43579e28fab5722', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/installed.json CHANGED
@@ -39,15 +39,15 @@
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
- "reference": "45eeb250ea521acad002f59d7006933bb34e6f0b"
43
  },
44
  "dist": {
45
  "type": "zip",
46
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/45eeb250ea521acad002f59d7006933bb34e6f0b",
47
- "reference": "45eeb250ea521acad002f59d7006933bb34e6f0b",
48
  "shasum": ""
49
  },
50
- "time": "2017-08-08 11:48:44",
51
  "type": "library",
52
  "installation-source": "dist",
53
  "autoload": {
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
+ "reference": "f05bd8f0fe4d628424484e2bdd6d20ee65f454ee"
43
  },
44
  "dist": {
45
  "type": "zip",
46
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f05bd8f0fe4d628424484e2bdd6d20ee65f454ee",
47
+ "reference": "f05bd8f0fe4d628424484e2bdd6d20ee65f454ee",
48
  "shasum": ""
49
  },
50
+ "time": "2017-08-08 22:09:54",
51
  "type": "library",
52
  "installation-source": "dist",
53
  "autoload": {