attendee details page security issue fixed

This commit is contained in:
magepeopleteam 2019-06-26 09:11:23 +00:00
parent 76fb94c81c
commit e6f805a5e0
2 changed files with 16 additions and 5 deletions

View File

@ -194,14 +194,25 @@ do_action('mep_attendee_table_row_end',get_the_id());
<?php
}else{
// header("Location: ".home_url());
wp_redirect(home_url());
exit();
// wp_redirect(home_url());
global $wp_query;
$wp_query->set_404();
status_header( 404 );
get_template_part( 404 ); exit();
// exit();
}
do_action('at_footer');
}else{
wp_redirect(home_url());
exit();
// wp_redirect(home_url());
global $wp_query;
$wp_query->set_404();
status_header( 404 );
get_template_part( 404 ); exit();
// exit();
}
wp_footer();
?>

View File

@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Events Manager
* Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 2.6.4
* Version: 2.6.5
* Author: MagePeople Team
* Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress