Completed
Branch BUG/11211/html-entities-being-... (7e723d)
by
unknown
41:55 queued 30:51
created
admin_pages/events/qtips/EE_Event_List_Table_Tips.lib.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 			0 => array(
34 34
 				'content_id' => 'attendee-column-tip',
35 35
 				'target' => '.column-attendees .dashicons-groups',
36
-				'content' => sprintf( __('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, FALSE, 'sentence') ),
36
+				'content' => sprintf(__('%s Registrations', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, FALSE, 'sentence')),
37 37
 				'options' => array( 
38 38
 					'position' => array(
39 39
 						'my' => 'bottom left',
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 	 * @param  EE_Datetime constant $status What status is set (by class)
125 125
 	 * @return string         The status legend with the related status highlighted
126 126
 	 */
127
-	private function _event_status_legend( $status ) {
127
+	private function _event_status_legend($status) {
128 128
 
129 129
 		$status_array = array(
130 130
 			'active_status' => EE_Datetime::active,
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 			'inactive_status' => EE_Datetime::inactive
137 137
 		);
138 138
 
139
-		return EEH_Template::status_legend( $status_array, $status );
139
+		return EEH_Template::status_legend($status_array, $status);
140 140
 	}
141 141
 
142 142
 }
143 143
\ No newline at end of file
Please login to merge, or discard this patch.
admin_pages/registrations/qtips/Registration_List_Table_Tips.lib.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
 
94 94
 	private function _registration_trash_message() {
95
-		return '<p>' . __('This lock-icon means that this registration cannot be trashed.  Registrations that belong to a transaction that has payments cannot be trashed.  If you wish to trash this registration then you must delete all payments attached to the related transaction first.', 'event_espresso') . '</p>';
95
+		return '<p>'.__('This lock-icon means that this registration cannot be trashed.  Registrations that belong to a transaction that has payments cannot be trashed.  If you wish to trash this registration then you must delete all payments attached to the related transaction first.', 'event_espresso').'</p>';
96 96
 	}
97 97
 
98 98
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 	 * @param  EEM_Registration constant $status What status is set (by class)
105 105
 	 * @return string         The status legend with the related status highlighted
106 106
 	 */
107
-	private function _registration_status_legend( $status ) {
107
+	private function _registration_status_legend($status) {
108 108
 
109 109
 		$status_array = array(
110 110
 			'approved_status' => EEM_Registration::status_id_approved,
@@ -114,6 +114,6 @@  discard block
 block discarded – undo
114 114
 			'cancelled_status' => EEM_Registration::status_id_cancelled
115 115
 			);
116 116
 
117
-		return EEH_Template::status_legend( $status_array, $status );
117
+		return EEH_Template::status_legend($status_array, $status);
118 118
 	}
119 119
 }
120 120
\ No newline at end of file
Please login to merge, or discard this patch.
admin_pages/transactions/Transactions_Admin_Page_Init.core.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -32,16 +32,16 @@  discard block
 block discarded – undo
32 32
 	 */
33 33
 	public function __construct() {
34 34
 
35
-		do_action( 'AHEE_log', __FILE__, __FUNCTION__, '' );
36
-		if ( ! defined( 'TXN_PG_SLUG' ) ) {
37
-			define( 'TXN_PG_SLUG', 'espresso_transactions' );
38
-			define( 'TXN_PG_NAME', ucwords( str_replace( '_', '', TXN_PG_SLUG ) ) );
39
-			define( 'TXN_ADMIN', EE_ADMIN_PAGES . 'transactions' . DS );
40
-			define( 'TXN_ADMIN_URL', admin_url( 'admin.php?page=' . TXN_PG_SLUG ) );
41
-			define( 'TXN_ASSETS_PATH', TXN_ADMIN . 'assets' . DS );
42
-			define( 'TXN_ASSETS_URL', str_replace( '\\', '/', EE_ADMIN_PAGES_URL . 'transactions/assets' . DS ) );
43
-			define( 'TXN_TEMPLATE_PATH', TXN_ADMIN . 'templates' . DS );
44
-			define( 'TXN_TEMPLATE_URL', str_replace( '\\', '/', EE_ADMIN_PAGES_URL . 'transactions/templates' . DS ) );
35
+		do_action('AHEE_log', __FILE__, __FUNCTION__, '');
36
+		if ( ! defined('TXN_PG_SLUG')) {
37
+			define('TXN_PG_SLUG', 'espresso_transactions');
38
+			define('TXN_PG_NAME', ucwords(str_replace('_', '', TXN_PG_SLUG)));
39
+			define('TXN_ADMIN', EE_ADMIN_PAGES.'transactions'.DS);
40
+			define('TXN_ADMIN_URL', admin_url('admin.php?page='.TXN_PG_SLUG));
41
+			define('TXN_ASSETS_PATH', TXN_ADMIN.'assets'.DS);
42
+			define('TXN_ASSETS_URL', str_replace('\\', '/', EE_ADMIN_PAGES_URL.'transactions/assets'.DS));
43
+			define('TXN_TEMPLATE_PATH', TXN_ADMIN.'templates'.DS);
44
+			define('TXN_TEMPLATE_URL', str_replace('\\', '/', EE_ADMIN_PAGES_URL.'transactions/templates'.DS));
45 45
 		}
46 46
 		parent::__construct();
47 47
 	}
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 * @return void
64 64
 	 */
65 65
 	protected function _set_menu_map() {
66
-		$this->_menu_map = new EE_Admin_Page_Sub_Menu( array(
66
+		$this->_menu_map = new EE_Admin_Page_Sub_Menu(array(
67 67
 			'menu_group' => 'main',
68 68
 			'menu_order' => 50,
69 69
 			'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY,
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) exit('No direct script access allowed');
1
+<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * Event Espresso
4 6
  *
Please login to merge, or discard this patch.
admin_pages/transactions/qtips/Transactions_List_Table_Tips.lib.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	 * @param  EEM_Transaction constant $status What status is set (by class)
84 84
 	 * @return string         The status legend with the related status highlighted
85 85
 	 */
86
-	private function _transaction_status_legend( $status ) {
86
+	private function _transaction_status_legend($status) {
87 87
 
88 88
 		$status_array = array(
89 89
 			'overpaid' => EEM_Transaction::overpaid_status_code,
@@ -92,6 +92,6 @@  discard block
 block discarded – undo
92 92
 			'failed' => EEM_Transaction::failed_status_code,
93 93
 		);
94 94
 
95
-		return EEH_Template::status_legend( $status_array, $status );
95
+		return EEH_Template::status_legend($status_array, $status);
96 96
 	}
97 97
 }
98 98
\ No newline at end of file
Please login to merge, or discard this patch.
data_migration_scripts/4_1_0_stages/EE_DMS_4_1_0_questions.dmsstage.php 1 patch
Spacing   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -55,21 +55,21 @@  discard block
 block discarded – undo
55 55
 					'QSO_deleted'=>new EE_Trashed_Flag_Field('QSO_deleted', __('Flag indicating Option was trashed','event_espresso'), false, false)
56 56
 				)
57 57
  */
58
-class EE_DMS_4_1_0_questions extends EE_Data_Migration_Script_Stage{
58
+class EE_DMS_4_1_0_questions extends EE_Data_Migration_Script_Stage {
59 59
 	private $_old_table;
60 60
 	private $_new_table;
61 61
 	private $_option_table;
62
-	function _migration_step($num_items=50){
62
+	function _migration_step($num_items = 50) {
63 63
 		global $wpdb;
64 64
 		$start_at_record = $this->count_records_migrated();
65
-		$rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM $this->_old_table LIMIT %d,%d",$start_at_record,$num_items),ARRAY_A);
65
+		$rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM $this->_old_table LIMIT %d,%d", $start_at_record, $num_items), ARRAY_A);
66 66
 		$items_actually_migrated = 0;
67
-		foreach($rows as $question_row){
67
+		foreach ($rows as $question_row) {
68 68
 			$new_id = $this->_insert_new_question($question_row);
69 69
 			$this->get_migration_script()->set_mapping($this->_old_table, $question_row['id'], $this->_new_table, $new_id);
70 70
 			$items_actually_migrated++;
71 71
 		}
72
-		if($this->count_records_migrated() + $items_actually_migrated >= $this->count_records_to_migrate()){
72
+		if ($this->count_records_migrated() + $items_actually_migrated >= $this->count_records_to_migrate()) {
73 73
 			$this->set_completed();
74 74
 		}
75 75
 		return $items_actually_migrated;
@@ -87,14 +87,14 @@  discard block
 block discarded – undo
87 87
 		$this->_option_table = $wpdb->prefix."esp_question_option";
88 88
 		parent::__construct();
89 89
 	}
90
-	private function _insert_new_question($old_question){
90
+	private function _insert_new_question($old_question) {
91 91
 		global $wpdb;
92 92
 		//if this pretends to be a 'system' question, check if we already have a
93 93
 		//system question for that string. If so, pretend THAT new question
94 94
 		//is what we just isnerted
95
-		if($old_question['system_name']){
96
-			$id_of_new_system_question = intval($wpdb->get_var($wpdb->prepare("SELECT QST_ID FROM {$this->_new_table} WHERE QST_system = %s",$old_question['system_name'])));
97
-			if($id_of_new_system_question){
95
+		if ($old_question['system_name']) {
96
+			$id_of_new_system_question = intval($wpdb->get_var($wpdb->prepare("SELECT QST_ID FROM {$this->_new_table} WHERE QST_system = %s", $old_question['system_name'])));
97
+			if ($id_of_new_system_question) {
98 98
 				return $id_of_new_system_question;
99 99
 			}
100 100
 			//ok so this must be the first one. Carry on.
@@ -113,27 +113,27 @@  discard block
 block discarded – undo
113 113
 			'QST_deleted'=>false
114 114
 		);
115 115
 		$datatypes = array(
116
-			'%s',//QST_display_text
117
-			'%s',//QST-admin_label
118
-			'%s',//QST_system
119
-			'%s',//QST_type
120
-			'%d',//QST_required
121
-			'%s',//QST_required_text
122
-			'%d',//QST_order
123
-			'%d',//QST_admin_only
124
-			'%d',//QST_wp_user
125
-			'%d',//QST_deleted
116
+			'%s', //QST_display_text
117
+			'%s', //QST-admin_label
118
+			'%s', //QST_system
119
+			'%s', //QST_type
120
+			'%d', //QST_required
121
+			'%s', //QST_required_text
122
+			'%d', //QST_order
123
+			'%d', //QST_admin_only
124
+			'%d', //QST_wp_user
125
+			'%d', //QST_deleted
126 126
 		);
127
-		$success = $wpdb->insert($this->_new_table,$cols_n_values,$datatypes);
128
-		if ( ! $success){
127
+		$success = $wpdb->insert($this->_new_table, $cols_n_values, $datatypes);
128
+		if ( ! $success) {
129 129
 			$this->add_error($this->get_migration_script()->_create_error_message_for_db_insertion($this->_old_table, $old_question, $this->_new_table, $cols_n_values, $datatypes));
130 130
 			return 0;
131 131
 		}
132 132
 		$new_id = $wpdb->insert_id;
133 133
 		//now take care of posisbly adding question options
134
-		if(in_array($old_question['question_type'],array('DROPDOWN','SINGLE','MULTIPLE'))){
135
-			$options = explode(",",$old_question['response']);
136
-			foreach($options as $option){
134
+		if (in_array($old_question['question_type'], array('DROPDOWN', 'SINGLE', 'MULTIPLE'))) {
135
+			$options = explode(",", $old_question['response']);
136
+			foreach ($options as $option) {
137 137
 				$this->_insert_question_option($option, $new_id);
138 138
 			}
139 139
 		}
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	 * @param int $question_id
147 147
 	 * @return int
148 148
 	 */
149
-	private function _insert_question_option($option,$question_id){
149
+	private function _insert_question_option($option, $question_id) {
150 150
 		$option = trim($option);
151 151
 		global $wpdb;
152 152
 		$cols_n_values = array(
@@ -154,14 +154,14 @@  discard block
 block discarded – undo
154 154
 			'QSO_value'=>$option,
155 155
 			'QSO_deleted'=>false
156 156
 		);
157
-		$datatypes= array(
158
-			'%d',//QST_ID
159
-			'%s',//QSO_value
160
-			'%d',//QSO_deleted
157
+		$datatypes = array(
158
+			'%d', //QST_ID
159
+			'%s', //QSO_value
160
+			'%d', //QSO_deleted
161 161
 		);
162
-		$success = $wpdb->insert($this->_option_table,$cols_n_values,$datatypes);
163
-		if ( ! $success ){
164
-			$this->add_error($this->get_migration_script()->_create_error_message_for_db_insertion($this->_old_table, array('option'=>$option,'new_question_id'=>$question_id), $this->_option_table, $cols_n_values, $datatypes));
162
+		$success = $wpdb->insert($this->_option_table, $cols_n_values, $datatypes);
163
+		if ( ! $success) {
164
+			$this->add_error($this->get_migration_script()->_create_error_message_for_db_insertion($this->_old_table, array('option'=>$option, 'new_question_id'=>$question_id), $this->_option_table, $cols_n_values, $datatypes));
165 165
 			return 0;
166 166
 		}
167 167
 		return $wpdb->insert_id;
Please login to merge, or discard this patch.
4_8_0_stages/EE_DMS_4_8_0_event_subtotals.dmsstage.php 1 patch
Spacing   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( !defined( 'EVENT_ESPRESSO_VERSION' ) ) {
3
-	exit( 'No direct script access allowed' );
2
+if ( ! defined('EVENT_ESPRESSO_VERSION')) {
3
+	exit('No direct script access allowed');
4 4
 }
5 5
 
6 6
 /**
@@ -12,68 +12,68 @@  discard block
 block discarded – undo
12 12
  * @author				Mike Nelson
13 13
  *
14 14
  */
15
-class EE_DMS_4_8_0_event_subtotals extends EE_Data_Migration_Script_Stage_Table{
16
-	function __construct(){
15
+class EE_DMS_4_8_0_event_subtotals extends EE_Data_Migration_Script_Stage_Table {
16
+	function __construct() {
17 17
 		global $wpdb;
18
-		$this->_old_table = $wpdb->prefix . 'esp_line_item';
18
+		$this->_old_table = $wpdb->prefix.'esp_line_item';
19 19
 		$this->_extra_where_sql = ' WHERE LIN_type="sub-total" AND LIN_code="pre-tax-subtotal"';
20 20
 		$this->_pretty_name = __('Event Sub-total line items', 'event_espresso');
21 21
 		parent::__construct();
22 22
 	}
23
-	protected function _migrate_old_row( $line_item_row ) {
23
+	protected function _migrate_old_row($line_item_row) {
24 24
 		global $wpdb;
25 25
 		//what event is this line item for? this can be found by looking at its transaction's registration's EVT_ID
26
-		$event_id = $wpdb->get_var( $wpdb->prepare( 'SELECT EVT_ID FROM ' . $wpdb->prefix . 'esp_registration WHERE TXN_ID=%d LIMIT 1', $line_item_row[ 'TXN_ID' ] ) );
26
+		$event_id = $wpdb->get_var($wpdb->prepare('SELECT EVT_ID FROM '.$wpdb->prefix.'esp_registration WHERE TXN_ID=%d LIMIT 1', $line_item_row['TXN_ID']));
27 27
 		$new_line_item_data = array(
28
-					'LIN_code' => 'event-' . $event_id,
29
-					'TXN_ID' => $line_item_row[ 'TXN_ID' ],
30
-					'LIN_name' => __( 'Event', 'event_espresso' ),
31
-					'LIN_desc' => $line_item_row[ 'LIN_desc' ],
32
-					'LIN_unit_price' => $line_item_row[ 'LIN_unit_price' ],
33
-					'LIN_percent' => $line_item_row[ 'LIN_percent' ],
34
-					'LIN_is_taxable' => $line_item_row[ 'LIN_is_taxable' ],
35
-					'LIN_order' => $line_item_row[ 'LIN_order' ],
36
-					'LIN_total' => $line_item_row[ 'LIN_total' ],
37
-					'LIN_quantity' => $line_item_row[ 'LIN_quantity' ],
38
-					'LIN_parent' => $line_item_row[ 'LIN_ID'],
28
+					'LIN_code' => 'event-'.$event_id,
29
+					'TXN_ID' => $line_item_row['TXN_ID'],
30
+					'LIN_name' => __('Event', 'event_espresso'),
31
+					'LIN_desc' => $line_item_row['LIN_desc'],
32
+					'LIN_unit_price' => $line_item_row['LIN_unit_price'],
33
+					'LIN_percent' => $line_item_row['LIN_percent'],
34
+					'LIN_is_taxable' => $line_item_row['LIN_is_taxable'],
35
+					'LIN_order' => $line_item_row['LIN_order'],
36
+					'LIN_total' => $line_item_row['LIN_total'],
37
+					'LIN_quantity' => $line_item_row['LIN_quantity'],
38
+					'LIN_parent' => $line_item_row['LIN_ID'],
39 39
 					'LIN_type' => 'sub-total',
40 40
 					'OBJ_type' => 'Event',
41 41
 					'OBJ_ID' => $event_id,
42 42
 				);
43 43
 		$new_line_item_datatypes = array(
44
-					'%s',//LIN_code
45
-					'%d',//TXN_ID
46
-					'%s',//LIN_name
47
-					'%s',//LIN_desc
48
-					'%f',//LIN_unit_price
49
-					'%f',//LIN_percent
50
-					'%d',//LIN_is_taxable
51
-					'%d',//LIN_order
52
-					'%f',//LIN_total
53
-					'%d',//LIN_quantity
54
-					'%d',//LIN_parent
55
-					'%s',//LIN_type
56
-					'%s',//OBJ_type
57
-					'%d',//OBJ_ID
44
+					'%s', //LIN_code
45
+					'%d', //TXN_ID
46
+					'%s', //LIN_name
47
+					'%s', //LIN_desc
48
+					'%f', //LIN_unit_price
49
+					'%f', //LIN_percent
50
+					'%d', //LIN_is_taxable
51
+					'%d', //LIN_order
52
+					'%f', //LIN_total
53
+					'%d', //LIN_quantity
54
+					'%d', //LIN_parent
55
+					'%s', //LIN_type
56
+					'%s', //OBJ_type
57
+					'%d', //OBJ_ID
58 58
 				);
59 59
 		//insert the new event subtotal line item, pointing to this line item
60
-		$success = $wpdb->insert( $this->_old_table, $new_line_item_data, $new_line_item_datatypes );
61
-		if( ! $success ) {
62
-			$this->add_error( $this->_create_error_message_for_db_insertion( $this->_old_table, $line_item_row, $this->_old_table, $new_line_item_data, $new_line_item_datatypes ) );
60
+		$success = $wpdb->insert($this->_old_table, $new_line_item_data, $new_line_item_datatypes);
61
+		if ( ! $success) {
62
+			$this->add_error($this->_create_error_message_for_db_insertion($this->_old_table, $line_item_row, $this->_old_table, $new_line_item_data, $new_line_item_datatypes));
63 63
 		}
64 64
 		$new_line_item_id = $wpdb->insert_id;
65
-		$this->get_migration_script()->set_mapping($this->_old_table, $line_item_row[ 'LIN_ID' ], $this->_old_table, $new_line_item_id );
65
+		$this->get_migration_script()->set_mapping($this->_old_table, $line_item_row['LIN_ID'], $this->_old_table, $new_line_item_id);
66 66
 		$query = $wpdb->prepare(
67 67
 					"UPDATE {$this->_old_table} SET LIN_parent=%d WHERE LIN_parent = %d AND LIN_ID != %d LIMIT 100",
68 68
 					$new_line_item_id,
69
-					$line_item_row[ 'LIN_ID' ],
69
+					$line_item_row['LIN_ID'],
70 70
 					$new_line_item_id );
71
-		$success = $wpdb->query( $query );
72
-		if( $success === false ) {
71
+		$success = $wpdb->query($query);
72
+		if ($success === false) {
73 73
 			$this->add_error(
74
-					sprintf( __( 'Error updating rows to new event subtotal %1$s from %2$s. Error was: %3$s, while using query %4$s which had a result of %5$s', 'event_espresso' ),
74
+					sprintf(__('Error updating rows to new event subtotal %1$s from %2$s. Error was: %3$s, while using query %4$s which had a result of %5$s', 'event_espresso'),
75 75
 					$new_line_item_id,
76
-					$line_item_row[ 'LIN_ID' ],
76
+					$line_item_row['LIN_ID'],
77 77
 					$wpdb->last_error,
78 78
 					$query,
79 79
 					$success) );
Please login to merge, or discard this patch.
core/interfaces/EEI_Query_Filter.interface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) {
3
-	exit( 'No direct script access allowed' );
2
+if ( ! defined('EVENT_ESPRESSO_VERSION')) {
3
+	exit('No direct script access allowed');
4 4
 }
5 5
 
6 6
 /**
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @since      4.9.0
13 13
  * @author     Darren Ethier
14 14
  */
15
-interface EEI_Query_Filter  {
15
+interface EEI_Query_Filter {
16 16
 
17 17
 
18 18
 	/**
Please login to merge, or discard this patch.
core/libraries/line_item_filters/EE_Line_Item_Filter_Base.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) {
3
-	exit( 'No direct script access allowed' );
2
+if ( ! defined('EVENT_ESPRESSO_VERSION')) {
3
+	exit('No direct script access allowed');
4 4
 }
5 5
 /**
6 6
  * Class EE_Line_Item_Filter_Base
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	 * @param \EEI_Line_Item $line_item
25 25
 	 * @return \EEI_Line_Item
26 26
 	 */
27
-	public function process( EEI_Line_Item $line_item ) {
27
+	public function process(EEI_Line_Item $line_item) {
28 28
 		return $line_item;
29 29
 	}
30 30
 
Please login to merge, or discard this patch.
public/Espresso_Arabica_2014/content-espresso_venues-details.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,43 +1,43 @@
 block discarded – undo
1 1
 <?php //echo '<h1>' . __FILE__ . '</h1>'; ?>
2 2
 <?php global $post; ?>
3 3
 <div class="venue-content">
4
-<?php if ( apply_filters( 'FHEE__content_espresso_venues_details_template__display_entry_meta', TRUE )): ?>
4
+<?php if (apply_filters('FHEE__content_espresso_venues_details_template__display_entry_meta', TRUE)): ?>
5 5
 	<div class="entry-meta">
6
-		<span class="tags-links"><?php espresso_venue_categories( $post->ID, TRUE, TRUE ); ?></span>
6
+		<span class="tags-links"><?php espresso_venue_categories($post->ID, TRUE, TRUE); ?></span>
7 7
 		<?php
8
-			if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
8
+			if ( ! post_password_required() && (comments_open() || get_comments_number())) :
9 9
 		?>
10
-		<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'event_espresso' ), __( '1 Comment', 'event_espresso' ), __( '% Comments', 'event_espresso' ) ); ?></span>
10
+		<span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'event_espresso'), __('1 Comment', 'event_espresso'), __('% Comments', 'event_espresso')); ?></span>
11 11
 		<?php
12 12
 			endif;
13 13
 
14
-			edit_post_link( __( 'Edit', 'event_espresso' ), '<span class="edit-link">', '</span>' );
14
+			edit_post_link(__('Edit', 'event_espresso'), '<span class="edit-link">', '</span>');
15 15
 		?>
16 16
 	</div>
17 17
 <?php  endif; ?>
18 18
 	
19 19
 	<h3 class="event-venues-h3 ee-event-h3">
20
-		<?php _e( 'Details', 'event_espresso' ); ?>
20
+		<?php _e('Details', 'event_espresso'); ?>
21 21
 	</h3>
22 22
 
23
-	<?php if ( $venue_phone = espresso_venue_phone( $post->ID, FALSE )) : ?>
23
+	<?php if ($venue_phone = espresso_venue_phone($post->ID, FALSE)) : ?>
24 24
 	<p>
25
-		<span class="small-text"><strong><?php _e( 'Venue Phone:', 'event_espresso' ); ?> </strong></span><?php echo $venue_phone; ?>
25
+		<span class="small-text"><strong><?php _e('Venue Phone:', 'event_espresso'); ?> </strong></span><?php echo $venue_phone; ?>
26 26
 	</p>
27 27
 	<?php endif; ?>
28
-	<?php if ( $venue_website = espresso_venue_website( $post->ID, FALSE )) : ?>
28
+	<?php if ($venue_website = espresso_venue_website($post->ID, FALSE)) : ?>
29 29
 	<p>
30
-		<span class="small-text"><strong><?php _e( 'Venue Website:', 'event_espresso' ); ?> </strong></span><?php echo $venue_website; ?>
30
+		<span class="small-text"><strong><?php _e('Venue Website:', 'event_espresso'); ?> </strong></span><?php echo $venue_website; ?>
31 31
 	</p>
32 32
 	<?php endif; ?>
33 33
 	<?php 
34
-	do_action( 'AHEE__content_espresso_venues_details_template__before_the_content', $post ); 
35
-	if ( is_archive() && has_excerpt( $post->ID )) {
34
+	do_action('AHEE__content_espresso_venues_details_template__before_the_content', $post); 
35
+	if (is_archive() && has_excerpt($post->ID)) {
36 36
 		the_excerpt();
37 37
 	} else {
38 38
 		the_content();
39 39
 	}
40
-	do_action( 'AHEE__content_espresso_venues_details_template__after_the_content', $post ); 
40
+	do_action('AHEE__content_espresso_venues_details_template__after_the_content', $post); 
41 41
 	?>
42 42
 </div>
43 43
 <!-- .venue-content -->
Please login to merge, or discard this patch.