version 3.1.2 released
This commit is contained in:
parent
ca55f77acf
commit
eaeaf6e515
|
@ -14,8 +14,8 @@ if($ticket_user_id == $current_user_id || in_array( 'administrator', (array) $u
|
|||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0">
|
||||
<?php wp_head(); ?>
|
||||
<style>
|
||||
|
@ -193,26 +193,18 @@ do_action('mep_attendee_table_row_end',get_the_id());
|
|||
</div>
|
||||
<?php
|
||||
}else{
|
||||
// header("Location: ".home_url());
|
||||
// wp_redirect(home_url());
|
||||
|
||||
global $wp_query;
|
||||
$wp_query->set_404();
|
||||
status_header( 404 );
|
||||
get_template_part( 404 ); exit();
|
||||
|
||||
|
||||
// exit();
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php _e('Sorry, You Can not see this page, Because Its not your Attendee Information.','mage-eventpress'); ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<h3 style="text-align: center;border: 2px solid red;color: red;font-size: 30px;width: 60%;margin: 100px auto;padding: 30px;"><?php _e('Sorry, You Can not see this page, Because Its not your Attendee Information.','mage-eventpress'); ?></h3>
|
||||
<?php
|
||||
}
|
||||
do_action('at_footer');
|
||||
}else{
|
||||
|
||||
// wp_redirect(home_url());
|
||||
global $wp_query;
|
||||
$wp_query->set_404();
|
||||
status_header( 404 );
|
||||
get_template_part( 404 ); exit();
|
||||
// exit();
|
||||
wp_redirect(wp_login_url(get_the_permalink()));
|
||||
}
|
||||
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: 3.1.1
|
||||
* Version: 3.1.2
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
|
Loading…
Reference in New Issue