shortcodes/espresso_thank_you/EES_Espresso_Thank_You.shortcode.php 1 location
|
@@ 215-226 (lines=12) @@
|
| 212 |
|
return; |
| 213 |
|
} |
| 214 |
|
// only do thank you page stuff if we have a REG_url_link in the url |
| 215 |
|
if ( WP_DEBUG && ! EE_Registry::instance()->REQ->is_set( 'e_reg_url_link' ) ) { |
| 216 |
|
EE_Error::add_error( |
| 217 |
|
__( |
| 218 |
|
'No transaction information could be retrieved because the registration URL link is missing or invalid.', |
| 219 |
|
'event_espresso' |
| 220 |
|
), |
| 221 |
|
__FILE__, |
| 222 |
|
__FUNCTION__, |
| 223 |
|
__LINE__ |
| 224 |
|
); |
| 225 |
|
return; |
| 226 |
|
} |
| 227 |
|
// check for reg_url_link |
| 228 |
|
$this->_reg_url_link = EE_Registry::instance()->REQ->get( 'e_reg_url_link' ); |
| 229 |
|
} |
modules/ticket_selector/ProcessTicketSelector.php 1 location
|
@@ 109-123 (lines=15) @@
|
| 106 |
|
{ |
| 107 |
|
do_action('EED_Ticket_Selector__process_ticket_selections__before'); |
| 108 |
|
// do we have an event id? |
| 109 |
|
if ( ! \EE_Registry::instance()->REQ->is_set('tkt-slctr-event-id')) { |
| 110 |
|
// $_POST['tkt-slctr-event-id'] was not set ?!?!?!? |
| 111 |
|
\EE_Error::add_error( |
| 112 |
|
sprintf( |
| 113 |
|
__( |
| 114 |
|
'An event id was not provided or was not received.%sPlease click the back button on your browser and try again.', |
| 115 |
|
'event_espresso' |
| 116 |
|
), |
| 117 |
|
'<br/>' |
| 118 |
|
), |
| 119 |
|
__FILE__, |
| 120 |
|
__FUNCTION__, |
| 121 |
|
__LINE__ |
| 122 |
|
); |
| 123 |
|
} |
| 124 |
|
//if event id is valid |
| 125 |
|
$id = absint(\EE_Registry::instance()->REQ->get('tkt-slctr-event-id')); |
| 126 |
|
// check nonce |