admin_pages/registrations/Registrations_Admin_Page.core.php 1 location
|
@@ 2199-2202 (lines=4) @@
|
| 2196 |
|
$step = ! $cart instanceof EE_Cart ? 'ticket' : 'questions'; |
| 2197 |
|
|
| 2198 |
|
//if doing ajax then we need to verify the nonce |
| 2199 |
|
if ( defined( 'DOING_AJAX' ) ) { |
| 2200 |
|
$nonce = isset( $this->_req_data[$this->_req_nonce] ) ? sanitize_text_field( $this->_req_data[$this->_req_nonce] ) : ''; |
| 2201 |
|
$this->_verify_nonce( $nonce, $this->_req_nonce ); |
| 2202 |
|
} |
| 2203 |
|
|
| 2204 |
|
switch ( $step ) { |
| 2205 |
|
|
core/admin/EE_Admin_Page.core.php 1 location
|
@@ 878-882 (lines=5) @@
|
| 875 |
|
|
| 876 |
|
$nonce_check = isset( $this->_route_config['require_nonce'] ) ? $this->_route_config['require_nonce'] : TRUE; |
| 877 |
|
|
| 878 |
|
if ( $this->_req_action != 'default' && $nonce_check ) { |
| 879 |
|
// set nonce from post data |
| 880 |
|
$nonce = isset($this->_req_data[ $this->_req_nonce ]) ? sanitize_text_field( $this->_req_data[ $this->_req_nonce ] ) : ''; |
| 881 |
|
$this->_verify_nonce( $nonce, $this->_req_nonce ); |
| 882 |
|
} |
| 883 |
|
//set the nav_tabs array but ONLY if this is UI_request |
| 884 |
|
if ( $this->_is_UI_request ) |
| 885 |
|
$this->_set_nav_tabs(); |