attendee details page security issue fixed
This commit is contained in:
parent
76fb94c81c
commit
e6f805a5e0
|
@ -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();
|
||||
?>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue