name()
+ ) . '"
>
'
. esc_html__('View Registrations', 'event_espresso') . '
diff --git a/admin_pages/registrations/Registrations_Admin_Page.core.php b/admin_pages/registrations/Registrations_Admin_Page.core.php
index 2197a95578..2359fac319 100644
--- a/admin_pages/registrations/Registrations_Admin_Page.core.php
+++ b/admin_pages/registrations/Registrations_Admin_Page.core.php
@@ -1225,11 +1225,11 @@ private function appendAddNewRegistrationButtonToPageTitle()
)
) {
$this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
- 'new_registration',
- 'add-registrant',
- ['event_id' => $EVT_ID],
- 'add-new-h2'
- );
+ 'new_registration',
+ 'add-registrant',
+ ['event_id' => $EVT_ID],
+ 'add-new-h2'
+ );
}
}
@@ -3322,9 +3322,9 @@ private function convertDatetimeObjectsToStrings(array $query_params): array
{
foreach ($query_params as $key => $value) {
if (is_array($value)) {
- $query_params[$key] = $this->convertDatetimeObjectsToStrings($value);
+ $query_params[ $key ] = $this->convertDatetimeObjectsToStrings($value);
} elseif ($value instanceof DateTime) {
- $query_params[$key] = $value->format('Y-m-d H:i:s');
+ $query_params[ $key ] = $value->format('Y-m-d H:i:s');
}
}
return $query_params;
@@ -3791,7 +3791,7 @@ protected function deleteAttendees()
$attendee = $this->getAttendeeModel()->get_one_by_ID($att_id);
if ($attendee instanceof EE_Attendee) {
$deleted = $attendee->delete_permanently();
- if($deleted) {
+ if ($deleted) {
$success++;
}
}
diff --git a/admin_pages/transactions/Transactions_Admin_Page.core.php b/admin_pages/transactions/Transactions_Admin_Page.core.php
index 4c3f22d0fc..199c61810a 100644
--- a/admin_pages/transactions/Transactions_Admin_Page.core.php
+++ b/admin_pages/transactions/Transactions_Admin_Page.core.php
@@ -434,11 +434,11 @@ protected function _set_list_table_views_default()
* @param Transactions_Admin_Page $this
* @since 4.9.70.p
*/
- apply_filters(
- 'FHEE__Transactions_Admin_Page___set_list_table_views_default__display_failed_txns_list',
- false,
- $this
- )
+ apply_filters(
+ 'FHEE__Transactions_Admin_Page___set_list_table_views_default__display_failed_txns_list',
+ false,
+ $this
+ )
) {
$this->_views['failed'] = [
'slug' => 'failed',
@@ -910,18 +910,18 @@ public function getActionButtons(EE_Transaction $transaction = null)
&& $this->_transaction->status_ID() !== EEM_Transaction::complete_status_code
&& $this->_transaction->status_ID() !== EEM_Transaction::overpaid_status_code
? EEH_Template::get_button_or_link(
- EE_Admin_Page::add_query_args_and_nonce(
- [
+ EE_Admin_Page::add_query_args_and_nonce(
+ [
'action' => 'send_payment_reminder',
'TXN_ID' => $this->_transaction->ID(),
'redirect_to' => 'view_transaction',
- ],
- TXN_ADMIN_URL
- ),
- esc_html__(' Send Payment Reminder', 'event_espresso'),
- 'button button--secondary',
- 'dashicons dashicons-email-alt'
- )
+ ],
+ TXN_ADMIN_URL
+ ),
+ esc_html__(' Send Payment Reminder', 'event_espresso'),
+ 'button button--secondary',
+ 'dashicons dashicons-email-alt'
+ )
: '';
}
@@ -1232,11 +1232,11 @@ protected function _get_registrations_to_apply_payment_to()
],
];
$registrations_to_apply_payment_to = EEH_HTML::br() . EEH_HTML::div(
- '',
- 'txn-admin-apply-payment-to-registrations-dv',
- '',
- 'clear: both; margin: 1.5em 0 0; display: none;'
- );
+ '',
+ 'txn-admin-apply-payment-to-registrations-dv',
+ '',
+ 'clear: both; margin: 1.5em 0 0; display: none;'
+ );
$registrations_to_apply_payment_to .= EEH_HTML::br() . EEH_HTML::div('', '', 'admin-primary-mbox-tbl-wrap');
$registrations_to_apply_payment_to .= EEH_HTML::table('', '', 'admin-primary-mbox-tbl striped');
$registrations_to_apply_payment_to .= EEH_HTML::thead(
diff --git a/admin_pages/transactions/templates/txn_admin_details_header.template.php b/admin_pages/transactions/templates/txn_admin_details_header.template.php
index 24170d061b..a8bf02e8b6 100644
--- a/admin_pages/transactions/templates/txn_admin_details_header.template.php
+++ b/admin_pages/transactions/templates/txn_admin_details_header.template.php
@@ -41,8 +41,7 @@
-
+
diff --git a/admin_pages/transactions/templates/txn_admin_wrapper.template.php b/admin_pages/transactions/templates/txn_admin_wrapper.template.php
index 4288d26a8c..ab228a1246 100644
--- a/admin_pages/transactions/templates/txn_admin_wrapper.template.php
+++ b/admin_pages/transactions/templates/txn_admin_wrapper.template.php
@@ -1,4 +1,5 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/admin_pages/venues/Venues_Admin_Page.core.php b/admin_pages/venues/Venues_Admin_Page.core.php
index 81db55ba6c..a047792eba 100644
--- a/admin_pages/venues/Venues_Admin_Page.core.php
+++ b/admin_pages/venues/Venues_Admin_Page.core.php
@@ -525,11 +525,11 @@ protected function _overview_list_table()
);
$this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
- 'create_new',
- 'add',
- [],
- 'add-new-h2'
- );
+ 'create_new',
+ 'add',
+ [],
+ 'add-new-h2'
+ );
$this->_search_btn_label = esc_html__('Venues', 'event_espresso');
$this->display_admin_list_table_page_with_sidebar();
@@ -601,9 +601,9 @@ protected function _google_map_settings()
isset(EE_Registry::instance()->CFG->map_settings)
&& ! empty(EE_Registry::instance()->CFG->map_settings)
? (object) array_merge(
- (array) $default_map_settings,
- (array) EE_Registry::instance()->CFG->map_settings
- )
+ (array) $default_map_settings,
+ (array) EE_Registry::instance()->CFG->map_settings
+ )
: $default_map_settings;
$this->_set_add_edit_form_tags('update_google_map_settings');
@@ -1326,11 +1326,11 @@ protected function _category_list_table()
{
do_action('AHEE_log', __FILE__, __FUNCTION__, '');
$this->_admin_page_title .= ' ' . $this->get_action_link_or_button(
- 'add_category',
- 'add_category',
- [],
- 'add-new-h2'
- );
+ 'add_category',
+ 'add_category',
+ [],
+ 'add-new-h2'
+ );
$this->_search_btn_label = esc_html__('Venue Categories', 'event_espresso');
$this->display_admin_list_table_page_with_sidebar();
}
diff --git a/caffeinated/admin/extend/about/Extend_About_Admin_Page.core.php b/caffeinated/admin/extend/about/Extend_About_Admin_Page.core.php
index f9e4d32a86..0a21f5f429 100644
--- a/caffeinated/admin/extend/about/Extend_About_Admin_Page.core.php
+++ b/caffeinated/admin/extend/about/Extend_About_Admin_Page.core.php
@@ -112,9 +112,9 @@ protected function _whats_new()
);
$settings_message = $steps;
$this->_template_args['admin_page_subtitle'] = esc_html__(
- 'Thank you for choosing Event Espresso, the most powerful Event Management plugin for WordPress.',
- 'event_espresso'
- ) . $settings_message;
+ 'Thank you for choosing Event Espresso, the most powerful Event Management plugin for WordPress.',
+ 'event_espresso'
+ ) . $settings_message;
$template =
is_readable(EE_ABOUT_CAF_TEMPLATE_PATH . 'whats_new.template.php')
? EE_ABOUT_CAF_TEMPLATE_PATH . 'whats_new.template.php'
diff --git a/caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php b/caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php
index cdabbe5932..8cbb16c658 100644
--- a/caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php
+++ b/caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php
@@ -368,11 +368,11 @@ protected function _set_list_table_views_default()
public function extra_list_table_actions(array $action_links, EE_Event $event): array
{
if (
- EE_Registry::instance()->CAP->current_user_can(
- 'ee_read_registrations',
- 'espresso_registrations_reports',
- $event->ID()
- )
+ EE_Registry::instance()->CAP->current_user_can(
+ 'ee_read_registrations',
+ 'espresso_registrations_reports',
+ $event->ID()
+ )
) {
$reports_link = EE_Admin_Page::add_query_args_and_nonce(
[
@@ -409,10 +409,10 @@ class="ee-aria-tooltip button button--icon-only"
public function additional_legend_items($items)
{
if (
- EE_Registry::instance()->CAP->current_user_can(
- 'ee_read_registrations',
- 'espresso_registrations_reports'
- )
+ EE_Registry::instance()->CAP->current_user_can(
+ 'ee_read_registrations',
+ 'espresso_registrations_reports'
+ )
) {
$items['reports'] = [
'class' => 'dashicons dashicons-chart-bar',
@@ -1292,11 +1292,11 @@ protected function _delete_ticket()
];
// fail safe. If the default ticket count === 1 then we need to redirect to event overview.
if (
- EEM_Ticket::instance()->count_deleted_and_undeleted(
- [['TKT_is_default' => 1]],
- 'TKT_ID',
- true
- )
+ EEM_Ticket::instance()->count_deleted_and_undeleted(
+ [['TKT_is_default' => 1]],
+ 'TKT_ID',
+ true
+ )
) {
$query_args = [];
}
diff --git a/caffeinated/admin/extend/events/espresso_events_Events_Hooks_Extend.class.php b/caffeinated/admin/extend/events/espresso_events_Events_Hooks_Extend.class.php
index a51d8b3bbe..3eea0f22b6 100644
--- a/caffeinated/admin/extend/events/espresso_events_Events_Hooks_Extend.class.php
+++ b/caffeinated/admin/extend/events/espresso_events_Events_Hooks_Extend.class.php
@@ -522,9 +522,9 @@ function ($ticket_data) {
: '',
'TKT_description' => ! empty($ticket_data['TKT_description'])
&& $ticket_data['TKT_description'] !== esc_html__(
- 'You can modify this description',
- 'event_espresso'
- )
+ 'You can modify this description',
+ 'event_espresso'
+ )
? $ticket_data['TKT_description']
: '',
'TKT_start_date' => $ticket_data['TKT_start_date'],
@@ -1874,12 +1874,12 @@ protected function _get_ticket_price_row(
? 'PRICENAMEATTR'
: 'edit_prices',
'price_type_selector' => $this->_get_price_type_selector(
- $ticket_row,
- $price_row,
- $price,
- $default,
- $send_disabled
- ),
+ $ticket_row,
+ $price_row,
+ $price,
+ $default,
+ $send_disabled
+ ),
'PRC_ID' => $default && empty($price)
? 0
: $price->ID(),
diff --git a/caffeinated/admin/extend/events/templates/event_registration_options.template.php b/caffeinated/admin/extend/events/templates/event_registration_options.template.php
index 4a57cc0f9e..99551bcff2 100644
--- a/caffeinated/admin/extend/events/templates/event_registration_options.template.php
+++ b/caffeinated/admin/extend/events/templates/event_registration_options.template.php
@@ -41,13 +41,11 @@
. '',
'alternative_registration_page' => '
-
+
',
'event_phone_number' => '
-
+
',
'default_registration_status' => '