Give – Donation Plugin and Fundraising Platform - Version 2.4.3

Version Description

Give version 1.8 is a major update. Please make sure you make a backup of your database before updating.

Download this release

Release Info

Developer dlocc
Plugin Icon 128x128 Give – Donation Plugin and Fundraising Platform
Version 2.4.3
Comparing to
See all releases

Code changes from version 2.4.2 to 2.4.3

give.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
6
  * Author: GiveWP
7
  * Author URI: https://givewp.com/
8
- * Version: 2.4.2
9
  * Text Domain: give
10
  * Domain Path: /languages
11
  *
@@ -426,7 +426,7 @@ if ( ! class_exists( 'Give' ) ) :
426
 
427
  // Plugin version.
428
  if ( ! defined( 'GIVE_VERSION' ) ) {
429
- define( 'GIVE_VERSION', '2.4.2' );
430
  }
431
 
432
  // Plugin Root File.
5
  * Description: The most robust, flexible, and intuitive way to accept donations on WordPress.
6
  * Author: GiveWP
7
  * Author URI: https://givewp.com/
8
+ * Version: 2.4.3
9
  * Text Domain: give
10
  * Domain Path: /languages
11
  *
426
 
427
  // Plugin version.
428
  if ( ! defined( 'GIVE_VERSION' ) ) {
429
+ define( 'GIVE_VERSION', '2.4.3' );
430
  }
431
 
432
  // Plugin Root File.
