caffeinated/admin/extend/registrations/Extend_Registrations_Admin_Page.core.php 1 location
|
@@ 1021-1032 (lines=12) @@
|
| 1018 |
|
$errors++; |
| 1019 |
|
} |
| 1020 |
|
} |
| 1021 |
|
} else { |
| 1022 |
|
EE_Error::add_error( |
| 1023 |
|
esc_html__( |
| 1024 |
|
'So, something went wrong with the bulk delete because there was no data received for instructions on WHAT to delete!', |
| 1025 |
|
'event_espresso' |
| 1026 |
|
), |
| 1027 |
|
__FILE__, |
| 1028 |
|
__FUNCTION__, |
| 1029 |
|
__LINE__ |
| 1030 |
|
); |
| 1031 |
|
$this->_redirect_after_action(false, '', '', $query_args, true); |
| 1032 |
|
} |
| 1033 |
|
if ($errors > 0) { |
| 1034 |
|
EE_Error::add_error( |
| 1035 |
|
sprintf(__('There were %d records that did not delete successfully', 'event_espresso'), $errors), |
caffeinated/admin/extend/registration_form/Extend_Registration_Form_Admin_Page.core.php 1 location
|
@@ 818-834 (lines=17) @@
|
| 815 |
|
array('action' => 'edit_question', 'QST_ID' => $new_question->ID()), |
| 816 |
|
true |
| 817 |
|
); |
| 818 |
|
} else { |
| 819 |
|
global $wpdb; |
| 820 |
|
EE_Error::add_error( |
| 821 |
|
sprintf( |
| 822 |
|
esc_html__( |
| 823 |
|
'Could not duplicate question with ID %1$d because: %2$s', |
| 824 |
|
'event_espresso' |
| 825 |
|
), |
| 826 |
|
$question_ID, |
| 827 |
|
$wpdb->last_error |
| 828 |
|
), |
| 829 |
|
__FILE__, |
| 830 |
|
__FUNCTION__, |
| 831 |
|
__LINE__ |
| 832 |
|
); |
| 833 |
|
$this->_redirect_after_action(false, '', '', array('action' => 'default'), false); |
| 834 |
|
} |
| 835 |
|
} else { |
| 836 |
|
EE_Error::add_error( |
| 837 |
|
sprintf( |
admin_pages/messages/Messages_Admin_Page.core.php 1 location
|
@@ 4543-4549 (lines=7) @@
|
| 4540 |
|
array(), |
| 4541 |
|
true |
| 4542 |
|
); |
| 4543 |
|
} else { |
| 4544 |
|
EE_Error::add_error( |
| 4545 |
|
_n('The message was not deleted.', 'The messages were not deleted', count($msg_ids), 'event_espresso'), |
| 4546 |
|
__FILE__, |
| 4547 |
|
__FUNCTION__, |
| 4548 |
|
__LINE__ |
| 4549 |
|
); |
| 4550 |
|
$this->_redirect_after_action(false, '', '', array(), true); |
| 4551 |
|
} |
| 4552 |
|
} |