@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
|
| 3 | - exit( 'No direct script access allowed' ); |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
| 3 | + exit('No direct script access allowed'); |
|
| 4 | 4 | } |
| 5 | 5 | |
| 6 | 6 | |
@@ -26,20 +26,20 @@ discard block |
||
| 26 | 26 | * @param EE_Response $response |
| 27 | 27 | * @return EE_Response |
| 28 | 28 | */ |
| 29 | - public function handle_request( EE_Request $request, EE_Response $response ) { |
|
| 29 | + public function handle_request(EE_Request $request, EE_Response $response) { |
|
| 30 | 30 | $this->_request = $request; |
| 31 | 31 | $this->_response = $response; |
| 32 | 32 | global $pagenow; |
| 33 | 33 | if ( |
| 34 | 34 | in_array( |
| 35 | 35 | $pagenow, |
| 36 | - array( 'wp-login.php', 'wp-register.php' ) |
|
| 36 | + array('wp-login.php', 'wp-register.php') |
|
| 37 | 37 | ) |
| 38 | - && ! $request->get( 'ee_load_on_login' ) |
|
| 38 | + && ! $request->get('ee_load_on_login') |
|
| 39 | 39 | ) { |
| 40 | 40 | $this->_response->terminate_request(); |
| 41 | 41 | } |
| 42 | - $this->_response = $this->process_request_stack( $this->_request, $this->_response ); |
|
| 42 | + $this->_response = $this->process_request_stack($this->_request, $this->_response); |
|
| 43 | 43 | return $this->_response; |
| 44 | 44 | } |
| 45 | 45 | |