caffeinated/admin/extend/registration_form/Extend_Registration_Form_Admin_Page.core.php 1 location
|
@@ 671-675 (lines=5) @@
|
| 668 |
|
'event_espresso'), $question_ID, $wpdb->last_error), __FILE__, __FUNCTION__, __LINE__); |
| 669 |
|
$this->_redirect_after_action(false, '', '', array('action' => 'default'), false); |
| 670 |
|
} |
| 671 |
|
} else { |
| 672 |
|
EE_Error::add_error(sprintf(esc_html__('Could not duplicate question with ID %d because it didn\'t exist!', |
| 673 |
|
'event_espresso'), $question_ID), __FILE__, __FUNCTION__, __LINE__); |
| 674 |
|
$this->_redirect_after_action(false, '', '', array('action' => 'default'), false); |
| 675 |
|
} |
| 676 |
|
} |
| 677 |
|
|
| 678 |
|
|
caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php 1 location
|
@@ 1019-1030 (lines=12) @@
|
| 1016 |
|
$errors++; |
| 1017 |
|
} |
| 1018 |
|
} |
| 1019 |
|
} else { |
| 1020 |
|
EE_Error::add_error( |
| 1021 |
|
esc_html__( |
| 1022 |
|
'So, something went wrong with the bulk delete because there was no data received for instructions on WHAT to delete!', |
| 1023 |
|
'event_espresso' |
| 1024 |
|
), |
| 1025 |
|
__FILE__, |
| 1026 |
|
__FUNCTION__, |
| 1027 |
|
__LINE__ |
| 1028 |
|
); |
| 1029 |
|
$this->_redirect_after_action(false, '', '', $query_args, true); |
| 1030 |
|
} |
| 1031 |
|
if ($errors > 0) { |
| 1032 |
|
EE_Error::add_error( |
| 1033 |
|
sprintf(__('There were %d records that did not delete successfully', 'event_espresso'), $errors), |
admin_pages/registrations/Registrations_Admin_Page.core.php 1 location
|
@@ 2629-2641 (lines=13) @@
|
| 2626 |
|
protected function _trash_or_restore_registrations($trash = true) |
| 2627 |
|
{ |
| 2628 |
|
//if empty _REG_ID then get out because there's nothing to do |
| 2629 |
|
if (empty($this->_req_data['_REG_ID'])) { |
| 2630 |
|
EE_Error::add_error( |
| 2631 |
|
sprintf( |
| 2632 |
|
esc_html__( |
| 2633 |
|
'In order to %1$s registrations you must select which ones you wish to %1$s by clicking the checkboxes.', |
| 2634 |
|
'event_espresso' |
| 2635 |
|
), |
| 2636 |
|
$trash ? 'trash' : 'restore' |
| 2637 |
|
), |
| 2638 |
|
__FILE__, __LINE__, __FUNCTION__ |
| 2639 |
|
); |
| 2640 |
|
$this->_redirect_after_action(false, '', '', array(), true); |
| 2641 |
|
} |
| 2642 |
|
$success = 0; |
| 2643 |
|
$overwrite_msgs = false; |
| 2644 |
|
//Checkboxes |
modules/ticket_selector/ProcessTicketSelector.php 1 location
|
@@ 439-451 (lines=13) @@
|
| 436 |
|
); |
| 437 |
|
} |
| 438 |
|
} |
| 439 |
|
if ($valid_ticket !== true) { |
| 440 |
|
// nothing added to cart retrieved |
| 441 |
|
EE_Error::add_error( |
| 442 |
|
sprintf( |
| 443 |
|
esc_html__( |
| 444 |
|
'A valid ticket could not be retrieved for the event.%sPlease click the back button on your browser and try again.', |
| 445 |
|
'event_espresso' |
| 446 |
|
), |
| 447 |
|
'<br/>' |
| 448 |
|
), |
| 449 |
|
__FILE__, __FUNCTION__, __LINE__ |
| 450 |
|
); |
| 451 |
|
} |
| 452 |
|
if (EE_Error::has_error()) { |
| 453 |
|
break; |
| 454 |
|
} |