includes/class-give-db-meta.php CHANGED
@@ -349,6 +349,7 @@ class Give_DB_Meta extends Give_DB {
349
  $status = true;
350
  } elseif (
351
  is_array( $wp_query->query['post_type'] ) &&
 
352
  in_array( $this->post_type, $wp_query->query['post_type'] )
353
  ) {
354
  $status = true;
349
  $status = true;
350
  } elseif (
351
  is_array( $wp_query->query['post_type'] ) &&
352
+ 1 === count( $wp_query->query['post_type'] ) &&
353
  in_array( $this->post_type, $wp_query->query['post_type'] )
354
  ) {
355
  $status = true;
includes/class-give-scripts.php CHANGED
@@ -444,7 +444,7 @@ class Give_Scripts {
444
  'payment-mode' => __( 'Please select payment mode.', 'give' ),
445
  'give_first' => __( 'Please enter your first name.', 'give' ),
446
  'give_email' => __( 'Please enter a valid email address.', 'give' ),
447
- 'give_user_login' => __( 'Invalid username. Only lowercase letters (a-z) and numbers are allowed.', 'give' ),
448
  'give_user_pass' => __( 'Enter a password.', 'give' ),
449
  'give_user_pass_confirm' => __( 'Enter the password confirmation.', 'give' ),
450
  'give_agree_to_terms' => __( 'You must agree to the terms and conditions.', 'give' ),
444
  'payment-mode' => __( 'Please select payment mode.', 'give' ),
445
  'give_first' => __( 'Please enter your first name.', 'give' ),
446
  'give_email' => __( 'Please enter a valid email address.', 'give' ),
447
+ 'give_user_login' => __( 'Invalid email address or username.', 'give' ),
448
  'give_user_pass' => __( 'Enter a password.', 'give' ),
449
  'give_user_pass_confirm' => __( 'Enter the password confirmation.', 'give' ),
450
  'give_agree_to_terms' => __( 'You must agree to the terms and conditions.', 'give' ),
includes/forms/template.php CHANGED
@@ -32,11 +32,11 @@ function give_get_donation_form( $args = array() ) {
32
 
33
  // Backward compatibility for `form_id` function param.
34
  // If are calling this function directly with `form_id` the use `id` instead.
35
- $args['id'] = ! empty( $args['form_id'] ) ? absint( $args['form_id'] ) : $args['id'];
36
 
37
  // If `id` does not set then maybe we are single donation form page, so lets render form.
38
  if ( empty( $args['id'] ) && is_object( $post ) && $post->ID ) {
39
- $args['id'] = $post->ID;
40
  }
41
 
42
  // set `form_id` for backward compatibility because many filter and function using it.
@@ -154,7 +154,7 @@ function give_get_donation_form( $args = array() ) {
154
  <span class="give-hidden" style="display: none !important;">
155
  <label for="give-form-honeypot-<?php echo $form->ID; ?>"></label>
156
  <input id="give-form-honeypot-<?php echo $form->ID; ?>" type="text" name="give-honeypot"
157
- class="give-honeypot give-hidden"/>
158
  </span>
159
 
160
  <?php
@@ -1434,7 +1434,7 @@ function give_get_login_fields( $form_id ) {
1434
  <fieldset id="give-login-fields-<?php echo $form_id; ?>">
1435
  <legend>
1436
  <?php
1437
- echo apply_filters( 'give_account_login_fieldset_heading', __( 'Login to Your Account', 'give' ) );
1438
  if ( ! give_logged_in_only( $form_id ) ) {
1439
  echo ' <span class="sub-text">' . __( '(optional)', 'give' ) . '</span>';
1440
  }
@@ -1471,7 +1471,7 @@ function give_get_login_fields( $form_id ) {
1471
  <div class="give-user-login-fields-container">
1472
  <div id="give-user-login-wrap-<?php echo $form_id; ?>" class="form-row form-row-first form-row-responsive">
1473
  <label class="give-label" for="give-user-login-<?php echo $form_id; ?>">
1474
- <?php _e( 'Username', 'give' ); ?>
1475
  <?php if ( give_logged_in_only( $form_id ) ) { ?>
1476
  <span class="give-required-indicator">*</span>
1477
  <?php } ?>
@@ -1480,7 +1480,7 @@ function give_get_login_fields( $form_id ) {
1480
  <input class="give-input<?php echo ( give_logged_in_only( $form_id ) ) ? ' required' : ''; ?>"
1481
  type="text"
1482
  name="give_user_login" id="give-user-login-<?php echo $form_id; ?>" value=""
1483
- placeholder="<?php _e( 'Your username', 'give' ); ?>"<?php echo ( give_logged_in_only( $form_id ) ) ? ' required aria-required="true" ' : ''; ?>/>
1484
  </div>
1485
 
1486
  <div id="give-user-pass-wrap-<?php echo $form_id; ?>"
@@ -1494,7 +1494,9 @@ function give_get_login_fields( $form_id ) {
1494
  <input class="give-input<?php echo ( give_logged_in_only( $form_id ) ) ? ' required' : ''; ?>"
1495
  type="password" name="give_user_pass" id="give-user-pass-<?php echo $form_id; ?>"
1496
  placeholder="<?php _e( 'Your password', 'give' ); ?>"<?php echo ( give_logged_in_only( $form_id ) ) ? ' required aria-required="true" ' : ''; ?>/>
1497
- <input type="hidden" name="give-purchase-var" value="needs-to-login"/>
 
 
1498
  </div>
1499
 
1500
  <div id="give-forgot-password-wrap-<?php echo $form_id; ?>" class="give_login_forgot_password">
32
 
33
  // Backward compatibility for `form_id` function param.
34
  // If are calling this function directly with `form_id` the use `id` instead.
35
+ $args['id'] = ! empty( $args['form_id'] ) ? absint( $args['form_id'] ) : $args['id'];
36
 
37
  // If `id` does not set then maybe we are single donation form page, so lets render form.
38
  if ( empty( $args['id'] ) && is_object( $post ) && $post->ID ) {
39
+ $args['id'] = $post->ID;
40
  }
41
 
42
  // set `form_id` for backward compatibility because many filter and function using it.
154
  <span class="give-hidden" style="display: none !important;">
155
  <label for="give-form-honeypot-<?php echo $form->ID; ?>"></label>
156
  <input id="give-form-honeypot-<?php echo $form->ID; ?>" type="text" name="give-honeypot"
157
+ class="give-honeypot give-hidden"/>
158
  </span>
159
 
160
  <?php
1434
  <fieldset id="give-login-fields-<?php echo $form_id; ?>">
1435
  <legend>
1436
  <?php
1437
+ echo apply_filters( 'give_account_login_fieldset_heading', __( 'Log In to Your Account', 'give' ) );
1438
  if ( ! give_logged_in_only( $form_id ) ) {
1439
  echo ' <span class="sub-text">' . __( '(optional)', 'give' ) . '</span>';
1440
  }
1471
  <div class="give-user-login-fields-container">
1472
  <div id="give-user-login-wrap-<?php echo $form_id; ?>" class="form-row form-row-first form-row-responsive">
1473
  <label class="give-label" for="give-user-login-<?php echo $form_id; ?>">
1474
+ <?php _e( 'Username or Email Address', 'give' ); ?>
1475
  <?php if ( give_logged_in_only( $form_id ) ) { ?>
1476
  <span class="give-required-indicator">*</span>
1477
  <?php } ?>
1480
  <input class="give-input<?php echo ( give_logged_in_only( $form_id ) ) ? ' required' : ''; ?>"
1481
  type="text"
1482
  name="give_user_login" id="give-user-login-<?php echo $form_id; ?>" value=""
1483
+ placeholder="<?php _e( 'Your username or email', 'give' ); ?>"<?php echo ( give_logged_in_only( $form_id ) ) ? ' required aria-required="true" ' : ''; ?>/>
1484
  </div>
1485
 
1486
  <div id="give-user-pass-wrap-<?php echo $form_id; ?>"
1494
  <input class="give-input<?php echo ( give_logged_in_only( $form_id ) ) ? ' required' : ''; ?>"
1495
  type="password" name="give_user_pass" id="give-user-pass-<?php echo $form_id; ?>"
1496
  placeholder="<?php _e( 'Your password', 'give' ); ?>"<?php echo ( give_logged_in_only( $form_id ) ) ? ' required aria-required="true" ' : ''; ?>/>
1497
+ <?php if ( give_logged_in_only( $form_id ) ) : ?>
1498
+ <input type="hidden" name="give-purchase-var" value="needs-to-login"/>
1499
+ <?php endif; ?>
1500
  </div>
1501
 
1502
  <div id="give-forgot-password-wrap-<?php echo $form_id; ?>" class="give_login_forgot_password">
includes/misc-functions.php CHANGED
@@ -351,8 +351,6 @@ function give_get_host() {
351
  $host = 'ICDSoft';
352
  } elseif ( DB_HOST == 'mysqlv5' ) {
353
  $host = 'NetworkSolutions';
354
- } elseif ( strpos( $find_host, preg_match('wp', $find_host) ) ) {
355
- $host = "Bluehost";
356
  } elseif ( strpos( DB_HOST, 'ipagemysql.com' ) !== false ) {
357
  $host = 'iPage';
358
  } elseif ( strpos( DB_HOST, 'ipowermysql.com' ) !== false ) {
351
  $host = 'ICDSoft';
352
  } elseif ( DB_HOST == 'mysqlv5' ) {
353
  $host = 'NetworkSolutions';
 
 
354
  } elseif ( strpos( DB_HOST, 'ipagemysql.com' ) !== false ) {
355
  $host = 'iPage';
356
  } elseif ( strpos( DB_HOST, 'ipowermysql.com' ) !== false ) {
includes/process-donation.php CHANGED
@@ -226,18 +226,24 @@ add_action( 'wp_ajax_nopriv_give_process_donation', 'give_process_donation_form'
226
  */
227
  function give_check_logged_in_user_for_existing_email( &$valid_data ) {
228
 
229
- // Verify that the email address belongs to this customer.
230
  if ( is_user_logged_in() ) {
231
 
 
 
 
 
 
 
 
232
  $submitted_email = strtolower( $valid_data['user_email'] );
233
 
234
- $donor = new Give_Donor( get_current_user_id(), true );
235
  $donor_emails = array_map( 'strtolower', $donor->emails );
236
  $email_index = array_search( $submitted_email, $donor_emails, true );
237
 
238
  // If donor matched with email then return set formatted email from database.
239
  if ( false !== $email_index ) {
240
- $valid_data['user_email'] = $donor->emails[$email_index];
241
 
242
  return;
243
  }
@@ -363,9 +369,9 @@ function give_donation_form_validate_fields() {
363
  // Collect logged in user data.
364
  $valid_data['logged_in_user'] = give_donation_form_validate_logged_in_user();
365
  } elseif (
366
- isset( $post_data['give-purchase-var'] ) &&
367
- 'needs-to-register' === $post_data['give-purchase-var'] &&
368
- ! empty( $post_data['give_create_account'] )
369
  ) {
370
 
371
  // Set new user registration as required.
@@ -374,8 +380,8 @@ function give_donation_form_validate_fields() {
374
  // Validate new user data.
375
  $valid_data['new_user_data'] = give_donation_form_validate_new_user();
376
  } elseif (
377
- isset( $post_data['give-purchase-var'] ) &&
378
- 'needs-to-login' === $post_data['give-purchase-var']
379
  ) {
380
 
381
  // Set user login as required.
@@ -899,7 +905,7 @@ function give_donation_form_validate_user_login() {
899
 
900
  // Bailout, if Username is empty.
901
  if ( empty( $post_data['give_user_login'] ) ) {
902
- give_set_error( 'must_log_in', __( 'You must register or login to complete your donation.', 'give' ) );
903
 
904
  return $valid_user_data;
905
  }
226
  */
227
  function give_check_logged_in_user_for_existing_email( &$valid_data ) {
228
 
229
+ // Verify that the email address belongs to this donor.
230
  if ( is_user_logged_in() ) {
231
 
232
+ $donor = new Give_Donor( get_current_user_id(), true );
233
+
234
+ // Bailout: check if wp user is existing donor or not.
235
+ if ( ! $donor->id ) {
236
+ return;
237
+ }
238
+
239
  $submitted_email = strtolower( $valid_data['user_email'] );
240
 
 
241
  $donor_emails = array_map( 'strtolower', $donor->emails );
242
  $email_index = array_search( $submitted_email, $donor_emails, true );
243
 
244
  // If donor matched with email then return set formatted email from database.
245
  if ( false !== $email_index ) {
246
+ $valid_data['user_email'] = $donor->emails[ $email_index ];
247
 
248
  return;
249
  }
369
  // Collect logged in user data.
370
  $valid_data['logged_in_user'] = give_donation_form_validate_logged_in_user();
371
  } elseif (
372
+ isset( $post_data['give-purchase-var'] )
373
+ && 'needs-to-register' === $post_data['give-purchase-var']
374
+ && ! empty( $post_data['give_create_account'] )
375
  ) {
376
 
377
  // Set new user registration as required.
380
  // Validate new user data.
381
  $valid_data['new_user_data'] = give_donation_form_validate_new_user();
382
  } elseif (
383
+ isset( $post_data['give-purchase-var'] )
384
+ && 'needs-to-login' === $post_data['give-purchase-var']
385
  ) {
386
 
387
  // Set user login as required.
905
 
906
  // Bailout, if Username is empty.
907
  if ( empty( $post_data['give_user_login'] ) ) {
908
+ give_set_error( 'must_log_in', __( 'Please enter your username or email to log in.', 'give' ) );
909
 
910
  return $valid_user_data;
911
  }
languages/give.pot CHANGED
@@ -363,7 +363,7 @@ msgstr ""
363
  msgid "Give Donor"
364
  msgstr ""
365
 
366
- #: includes/class-give-scripts.php:188, includes/class-give-scripts.php:232, includes/forms/template.php:1515, includes/admin/donors/class-donor-table.php:570, includes/admin/donors/donors.php:500, includes/admin/donors/donors.php:727, includes/admin/donors/donors.php:1114, includes/admin/payments/view-payment-details.php:674
367
  msgid "Cancel"
368
  msgstr ""
369
 
@@ -679,19 +679,19 @@ msgstr ""
679
  msgid "Please select payment mode."
680
  msgstr ""
681
 
682
- #: includes/class-give-scripts.php:445, includes/process-donation.php:581, includes/shortcodes.php:405, includes/admin/admin-actions.php:793
683
  msgid "Please enter your first name."
684
  msgstr ""
685
 
686
- #: includes/class-give-scripts.php:446, includes/process-donation.php:577
687
  msgid "Please enter a valid email address."
688
  msgstr ""
689
 
690
- #: includes/class-give-scripts.php:447, includes/user-functions.php:305
691
- msgid "Invalid username. Only lowercase letters (a-z) and numbers are allowed."
692
  msgstr ""
693
 
694
- #: includes/class-give-scripts.php:448, includes/process-donation.php:955, includes/user-functions.php:410
695
  msgid "Enter a password."
696
  msgstr ""
697
 
@@ -699,7 +699,7 @@ msgstr ""
699
  msgid "Enter the password confirmation."
700
  msgstr ""
701
 
702
- #: includes/class-give-scripts.php:450, includes/process-donation.php:555
703
  msgid "You must agree to the terms and conditions."
704
  msgstr ""
705
 
@@ -5391,11 +5391,11 @@ msgstr ""
5391
  msgid "%s million"
5392
  msgstr ""
5393
 
5394
- #: includes/formatting.php:725, includes/formatting.php:762, includes/process-donation.php:844, includes/gateways/actions.php:48
5395
  msgid "Nonce verification has failed."
5396
  msgstr ""
5397
 
5398
- #: includes/install.php:356, includes/forms/template.php:1708, includes/forms/template.php:1713, tests/unit-tests/tests-install.php:100, includes/admin/forms/class-metabox-form-data.php:581, includes/admin/settings/class-settings-display.php:322
5399
  msgid "Agree to Terms?"
5400
  msgstr ""
5401
 
@@ -5415,11 +5415,11 @@ msgstr ""
5415
  msgid "Donation History"
5416
  msgstr ""
5417
 
5418
- #: includes/login-register.php:122, includes/process-donation.php:935
5419
  msgid "The password you entered is incorrect."
5420
  msgstr ""
5421
 
5422
- #: includes/login-register.php:125, includes/process-donation.php:959
5423
  msgid "The username you entered does not exist."
5424
  msgstr ""
5425
 
@@ -5435,7 +5435,7 @@ msgstr ""
5435
  msgid "Email address already taken."
5436
  msgstr ""
5437
 
5438
- #: includes/login-register.php:267, includes/process-donation.php:800, includes/process-donation.php:1000, includes/user-functions.php:364, includes/admin/donors/donor-actions.php:379
5439
  msgid "Invalid email."
5440
  msgstr ""
5441
 
@@ -5479,83 +5479,83 @@ msgstr ""
5479
  msgid "Untitled donation form"
5480
  msgstr ""
5481
 
5482
- #: includes/misc-functions.php:419
5483
  msgid "%1$s is <strong>deprecated</strong> since Give version %2$s! Use %3$s instead."
5484
  msgstr ""
5485
 
5486
- #: includes/misc-functions.php:423
5487
  msgid "%1$s is <strong>deprecated</strong> since Give version %2$s with no alternative available."
5488
  msgstr ""
5489
 
5490
- #: includes/misc-functions.php:499
5491
  msgid "Be sure to sign up for the Give newsletter below to stay informed of important updates and news."
5492
  msgstr ""
5493
 
5494
- #: includes/misc-functions.php:507
5495
  msgid "To complete your subscription, click the confirmation link in your email. Thank you!"
5496
  msgstr ""
5497
 
5498
- #: includes/misc-functions.php:514, includes/misc-functions.php:516
5499
  msgid "Email Address (required)"
5500
  msgstr ""
5501
 
5502
- #: includes/misc-functions.php:521, includes/misc-functions.php:523, templates/shortcode-profile-editor.php:52, includes/admin/import-functions.php:435, includes/forms/template.php:760, includes/forms/template.php:771, includes/admin/donors/donors.php:373, includes/admin/tools/export/give-export-donations-exporter.php:183, includes/admin/tools/import/class-give-import-donations.php:493
5503
  msgid "First Name"
5504
  msgstr ""
5505
 
5506
- #: includes/misc-functions.php:527, includes/misc-functions.php:529, templates/shortcode-profile-editor.php:60, includes/admin/import-functions.php:441, includes/forms/template.php:780, includes/forms/template.php:793, includes/admin/donors/donors.php:382, includes/admin/tools/export/give-export-donations-exporter.php:186
5507
  msgid "Last Name"
5508
  msgstr ""
5509
 
5510
- #: includes/misc-functions.php:533
5511
  msgid "Subscribe"
5512
  msgstr ""
5513
 
5514
- #: includes/misc-functions.php:616, includes/post-types.php:54
5515
  msgid "Donation Forms"
5516
  msgstr ""
5517
 
5518
- #: includes/misc-functions.php:702
5519
  msgid "array_column() expects at least 2 parameters, %s given."
5520
  msgstr ""
5521
 
5522
- #: includes/misc-functions.php:708
5523
  msgid "array_column() expects parameter 1 to be array, %s given."
5524
  msgstr ""
5525
 
5526
- #: includes/misc-functions.php:714
5527
  msgid "array_column(): The column key should be either a string or an integer."
5528
  msgstr ""
5529
 
5530
- #: includes/misc-functions.php:720
5531
  msgid "array_column(): The index key should be either a string or an integer."
5532
  msgstr ""
5533
 
5534
- #: includes/misc-functions.php:1560, includes/admin/tools/import/class-give-import-core-settings.php:467
5535
  msgid "Please upload or provide a valid JSON file."
5536
  msgstr ""
5537
 
5538
- #: includes/misc-functions.php:1593
5539
  msgid "For security reasons, please confirm your email address (%s) to view your complete donation history."
5540
  msgstr ""
5541
 
5542
- #: includes/misc-functions.php:1599, includes/admin/emails/class-email-access-email.php:45
5543
  msgid "Confirm Email"
5544
  msgstr ""
5545
 
5546
- #: includes/misc-functions.php:1601
5547
  msgid "Email Sent!"
5548
  msgstr ""
5549
 
5550
- #: includes/misc-functions.php:2241, includes/misc-functions.php:2282
5551
  msgid "View the receipt in your browser &raquo;"
5552
  msgstr ""
5553
 
5554
- #: includes/misc-functions.php:2360
5555
  msgid "You are trying to access invalid donation receipt. Please try again."
5556
  msgstr ""
5557
 
5558
- #: includes/misc-functions.php:2381
5559
  msgid "You must be logged in to view this donation receipt."
5560
  msgstr ""
5561
 
@@ -5842,115 +5842,115 @@ msgid "Widgets in this area will be shown on the single Give forms aside area. T
5842
  msgstr ""
5843
 
5844
  #. translators: 1. Donor Email, 2. Submitted Email
5845
- #: includes/process-donation.php:253
5846
  msgid "You are logged in as %1$s, and are submitting a donation as %2$s, which is an existing donor. To ensure that the email address is tied to the correct donor, please submit this donation from a logged-out browser, or choose another email address."
5847
  msgstr ""
5848
 
5849
  #. translators: %s: user first name
5850
- #: includes/process-donation.php:300
5851
  msgid "Welcome %s! You have successfully logged into your account."
5852
  msgstr ""
5853
 
5854
- #: includes/process-donation.php:330
5855
  msgid "Honeypot field detected. Go away bad bot!"
5856
  msgstr ""
5857
 
5858
- #: includes/process-donation.php:339
5859
  msgid "This donation has been flagged as spam. Please try again."
5860
  msgstr ""
5861
 
5862
- #: includes/process-donation.php:436
5863
  msgid "The donation form will process with a valid payment gateway."
5864
  msgstr ""
5865
 
5866
- #: includes/process-donation.php:440
5867
  msgid "The selected payment gateway is not enabled."
5868
  msgstr ""
5869
 
5870
- #: includes/process-donation.php:444
5871
  msgid "Please insert a valid donation amount."
5872
  msgstr ""
5873
 
5874
  #. translators: %s: minimum donation amount
5875
- #: includes/process-donation.php:452
5876
  msgid "This form has a minimum donation amount of %s."
5877
  msgstr ""
5878
 
5879
  #. translators: %s: Maximum donation amount
5880
- #: includes/process-donation.php:468
5881
  msgid "This form has a maximum donation amount of %s."
5882
  msgstr ""
5883
 
5884
- #: includes/process-donation.php:589
5885
  msgid "Please enter your title."
5886
  msgstr ""
5887
 
5888
- #: includes/process-donation.php:606
5889
  msgid "Please enter a credit card number."
5890
  msgstr ""
5891
 
5892
- #: includes/process-donation.php:617
5893
  msgid "Please enter a credit card CVC information."
5894
  msgstr ""
5895
 
5896
- #: includes/process-donation.php:628
5897
  msgid "Please enter a name of your credit card account holder."
5898
  msgstr ""
5899
 
5900
- #: includes/process-donation.php:639
5901
  msgid "Please enter a credit card expiry date."
5902
  msgstr ""
5903
 
5904
- #: includes/process-donation.php:649
5905
  msgid "Please enter your primary billing address."
5906
  msgstr ""
5907
 
5908
- #: includes/process-donation.php:653
5909
  msgid "Please enter your zip / postal code."
5910
  msgstr ""
5911
 
5912
- #: includes/process-donation.php:657
5913
  msgid "Please enter your billing city."
5914
  msgstr ""
5915
 
5916
- #: includes/process-donation.php:661
5917
  msgid "Please select your billing country."
5918
  msgstr ""
5919
 
5920
- #: includes/process-donation.php:667
5921
  msgid "Please enter billing state / province / County."
5922
  msgstr ""
5923
 
5924
- #: includes/process-donation.php:709
5925
  msgid "Please enter Company Name."
5926
  msgstr ""
5927
 
5928
- #: includes/process-donation.php:805
5929
  msgid "The user information is invalid."
5930
  msgstr ""
5931
 
5932
- #: includes/process-donation.php:902, includes/user-functions.php:319
5933
- msgid "You must register or login to complete your donation."
5934
  msgstr ""
5935
 
5936
- #: includes/process-donation.php:937, templates/shortcode-login.php:51, includes/forms/template.php:1503
5937
  msgid "Reset Password"
5938
  msgstr ""
5939
 
5940
- #: includes/process-donation.php:1026, includes/user-functions.php:354
5941
  msgid "Enter an email."
5942
  msgstr ""
5943
 
5944
- #: includes/process-donation.php:1210
5945
  msgid "The zip / postal code you entered for your billing address is invalid."
5946
  msgstr ""
5947
 
5948
  #. translators: %s: invalid donation amount
5949
- #: includes/process-donation.php:1519
5950
  msgid "Donation amount %s is invalid."
5951
  msgstr ""
5952
 
5953
- #: includes/process-donation.php:1570
5954
  msgid "The First Name and Last Name fields cannot contain an email address or numbers."
5955
  msgstr ""
5956
 
@@ -5998,7 +5998,7 @@ msgstr ""
5998
  msgid "Hey! We've raised {total} of the {total_goal} we are trying to raise for this campaign!"
5999
  msgstr ""
6000
 
6001
- #: includes/shortcodes.php:547, includes/forms/template.php:686, includes/forms/template.php:1886, includes/admin/forms/class-metabox-form-data.php:263, includes/admin/forms/class-metabox-form-data.php:273
6002
  msgid "Donate Now"
6003
  msgstr ""
6004
 
@@ -6019,10 +6019,18 @@ msgstr ""
6019
  msgid "Give Placeholder Image"
6020
  msgstr ""
6021
 
 
 
 
 
6022
  #: includes/user-functions.php:314
6023
  msgid "Enter a username."
6024
  msgstr ""
6025
 
 
 
 
 
6026
  #: includes/user-functions.php:359
6027
  msgid "Email already exists."
6028
  msgstr ""
@@ -6131,7 +6139,7 @@ msgstr[1] ""
6131
  msgid "Log into Your Account"
6132
  msgstr ""
6133
 
6134
- #: templates/shortcode-login.php:33, templates/shortcode-register.php:34, includes/admin/class-api-keys-table.php:192, includes/forms/template.php:1474
6135
  msgid "Username"
6136
  msgstr ""
6137
 
@@ -8385,12 +8393,12 @@ msgstr ""
8385
  msgid "Already have an account?"
8386
  msgstr ""
8387
 
8388
- #: includes/forms/template.php:1367, includes/forms/template.php:1511, includes/admin/forms/class-metabox-form-data.php:362, includes/admin/shortcodes/shortcode-give-login.php:24, includes/admin/shortcodes/shortcode-give-login.php:25
8389
  msgid "Login"
8390
  msgstr ""
8391
 
8392
  #: includes/forms/template.php:1437
8393
- msgid "Login to Your Account"
8394
  msgstr ""
8395
 
8396
  #: includes/forms/template.php:1439
@@ -8409,47 +8417,51 @@ msgstr ""
8409
  msgid "Register or donate as a guest &raquo;"
8410
  msgstr ""
8411
 
 
 
 
 
8412
  #: includes/forms/template.php:1483
8413
- msgid "Your username"
8414
  msgstr ""
8415
 
8416
  #: includes/forms/template.php:1496
8417
  msgid "Your password"
8418
  msgstr ""
8419
 
8420
- #: includes/forms/template.php:1583
8421
  msgid "Select Payment Method"
8422
  msgstr ""
8423
 
8424
- #: includes/forms/template.php:1724
8425
  msgid "Please enter valid terms and conditions in <a href=\"%s\">this form's settings</a>."
8426
  msgstr ""
8427
 
8428
- #: includes/forms/template.php:1739
8429
  msgid "Terms"
8430
  msgstr ""
8431
 
8432
- #: includes/forms/template.php:1760
8433
  msgid "Show Terms"
8434
  msgstr ""
8435
 
8436
- #: includes/forms/template.php:1762
8437
  msgid "Hide Terms"
8438
  msgstr ""
8439
 
8440
- #: includes/forms/template.php:1807, includes/admin/shortcodes/shortcode-give-donor-wall.php:154
8441
  msgid "Donation Total:"
8442
  msgstr ""
8443
 
8444
- #: includes/forms/template.php:2161
8445
  msgid "Notice:"
8446
  msgstr ""
8447
 
8448
- #: includes/forms/template.php:2161
8449
  msgid "Test mode is enabled. While in test mode no live donations are processed."
8450
  msgstr ""
8451
 
8452
- #: includes/forms/template.php:2191
8453
  msgid "Please log in in order to complete your donation."
8454
  msgstr ""
8455
 
363
  msgid "Give Donor"
364
  msgstr ""
365
 
366
+ #: includes/class-give-scripts.php:188, includes/class-give-scripts.php:232, includes/forms/template.php:1517, includes/admin/donors/class-donor-table.php:570, includes/admin/donors/donors.php:500, includes/admin/donors/donors.php:727, includes/admin/donors/donors.php:1114, includes/admin/payments/view-payment-details.php:674
367
  msgid "Cancel"
368
  msgstr ""
369
 
679
  msgid "Please select payment mode."
680
  msgstr ""
681
 
682
+ #: includes/class-give-scripts.php:445, includes/process-donation.php:587, includes/shortcodes.php:405, includes/admin/admin-actions.php:793
683
  msgid "Please enter your first name."
684
  msgstr ""
685
 
686
+ #: includes/class-give-scripts.php:446, includes/process-donation.php:583
687
  msgid "Please enter a valid email address."
688
  msgstr ""
689
 
690
+ #: includes/class-give-scripts.php:447
691
+ msgid "Invalid email address or username."
692
  msgstr ""
693
 
694
+ #: includes/class-give-scripts.php:448, includes/process-donation.php:961, includes/user-functions.php:410
695
  msgid "Enter a password."
696
  msgstr ""
697
 
699
  msgid "Enter the password confirmation."
700
  msgstr ""
701
 
702
+ #: includes/class-give-scripts.php:450, includes/process-donation.php:561
703
  msgid "You must agree to the terms and conditions."
704
  msgstr ""
705
 
5391
  msgid "%s million"
5392
  msgstr ""
5393
 
5394
+ #: includes/formatting.php:725, includes/formatting.php:762, includes/process-donation.php:850, includes/gateways/actions.php:48
5395
  msgid "Nonce verification has failed."
5396
  msgstr ""
5397
 
5398
+ #: includes/install.php:356, includes/forms/template.php:1710, includes/forms/template.php:1715, tests/unit-tests/tests-install.php:100, includes/admin/forms/class-metabox-form-data.php:581, includes/admin/settings/class-settings-display.php:322
5399
  msgid "Agree to Terms?"
5400
  msgstr ""
5401
 
5415
  msgid "Donation History"
5416
  msgstr ""
5417
 
5418
+ #: includes/login-register.php:122, includes/process-donation.php:941
5419
  msgid "The password you entered is incorrect."
5420
  msgstr ""
5421
 
5422
+ #: includes/login-register.php:125, includes/process-donation.php:965
5423
  msgid "The username you entered does not exist."
5424
  msgstr ""
5425
 
5435
  msgid "Email address already taken."
5436
  msgstr ""
5437
 
5438
+ #: includes/login-register.php:267, includes/process-donation.php:806, includes/process-donation.php:1006, includes/user-functions.php:364, includes/admin/donors/donor-actions.php:379
5439
  msgid "Invalid email."
5440
  msgstr ""
5441
 
5479
  msgid "Untitled donation form"
5480
  msgstr ""
5481
 
5482
+ #: includes/misc-functions.php:417
5483
  msgid "%1$s is <strong>deprecated</strong> since Give version %2$s! Use %3$s instead."
5484
  msgstr ""
5485
 
5486
+ #: includes/misc-functions.php:421
5487
  msgid "%1$s is <strong>deprecated</strong> since Give version %2$s with no alternative available."
5488
  msgstr ""
5489
 
5490
+ #: includes/misc-functions.php:497
5491
  msgid "Be sure to sign up for the Give newsletter below to stay informed of important updates and news."
5492
  msgstr ""
5493
 
5494
+ #: includes/misc-functions.php:505
5495
  msgid "To complete your subscription, click the confirmation link in your email. Thank you!"
5496
  msgstr ""
5497
 
5498
+ #: includes/misc-functions.php:512, includes/misc-functions.php:514
5499
  msgid "Email Address (required)"
5500
  msgstr ""
5501
 
5502
+ #: includes/misc-functions.php:519, includes/misc-functions.php:521, templates/shortcode-profile-editor.php:52, includes/admin/import-functions.php:435, includes/forms/template.php:760, includes/forms/template.php:771, includes/admin/donors/donors.php:373, includes/admin/tools/export/give-export-donations-exporter.php:183, includes/admin/tools/import/class-give-import-donations.php:493
5503
  msgid "First Name"
5504
  msgstr ""
5505
 
5506
+ #: includes/misc-functions.php:525, includes/misc-functions.php:527, templates/shortcode-profile-editor.php:60, includes/admin/import-functions.php:441, includes/forms/template.php:780, includes/forms/template.php:793, includes/admin/donors/donors.php:382, includes/admin/tools/export/give-export-donations-exporter.php:186
5507
  msgid "Last Name"
5508
  msgstr ""
5509
 
5510
+ #: includes/misc-functions.php:531
5511
  msgid "Subscribe"
5512
  msgstr ""
5513
 
5514
+ #: includes/misc-functions.php:614, includes/post-types.php:54
5515
  msgid "Donation Forms"
5516
  msgstr ""
5517
 
5518
+ #: includes/misc-functions.php:700
5519
  msgid "array_column() expects at least 2 parameters, %s given."
5520
  msgstr ""
5521
 
5522
+ #: includes/misc-functions.php:706
5523
  msgid "array_column() expects parameter 1 to be array, %s given."
5524
  msgstr ""
5525
 
5526
+ #: includes/misc-functions.php:712
5527
  msgid "array_column(): The column key should be either a string or an integer."
5528
  msgstr ""
5529
 
5530
+ #: includes/misc-functions.php:718
5531
  msgid "array_column(): The index key should be either a string or an integer."
5532
  msgstr ""
5533
 
5534
+ #: includes/misc-functions.php:1558, includes/admin/tools/import/class-give-import-core-settings.php:467
5535
  msgid "Please upload or provide a valid JSON file."
5536
  msgstr ""
5537
 
5538
+ #: includes/misc-functions.php:1591
5539
  msgid "For security reasons, please confirm your email address (%s) to view your complete donation history."
5540
  msgstr ""
5541
 
5542
+ #: includes/misc-functions.php:1597, includes/admin/emails/class-email-access-email.php:45
5543
  msgid "Confirm Email"
5544
  msgstr ""
5545
 
5546
+ #: includes/misc-functions.php:1599
5547
  msgid "Email Sent!"
5548
  msgstr ""
5549
 
5550
+ #: includes/misc-functions.php:2239, includes/misc-functions.php:2280
5551
  msgid "View the receipt in your browser &raquo;"
5552
  msgstr ""
5553
 
5554
+ #: includes/misc-functions.php:2358
5555
  msgid "You are trying to access invalid donation receipt. Please try again."
5556
  msgstr ""
5557
 
5558
+ #: includes/misc-functions.php:2379
5559
  msgid "You must be logged in to view this donation receipt."
5560
  msgstr ""
5561
 
5842
  msgstr ""
5843
 
5844
  #. translators: 1. Donor Email, 2. Submitted Email
5845
+ #: includes/process-donation.php:259
5846
  msgid "You are logged in as %1$s, and are submitting a donation as %2$s, which is an existing donor. To ensure that the email address is tied to the correct donor, please submit this donation from a logged-out browser, or choose another email address."
5847
  msgstr ""
5848
 
5849
  #. translators: %s: user first name
5850
+ #: includes/process-donation.php:306
5851
  msgid "Welcome %s! You have successfully logged into your account."
5852
  msgstr ""
5853
 
5854
+ #: includes/process-donation.php:336
5855
  msgid "Honeypot field detected. Go away bad bot!"
5856
  msgstr ""
5857
 
5858
+ #: includes/process-donation.php:345
5859
  msgid "This donation has been flagged as spam. Please try again."
5860
  msgstr ""
5861
 
5862
+ #: includes/process-donation.php:442
5863
  msgid "The donation form will process with a valid payment gateway."
5864
  msgstr ""
5865
 
5866
+ #: includes/process-donation.php:446
5867
  msgid "The selected payment gateway is not enabled."
5868
  msgstr ""
5869
 
5870
+ #: includes/process-donation.php:450
5871
  msgid "Please insert a valid donation amount."
5872
  msgstr ""
5873
 
5874
  #. translators: %s: minimum donation amount
5875
+ #: includes/process-donation.php:458
5876
  msgid "This form has a minimum donation amount of %s."
5877
  msgstr ""
5878
 
5879
  #. translators: %s: Maximum donation amount
5880
+ #: includes/process-donation.php:474
5881
  msgid "This form has a maximum donation amount of %s."
5882
  msgstr ""
5883
 
5884
+ #: includes/process-donation.php:595
5885
  msgid "Please enter your title."
5886
  msgstr ""
5887
 
5888
+ #: includes/process-donation.php:612
5889
  msgid "Please enter a credit card number."
5890
  msgstr ""
5891
 
5892
+ #: includes/process-donation.php:623
5893
  msgid "Please enter a credit card CVC information."
5894
  msgstr ""
5895
 
5896
+ #: includes/process-donation.php:634
5897
  msgid "Please enter a name of your credit card account holder."
5898
  msgstr ""
5899
 
5900
+ #: includes/process-donation.php:645
5901
  msgid "Please enter a credit card expiry date."
5902
  msgstr ""
5903
 
5904
+ #: includes/process-donation.php:655
5905
  msgid "Please enter your primary billing address."
5906
  msgstr ""
5907
 
5908
+ #: includes/process-donation.php:659
5909
  msgid "Please enter your zip / postal code."
5910
  msgstr ""
5911
 
5912
+ #: includes/process-donation.php:663
5913
  msgid "Please enter your billing city."
5914
  msgstr ""
5915
 
5916
+ #: includes/process-donation.php:667
5917
  msgid "Please select your billing country."
5918
  msgstr ""
5919
 
5920
+ #: includes/process-donation.php:673
5921
  msgid "Please enter billing state / province / County."
5922
  msgstr ""
5923
 
5924
+ #: includes/process-donation.php:715
5925
  msgid "Please enter Company Name."
5926
  msgstr ""
5927
 
5928
+ #: includes/process-donation.php:811
5929
  msgid "The user information is invalid."
5930
  msgstr ""
5931
 
5932
+ #: includes/process-donation.php:908
5933
+ msgid "Please enter your username or email to log in."
5934
  msgstr ""
5935
 
5936
+ #: includes/process-donation.php:943, templates/shortcode-login.php:51, includes/forms/template.php:1505
5937
  msgid "Reset Password"
5938
  msgstr ""
5939
 
5940
+ #: includes/process-donation.php:1032, includes/user-functions.php:354
5941
  msgid "Enter an email."
5942
  msgstr ""
5943
 
5944
+ #: includes/process-donation.php:1216
5945
  msgid "The zip / postal code you entered for your billing address is invalid."
5946
  msgstr ""
5947
 
5948
  #. translators: %s: invalid donation amount
5949
+ #: includes/process-donation.php:1525
5950
  msgid "Donation amount %s is invalid."
5951
  msgstr ""
5952
 
5953
+ #: includes/process-donation.php:1576
5954
  msgid "The First Name and Last Name fields cannot contain an email address or numbers."
5955
  msgstr ""
5956
 
5998
  msgid "Hey! We've raised {total} of the {total_goal} we are trying to raise for this campaign!"
5999
  msgstr ""
6000
 
6001
+ #: includes/shortcodes.php:547, includes/forms/template.php:686, includes/forms/template.php:1888, includes/admin/forms/class-metabox-form-data.php:263, includes/admin/forms/class-metabox-form-data.php:273
6002
  msgid "Donate Now"
6003
  msgstr ""
6004
 
6019
  msgid "Give Placeholder Image"
6020
  msgstr ""
6021
 
6022
+ #: includes/user-functions.php:305
6023
+ msgid "Invalid username. Only lowercase letters (a-z) and numbers are allowed."
6024
+ msgstr ""
6025
+
6026
  #: includes/user-functions.php:314
6027
  msgid "Enter a username."
6028
  msgstr ""
6029
 
6030
+ #: includes/user-functions.php:319
6031
+ msgid "You must register or login to complete your donation."
6032
+ msgstr ""
6033
+
6034
  #: includes/user-functions.php:359
6035
  msgid "Email already exists."
6036
  msgstr ""
6139
  msgid "Log into Your Account"
6140
  msgstr ""
6141
 
6142
+ #: templates/shortcode-login.php:33, templates/shortcode-register.php:34, includes/admin/class-api-keys-table.php:192
6143
  msgid "Username"
6144
  msgstr ""
6145
 
8393
  msgid "Already have an account?"
8394
  msgstr ""
8395
 
8396
+ #: includes/forms/template.php:1367, includes/forms/template.php:1513, includes/admin/forms/class-metabox-form-data.php:362, includes/admin/shortcodes/shortcode-give-login.php:24, includes/admin/shortcodes/shortcode-give-login.php:25
8397
  msgid "Login"
8398
  msgstr ""
8399
 
8400
  #: includes/forms/template.php:1437
8401
+ msgid "Log In to Your Account"
8402
  msgstr ""
8403
 
8404
  #: includes/forms/template.php:1439
8417
  msgid "Register or donate as a guest &raquo;"
8418
  msgstr ""
8419
 
8420
+ #: includes/forms/template.php:1474
8421
+ msgid "Username or Email Address"
8422
+ msgstr ""
8423
+
8424
  #: includes/forms/template.php:1483
8425
+ msgid "Your username or email"
8426
  msgstr ""
8427
 
8428
  #: includes/forms/template.php:1496
8429
  msgid "Your password"
8430
  msgstr ""
8431
 
8432
+ #: includes/forms/template.php:1585
8433
  msgid "Select Payment Method"
8434
  msgstr ""
8435
 
8436
+ #: includes/forms/template.php:1726
8437
  msgid "Please enter valid terms and conditions in <a href=\"%s\">this form's settings</a>."
8438
  msgstr ""
8439
 
8440
+ #: includes/forms/template.php:1741
8441
  msgid "Terms"
8442
  msgstr ""
8443
 
8444
+ #: includes/forms/template.php:1762
8445
  msgid "Show Terms"
8446
  msgstr ""
8447
 
8448
+ #: includes/forms/template.php:1764
8449
  msgid "Hide Terms"
8450
  msgstr ""
8451
 
8452
+ #: includes/forms/template.php:1809, includes/admin/shortcodes/shortcode-give-donor-wall.php:154
8453
  msgid "Donation Total:"
8454
  msgstr ""
8455
 
8456
+ #: includes/forms/template.php:2163
8457
  msgid "Notice:"
8458
  msgstr ""
8459
 
8460
+ #: includes/forms/template.php:2163
8461
  msgid "Test mode is enabled. While in test mode no live donations are processed."
8462
  msgstr ""
8463
 
8464
+ #: includes/forms/template.php:2193
8465
  msgid "Please log in in order to complete your donation."
8466
  msgstr ""
8467
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: donation, donations, donation plugin, wordpress donation plugin, givewp, g
5
  Requires at least: 4.8
6
  Tested up to: 5.1
7
  Requires PHP: 5.6
8
- Stable tag: 2.4.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -207,6 +207,12 @@ Use Give for donations, and let WooCommerce or WP eCommerce or the like handle y
207
 
208
  == Changelog ==
209
 
 
 
 
 
 
 
210
  = 2.4.2: March 11th, 2019 =
211
  * Tweak: Adjusted how web hosts are detected in WP-Admin > Donations > Tools > System Info to improve accuracy. [#3356](https://github.com/impress-org/give/issues/3356)
212
  * Tweak: Added `get_goal` within the `Give_Donate_Form` for developers. [#4020](https://github.com/impress-org/give/issues/4020)
5
  Requires at least: 4.8
6
  Tested up to: 5.1
7
  Requires PHP: 5.6
8
+ Stable tag: 2.4.3
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
207
 
208
  == Changelog ==
209
 
210
+ = 2.4.3: March 13th, 2019 =
211
+ * Fix: Ensure when a donation form's "Registration" option is set to "Login" that it does not appear incorrectly as optional on the donation form. [#4045](https://github.com/impress-org/give/issues/4045)
212
+ * Fix: Prevent a PHP warning from displaying in the System Info window due to new host detection login in the previous release. [#4041](https://github.com/impress-org/give/issues/4041)
213
+ * Fix: Ensure that logged in users without donor's associated with their WP users can properly donate. This is a regretion fix from the previous version 2.4.2 release. [#4039](https://github.com/impress-org/give/issues/4039)
214
+ * Fix: Resolved an incompatibility with Elementor's "Finder" functionality. [#3912](https://github.com/impress-org/give/issues/3912)
215
+
216
  = 2.4.2: March 11th, 2019 =
217
  * Tweak: Adjusted how web hosts are detected in WP-Admin > Donations > Tools > System Info to improve accuracy. [#3356](https://github.com/impress-org/give/issues/3356)
218
  * Tweak: Added `get_goal` within the `Give_Donate_Form` for developers. [#4020](https://github.com/impress-org/give/issues/4020)
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3fc875615d59d60714534b929b0e1b46::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit48981779358af6ba2335366eec58f9ea::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3fc875615d59d60714534b929b0e1b46
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit3fc875615d59d60714534b929b0e1b46
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit3fc875615d59d60714534b929b0e1b46', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit3fc875615d59d60714534b929b0e1b46', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit3fc875615d59d60714534b929b0e1b46::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit48981779358af6ba2335366eec58f9ea
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit48981779358af6ba2335366eec58f9ea', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit48981779358af6ba2335366eec58f9ea', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit48981779358af6ba2335366eec58f9ea::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit3fc875615d59d60714534b929b0e1b46
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
@@ -40,9 +40,9 @@ class ComposerStaticInit3fc875615d59d60714534b929b0e1b46
40
  public static function getInitializer(ClassLoader $loader)
41
  {
42
  return \Closure::bind(function () use ($loader) {
43
- $loader->prefixLengthsPsr4 = ComposerStaticInit3fc875615d59d60714534b929b0e1b46::$prefixLengthsPsr4;
44
- $loader->prefixDirsPsr4 = ComposerStaticInit3fc875615d59d60714534b929b0e1b46::$prefixDirsPsr4;
45
- $loader->classMap = ComposerStaticInit3fc875615d59d60714534b929b0e1b46::$classMap;
46
 
47
  }, null, ClassLoader::class);
48
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit48981779358af6ba2335366eec58f9ea
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
40
  public static function getInitializer(ClassLoader $loader)
41
  {
42
  return \Closure::bind(function () use ($loader) {
43
+ $loader->prefixLengthsPsr4 = ComposerStaticInit48981779358af6ba2335366eec58f9ea::$prefixLengthsPsr4;
44
+ $loader->prefixDirsPsr4 = ComposerStaticInit48981779358af6ba2335366eec58f9ea::$prefixDirsPsr4;
45
+ $loader->classMap = ComposerStaticInit48981779358af6ba2335366eec58f9ea::$classMap;
46
 
47
  }, null, ClassLoader::class);
48
  }