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
|
@@ 884-888 (lines=5) @@
|
881 |
|
|
882 |
|
$nonce_check = isset( $this->_route_config['require_nonce'] ) ? $this->_route_config['require_nonce'] : TRUE; |
883 |
|
|
884 |
|
if ( $this->_req_action != 'default' && $nonce_check ) { |
885 |
|
// set nonce from post data |
886 |
|
$nonce = isset($this->_req_data[ $this->_req_nonce ]) ? sanitize_text_field( $this->_req_data[ $this->_req_nonce ] ) : ''; |
887 |
|
$this->_verify_nonce( $nonce, $this->_req_nonce ); |
888 |
|
} |
889 |
|
//set the nav_tabs array but ONLY if this is UI_request |
890 |
|
if ( $this->_is_UI_request ) |
891 |
|
$this->_set_nav_tabs(); |