admin_pages/registrations/Registrations_Admin_Page.core.php 1 location
|
@@ 2122-2125 (lines=4) @@
|
| 2119 |
|
$step = empty( $cart ) ? 'ticket' : 'questions'; |
| 2120 |
|
|
| 2121 |
|
//if doing ajax then we need to verify the nonce |
| 2122 |
|
if ( 'DOING_AJAX' ) { |
| 2123 |
|
$nonce = isset( $this->_req_data[$this->_req_nonce] ) ? sanitize_text_field( $this->_req_data[$this->_req_nonce] ) : ''; |
| 2124 |
|
$this->_verify_nonce( $nonce, $this->_req_nonce ); |
| 2125 |
|
} |
| 2126 |
|
|
| 2127 |
|
switch ( $step ) { |
| 2128 |
|
case 'ticket' : |
core/admin/EE_Admin_Page.core.php 1 location
|
@@ 868-872 (lines=5) @@
|
| 865 |
|
|
| 866 |
|
$nonce_check = isset( $this->_route_config['require_nonce'] ) ? $this->_route_config['require_nonce'] : TRUE; |
| 867 |
|
|
| 868 |
|
if ( $this->_req_action != 'default' && $nonce_check ) { |
| 869 |
|
// set nonce from post data |
| 870 |
|
$nonce = isset($this->_req_data[ $this->_req_nonce ]) ? sanitize_text_field( $this->_req_data[ $this->_req_nonce ] ) : ''; |
| 871 |
|
$this->_verify_nonce( $nonce, $this->_req_nonce ); |
| 872 |
|
} |
| 873 |
|
//set the nav_tabs array but ONLY if this is UI_request |
| 874 |
|
if ( $this->_is_UI_request ) |
| 875 |
|
$this->_set_nav_tabs(); |