Skip to content

Commit

Permalink
release 2.3.36
Browse files Browse the repository at this point in the history
  • Loading branch information
liedekef committed Jan 10, 2023
1 parent b8b90e4 commit 69ada42
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion eme-cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function eme_cron_gdpr_daily_actions() {
if ( ! eme_is_datamaster() ) {
return;
}
eme_member_remove_expired();
eme_member_remove_old_expired();
eme_rsvp_anonymize_old_bookings();
eme_delete_old_events();
eme_tasks_remove_old_signups();
Expand Down
2 changes: 1 addition & 1 deletion eme-members.php
Original file line number Diff line number Diff line change
Expand Up @@ -3381,7 +3381,7 @@ function eme_member_remove_pending() {
}

// for GDPR CRON
function eme_member_remove_expired() {
function eme_member_remove_old_expired() {
global $wpdb,$eme_db_prefix,$eme_timezone;
$table = $eme_db_prefix . MEMBERS_TBNAME;
$remove_expired_days = get_option( 'eme_gdpr_remove_expired_member_days' );
Expand Down
14 changes: 7 additions & 7 deletions eme-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -3566,17 +3566,17 @@ function eme_cancel_payment_form( $payment_randomid ) {
$person_ids = eme_get_booking_personids( $booking_ids );
$person = eme_get_person( $person_ids[0] );

$form_id = uniqid();
$nonce = wp_nonce_field( "cancel payment $payment_randomid", 'eme_frontend_nonce', false, false );
$form_id = uniqid();
$nonce = wp_nonce_field( "cancel payment $payment_randomid", 'eme_frontend_nonce', false, false );

$output = "<div id='eme-cancel-payment-message-ok-$form_id' class='eme-message-success eme-cancel-payment-message eme-cancel-payment-message-success eme-hidden'></div><div id='eme-cancel-payment-message-error-$form_id' class='eme-message-error eme-cancel-payment-message eme-cancel-payment-message-error eme-hidden'></div><div id='div_eme-cancel-payment-form-$form_id'><form id='$form_id' name='eme-cancel-payment-form' method='post' action='#'>
$output = "<div id='eme-cancel-payment-message-ok-$form_id' class='eme-message-success eme-cancel-payment-message eme-cancel-payment-message-success eme-hidden'></div><div id='eme-cancel-payment-message-error-$form_id' class='eme-message-error eme-cancel-payment-message eme-cancel-payment-message-error eme-hidden'></div><div id='div_eme-cancel-payment-form-$form_id'><form id='$form_id' name='eme-cancel-payment-form' method='post' action='#'>
$nonce
<span id='honeypot_check'><input type='text' name='honeypot_check' value='' autocomplete='off'></span>
<input type='hidden' name='eme_pmt_rndid' value='" . $payment_randomid . "'>
";
$output .= eme_replace_cancel_payment_placeholders( $format, $person, $booking_ids );
$output .= '</form>';
return $output;
$output .= eme_replace_cancel_payment_placeholders( $format, $person, $booking_ids );
$output .= '</form>';
return $output;
}

add_action( 'wp_ajax_eme_cancel_payment', 'eme_cancel_payment_ajax' );
Expand All @@ -3588,7 +3588,7 @@ function eme_cancel_payment_ajax() {
if ( ! isset( $_POST['honeypot_check'] ) || ! empty( $_POST['honeypot_check'] ) ) {
$form_html = __( "Bot detected. If you believe you've received this message in error please contact the site owner.", 'events-made-easy' );
echo wp_json_encode(
[
[
'Result' => 'NOK',
'htmlmessage' => $form_html,
]
Expand Down
4 changes: 2 additions & 2 deletions events-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/*
Plugin Name: Events Made Easy
Version: 2.3.35
Version: 2.3.36
Plugin URI: https://www.e-dynamics.be/wordpress
Update URI: https://github.com/liedekef/events-made-easy/
Description: Manage and display events and memberships. Also includes recurring events; locations; widgets; maps; RSVP; ICAL and RSS feeds; Paypal, 2Checkout and others.
Expand Down Expand Up @@ -35,7 +35,7 @@
*/

// Setting constants
define( 'EME_VERSION', '2.3.35' );
define( 'EME_VERSION', '2.3.36' );
define( 'EME_DB_VERSION', 365 );
define( 'EVENTS_TBNAME', 'eme_events' );
define( 'EVENTS_CF_TBNAME', 'eme_events_cf' );
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.e-dynamics.be/wordpress
Tags: events, memberships, locations, bookings, calendars, maps, payment gateways, drip content
Requires at least: 5.4
Tested up to: 6.1
Stable tag: 2.3.35
Stable tag: 2.3.36
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 69ada42

Please sign in to comment.