version 3.1.2 released

This commit is contained in:
magepeopleteam 2020-02-18 07:12:59 +00:00
parent ca55f77acf
commit eaeaf6e515
2 changed files with 12 additions and 20 deletions

View File

@ -14,8 +14,8 @@ if($ticket_user_id == $current_user_id || in_array( 'administrator', (array) $u
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0">
<?php wp_head(); ?> <?php wp_head(); ?>
<style> <style>
@ -193,26 +193,18 @@ do_action('mep_attendee_table_row_end',get_the_id());
</div> </div>
<?php <?php
}else{ }else{
// header("Location: ".home_url()); ?>
// wp_redirect(home_url()); <html>
<head>
global $wp_query; <title><?php _e('Sorry, You Can not see this page, Because Its not your Attendee Information.','mage-eventpress'); ?></title>
$wp_query->set_404(); </head>
status_header( 404 ); <body>
get_template_part( 404 ); exit(); <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
// exit();
} }
do_action('at_footer'); do_action('at_footer');
}else{ }else{
wp_redirect(wp_login_url(get_the_permalink()));
// wp_redirect(home_url());
global $wp_query;
$wp_query->set_404();
status_header( 404 );
get_template_part( 404 ); exit();
// exit();
} }
wp_footer(); wp_footer();
?> ?>

View File

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