Completed
Branch master (c7c8fc)
by
unknown
62:48 queued 54:07
created
admin_pages/about/templates/ee4-overview.template.php 1 patch
Indentation   +124 added lines, -124 removed lines patch added patch discarded remove patch
@@ -1,24 +1,24 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 // maintenance mode on?
3 3
 if (EE_Maintenance_Mode::instance()->level() == EE_Maintenance_Mode::level_2_complete_maintenance) {
4
-    ?>
4
+	?>
5 5
     <div class="ee-attention">
6 6
         <h2 class="ee-maintenance-mode-callout">
7 7
             <?php esc_html_e(
8
-                'Event Espresso is in full maintenance mode.',
9
-                'event_espresso'
10
-            ); ?></h2>
8
+				'Event Espresso is in full maintenance mode.',
9
+				'event_espresso'
10
+			); ?></h2>
11 11
         <p>
12 12
             <?php
13
-            printf(
14
-                esc_html__(
15
-                    'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.',
16
-                    'event_espresso'
17
-                ),
18
-                '<a href="admin.php?page=espresso_maintenance_settings">',
19
-                '</a>'
20
-            );
21
-            ?>
13
+			printf(
14
+				esc_html__(
15
+					'A previous version of Event Espresso has detected. But before anything else can happen, we need to know whether or not to migrate (copy over) your existing event data so that it can be utilized by EE4. For more instructions on what to do, please visit the %sEvent Espresso Maintenance%s page.',
16
+					'event_espresso'
17
+				),
18
+				'<a href="admin.php?page=espresso_maintenance_settings">',
19
+				'</a>'
20
+			);
21
+			?>
22 22
         </p>
23 23
     </div>
24 24
     <?php
@@ -27,62 +27,62 @@  discard block
 block discarded – undo
27 27
 <div class="headline-feature">
28 28
     <h2 class="about-headline-callout">
29 29
         <?php esc_html_e(
30
-            'Welcome to the Decaf (free) Version of Event Espresso 4!',
31
-            'event_espresso'
32
-        ); ?></h2>
30
+			'Welcome to the Decaf (free) Version of Event Espresso 4!',
31
+			'event_espresso'
32
+		); ?></h2>
33 33
     <p><?php
34
-        echo sprintf(
35
-            esc_html__(
36
-                'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Decaf version of Event Espresso, but we also have a premium version called %sEvent Espreso 4 Regular%s and a hosted version called %sEvent Smart%s (SaaS).',
37
-                'event_espresso'
38
-            ),
39
-            '<a href="?page=espresso_about&action=decafvpro">',
40
-            '</a>',
41
-            '<a href="https://eventsmart.com//?utm_source=ee4_decaf&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Decaf">',
42
-            '</a>'
43
-        ); ?></p>
34
+		echo sprintf(
35
+			esc_html__(
36
+				'Manage your events from your WordPress dashboard. Reduce your admin, reduce your costs, make your life easier! This is the Decaf version of Event Espresso, but we also have a premium version called %sEvent Espreso 4 Regular%s and a hosted version called %sEvent Smart%s (SaaS).',
37
+				'event_espresso'
38
+			),
39
+			'<a href="?page=espresso_about&action=decafvpro">',
40
+			'</a>',
41
+			'<a href="https://eventsmart.com//?utm_source=ee4_decaf&amp;utm_medium=link&amp;utm_campaign=espresso_about_tab&amp;utm_content=EE4+Decaf">',
42
+			'</a>'
43
+		); ?></p>
44 44
     <h2>
45 45
         <?php esc_html_e(
46
-            'Powering 40,000+ event websites; $100 million in ticket sales per year!',
47
-            'event_espresso'
48
-        ); ?></h2>
46
+			'Powering 40,000+ event websites; $100 million in ticket sales per year!',
47
+			'event_espresso'
48
+		); ?></h2>
49 49
     <p><?php
50
-        echo sprintf(
51
-            esc_html__(
52
-                'Event Espresso is a %sWordPress event manager%s which makes it easy for you to register attendees for classes, workshops, events, trainings, conferences or concerts, all from your WordPress website. Event Espresso events are created from the WordPress admin area. You can create signup forms to collect information about your attendees, accept payments, and create reports. The Decaf (free) version of the plugin provides everything that you need to manage your event using WordPress.',
53
-                'event_espresso'
54
-            ),
55
-            '<a href="http://eventespresso.com/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=plugin_description_tab&amp;utm_content=EE4+Decaf">',
56
-            '</a>'
57
-        ); ?></p>
50
+		echo sprintf(
51
+			esc_html__(
52
+				'Event Espresso is a %sWordPress event manager%s which makes it easy for you to register attendees for classes, workshops, events, trainings, conferences or concerts, all from your WordPress website. Event Espresso events are created from the WordPress admin area. You can create signup forms to collect information about your attendees, accept payments, and create reports. The Decaf (free) version of the plugin provides everything that you need to manage your event using WordPress.',
53
+				'event_espresso'
54
+			),
55
+			'<a href="http://eventespresso.com/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=plugin_description_tab&amp;utm_content=EE4+Decaf">',
56
+			'</a>'
57
+		); ?></p>
58 58
 </div>
59 59
     <div class="feature-section has-3-columns is-fullwidth three-col">
60 60
         <div class="column col">
61 61
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/publish_meta_box.jpg">
62 62
             <h3><?php esc_html_e('Optimized aesthetic', 'event_espresso'); ?></h3>
63 63
             <p><?php
64
-                esc_html_e(
65
-                    'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.',
66
-                    'event_espresso'
67
-                ); ?></p>
64
+				esc_html_e(
65
+					'The Event Espresso 4 dashboard has a fresh, uncluttered design that embraces clarity and simplicity.',
66
+					'event_espresso'
67
+				); ?></p>
68 68
         </div>
69 69
         <div class="column col">
70 70
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/registrations-overview.jpg">
71 71
             <h3><?php esc_html_e('Integrated management', 'event_espresso'); ?></h3>
72 72
             <p><?php
73
-                esc_html_e(
74
-                    'We’ve made it easier to know who your customers are and how they’ve done business with you over time.',
75
-                    'event_espresso'
76
-                ); ?></p>
73
+				esc_html_e(
74
+					'We’ve made it easier to know who your customers are and how they’ve done business with you over time.',
75
+					'event_espresso'
76
+				); ?></p>
77 77
         </div>
78 78
         <div class="column col last-feature">
79 79
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/refined-bookkeeping.jpg">
80 80
             <h3><?php esc_html_e('Easy bookkeeping', 'event_espresso'); ?></h3>
81 81
             <p><?php
82
-                esc_html_e(
83
-                    'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.',
84
-                    'event_espresso'
85
-                ); ?></p>
82
+				esc_html_e(
83
+					'Registrations, payment, and transactions have been substantially improved in Event Espresso 4.',
84
+					'event_espresso'
85
+				); ?></p>
86 86
         </div>
87 87
     </div>
88 88
 
@@ -92,16 +92,16 @@  discard block
 block discarded – undo
92 92
         <div class="column col">
93 93
             <h3><?php esc_html_e('Higher customer retention', 'event_espresso'); ?></h3>
94 94
             <p><?php
95
-                esc_html_e(
96
-                    'The Event Espresso 4 registration process is faster than ever. With quick ticket selections, single page check-out, and customizable notifications! Registration that can scale to your business needs.',
97
-                    'event_espresso'
98
-                ); ?></p>
95
+				esc_html_e(
96
+					'The Event Espresso 4 registration process is faster than ever. With quick ticket selections, single page check-out, and customizable notifications! Registration that can scale to your business needs.',
97
+					'event_espresso'
98
+				); ?></p>
99 99
             <h4><?php esc_html_e('Ticket selection boxes on any post page or post', 'event_espresso'); ?></h4>
100 100
             <p><?php
101
-                esc_html_e(
102
-                    'Customers can easily register for classes, events, or conferences, in just a few simple steps. No matter how you use it, Event Espresso 4 will adapt to a multitude of different ticketing and pricing scenarios.',
103
-                    'event_espresso'
104
-                ); ?></p>
101
+				esc_html_e(
102
+					'Customers can easily register for classes, events, or conferences, in just a few simple steps. No matter how you use it, Event Espresso 4 will adapt to a multitude of different ticketing and pricing scenarios.',
103
+					'event_espresso'
104
+				); ?></p>
105 105
         </div>
106 106
         <div class="column col last-feature about-colors-img">
107 107
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/registrtation-page-large.jpg">
@@ -112,22 +112,22 @@  discard block
 block discarded – undo
112 112
         <div class="column col">
113 113
             <h3><?php esc_html_e('Refined event management', 'event_espresso'); ?></h3>
114 114
             <p><?php
115
-                esc_html_e(
116
-                    'The new event management screen lets you survey your events at a glance. Want more information? Click to view more. Quickly add/edit prices, dates, or information in any event.',
117
-                    'event_espresso'
118
-                ); ?></p>
115
+				esc_html_e(
116
+					'The new event management screen lets you survey your events at a glance. Want more information? Click to view more. Quickly add/edit prices, dates, or information in any event.',
117
+					'event_espresso'
118
+				); ?></p>
119 119
             <h4><?php
120
-                esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?></h4>
120
+				esc_html_e('Smoother price types, taxes, and price modifiers', 'event_espresso'); ?></h4>
121 121
             <p><?php
122
-                esc_html_e(
123
-                    'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket',
124
-                    'event_espresso'
125
-                ); ?>.</p>
122
+				esc_html_e(
123
+					'Price Types allow you to create new prices that adjust the default ticket (base) price for your system-default ticket',
124
+					'event_espresso'
125
+				); ?>.</p>
126 126
             <p><?php
127
-                esc_html_e(
128
-                    'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.',
129
-                    'event_espresso'
130
-                ); ?></p>
127
+				esc_html_e(
128
+					'Easily categorize a price modifier and indicate how that price gets applied to the running total when a transaction occurs.',
129
+					'event_espresso'
130
+				); ?></p>
131 131
         </div>
132 132
         <div class="column col last-feature about-themes-img">
133 133
             <img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/event-management.jpg">
@@ -137,68 +137,68 @@  discard block
 block discarded – undo
137 137
 <hr>
138 138
 
139 139
     <h2 class="about-headline-callout"><?php
140
-        esc_html_e(
141
-            'People Like You Manage Event Registration with WordPress',
142
-            'event_espresso'
143
-        ); ?></h2>
140
+		esc_html_e(
141
+			'People Like You Manage Event Registration with WordPress',
142
+			'event_espresso'
143
+		); ?></h2>
144 144
     <div class="feature-section has-2-columns is-fullwidth two-col">
145 145
         <div class="column col">
146 146
             <p><?php
147
-                echo sprintf(
148
-                    esc_html__(
149
-                        'Trusted by thousands, Event Espresso is the best WordPress event online registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a %sfully-featured event management website%s and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options, and discount codes to printable tickets.',
150
-                        'event_espresso'
151
-                    ),
152
-                    '<strong>',
153
-                    '</strong>'
154
-                ); ?></p>
155
-            <p><?php
156
-                esc_html_e(
157
-                    'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.',
158
-                    'event_espresso'
159
-                ); ?></p>
147
+				echo sprintf(
148
+					esc_html__(
149
+						'Trusted by thousands, Event Espresso is the best WordPress event online registration and ticketing manager plugin–and the best supported with full-time support. Turn your existing blog or website into a %sfully-featured event management website%s and a new way to make money. With Event Espresso you get it all; everything from custom registration forms and emails, seating limits, multiple price options, and discount codes to printable tickets.',
150
+						'event_espresso'
151
+					),
152
+					'<strong>',
153
+					'</strong>'
154
+				); ?></p>
155
+            <p><?php
156
+				esc_html_e(
157
+					'Event Espresso works perfectly for classes, workshops, fundraisers, sporting, trainings, conferences, networking, religion, social, non-profit, and nearly any other type of event.',
158
+					'event_espresso'
159
+				); ?></p>
160 160
         </div>
161 161
         <div class="column col">
162 162
             <p><?php
163
-                echo sprintf(
164
-                    esc_html__(
165
-                        'Our online event registration software can %smake your organization more profitable and efficient%s by helping you save money on registration and ticketing fees, reduce the countless hours of time you spend manually processing registrations, create a “green” and paperless event registration process and you will be open for business to accept registrations and payment 24/7.',
166
-                        'event_espresso'
167
-                    ),
168
-                    '<strong>',
169
-                    '</strong>'
170
-                ); ?></p>
171
-            <p><?php
172
-                esc_html_e(
173
-                    'If you\'re doing event registration and ticketing any other way, then you’re wasting time and money. We offer packages and prices to fit any budget, so get started with your online event registration and ticketing management system today.',
174
-                    'event_espresso'
175
-                ); ?></p>
163
+				echo sprintf(
164
+					esc_html__(
165
+						'Our online event registration software can %smake your organization more profitable and efficient%s by helping you save money on registration and ticketing fees, reduce the countless hours of time you spend manually processing registrations, create a “green” and paperless event registration process and you will be open for business to accept registrations and payment 24/7.',
166
+						'event_espresso'
167
+					),
168
+					'<strong>',
169
+					'</strong>'
170
+				); ?></p>
171
+            <p><?php
172
+				esc_html_e(
173
+					'If you\'re doing event registration and ticketing any other way, then you’re wasting time and money. We offer packages and prices to fit any budget, so get started with your online event registration and ticketing management system today.',
174
+					'event_espresso'
175
+				); ?></p>
176 176
         </div>
177 177
     </div>
178 178
 
179 179
     <div class="feature-section has-2-columns is-fullwidth two-col">
180 180
         <div class="column col">
181 181
             <h3><?php
182
-                esc_html_e(
183
-                    'Turn your blog into a complete event registration and management system',
184
-                    'event_espresso'
185
-                ); ?></h3>
186
-            <p><?php
187
-                esc_html_e(
188
-                    'Create a beautiful event page with ticket selection, venue details, and an integrated single page checkout system. With WordPress, Event Espresso, and Espresso Arabica 2014 (based on the "Twenty Fourteen" theme by WordPress), your events will certainly sell out faster than ever!',
189
-                    'event_espresso'
190
-                ); ?></p>
191
-            <p><?php
192
-                esc_html_e(
193
-                    'With a striking design that does not compromise the simplicity of WordPress and Event Espresso 4, Espresso Arabica 2014 will be the best event theme on the market.',
194
-                    'event_espresso'
195
-                ); ?></p>
196
-            <p><?php
197
-                echo sprintf(
198
-                    esc_html__('%sLearn more >>%s', 'event_espresso'),
199
-                    '<a href="http://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">',
200
-                    '</a>'
201
-                ); ?></p>
182
+				esc_html_e(
183
+					'Turn your blog into a complete event registration and management system',
184
+					'event_espresso'
185
+				); ?></h3>
186
+            <p><?php
187
+				esc_html_e(
188
+					'Create a beautiful event page with ticket selection, venue details, and an integrated single page checkout system. With WordPress, Event Espresso, and Espresso Arabica 2014 (based on the "Twenty Fourteen" theme by WordPress), your events will certainly sell out faster than ever!',
189
+					'event_espresso'
190
+				); ?></p>
191
+            <p><?php
192
+				esc_html_e(
193
+					'With a striking design that does not compromise the simplicity of WordPress and Event Espresso 4, Espresso Arabica 2014 will be the best event theme on the market.',
194
+					'event_espresso'
195
+				); ?></p>
196
+            <p><?php
197
+				echo sprintf(
198
+					esc_html__('%sLearn more >>%s', 'event_espresso'),
199
+					'<a href="http://eventespresso.com/wiki/setup-event-espresso-arabica-theme/">',
200
+					'</a>'
201
+				); ?></p>
202 202
         </div>
203 203
         <div class="column col"><img src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/single-event-page.jpg"></div>
204 204
     </div>
@@ -209,10 +209,10 @@  discard block
 block discarded – undo
209 209
     <div class="feature-section has-1-column is-fullwidth is-wide one-col">
210 210
         <div class="column col">
211 211
             <p><?php
212
-            esc_html_e(
213
-                'We’ve made it super easy to integrate Event Espresso with almost any properly coded WordPress theme, including many of the thousands of themes available on WordPress.org. The image below shows the same Event Espresso ticketing page across three diffrent WordPress themes.',
214
-                'event_espresso'
215
-            ); ?></p>
212
+			esc_html_e(
213
+				'We’ve made it super easy to integrate Event Espresso with almost any properly coded WordPress theme, including many of the thousands of themes available on WordPress.org. The image below shows the same Event Espresso ticketing page across three diffrent WordPress themes.',
214
+				'event_espresso'
215
+			); ?></p>
216 216
             <p><img class="about-overview-img" src="<?php echo EE_GLOBAL_ASSETS_URL; ?>images/screenshots/multiple-themes.jpg"/></p>
217 217
         </div>
218 218
     </div>
Please login to merge, or discard this patch.
admin_pages/about/templates/reviews.template.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@  discard block
 block discarded – undo
1 1
 <h2 style="text-align: left;"><?php esc_html_e('Who uses Event Espresso?', 'event_espresso'); ?></h2>
2 2
 <p><?php
3
-    echo sprintf(
4
-        esc_html__(
5
-            'Event Espresso is used by over 40,000 event organizers across the world. They host %sconferences%s, %sart classes%s, training courses, concerts, fundraisers, workshops, %sfilm festivals%s, %spaint and wine%s, and more.',
6
-            'event_espresso'
7
-        ),
8
-        '<a href="https://eventespresso.com/use-cases/conferences/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
9
-        '</a>',
10
-        '<a href="https://eventespresso.com/use-cases/art-classes/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
11
-        '</a>',
12
-        '<a href="https://eventespresso.com/use-cases/film-festival-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
13
-        '</a>',
14
-        '<a href="https://eventespresso.com/use-cases/paint-wine-party-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
15
-        '</a>'
16
-    ); ?></p>
3
+	echo sprintf(
4
+		esc_html__(
5
+			'Event Espresso is used by over 40,000 event organizers across the world. They host %sconferences%s, %sart classes%s, training courses, concerts, fundraisers, workshops, %sfilm festivals%s, %spaint and wine%s, and more.',
6
+			'event_espresso'
7
+		),
8
+		'<a href="https://eventespresso.com/use-cases/conferences/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
9
+		'</a>',
10
+		'<a href="https://eventespresso.com/use-cases/art-classes/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
11
+		'</a>',
12
+		'<a href="https://eventespresso.com/use-cases/film-festival-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
13
+		'</a>',
14
+		'<a href="https://eventespresso.com/use-cases/paint-wine-party-ticketing-software/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=Decaf+vs+Regular">',
15
+		'</a>'
16
+	); ?></p>
17 17
 
18 18
     <h2 class="about-headline-callout"><?php esc_html_e('Rave Reviews About Event Espresso 4', 'event_espresso'); ?></h2>
19 19
     <p>See what people have to say about the Event Espresso software and support services on <a
@@ -135,16 +135,16 @@  discard block
 block discarded – undo
135 135
 
136 136
     </div>
137 137
     <?php
138
-    if (! defined('EE_CAF_URL')) {
139
-        ?>
138
+	if (! defined('EE_CAF_URL')) {
139
+		?>
140 140
         <div align="right"><a
141 141
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
142 142
                 target="_blank" class="button button-primary button-hero"><span
143 143
                     class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a>
144 144
         </div>
145 145
         <?php
146
-    }
147
-    ?>
146
+	}
147
+	?>
148 148
     &nbsp;
149 149
     <hr/>
150 150
     <div class="feature-section has-3-columns is-fullwidth three-col">
@@ -255,16 +255,16 @@  discard block
 block discarded – undo
255 255
 
256 256
     </div>
257 257
     <?php
258
-    if (! defined('EE_CAF_URL')) {
259
-        ?>
258
+	if (! defined('EE_CAF_URL')) {
259
+		?>
260 260
         <div align="right"><a
261 261
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
262 262
                 target="_blank" class="button button-primary button-hero"><span
263 263
                     class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a>
264 264
         </div>
265 265
         <?php
266
-    }
267
-    ?>
266
+	}
267
+	?>
268 268
     &nbsp;
269 269
     <hr/>
270 270
     <div class="feature-section has-3-columns is-fullwidth three-col">
@@ -366,13 +366,13 @@  discard block
 block discarded – undo
366 366
         </div>
367 367
     </div>
368 368
     <?php
369
-    if (! defined('EE_CAF_URL')) {
370
-        ?>
369
+	if (! defined('EE_CAF_URL')) {
370
+		?>
371 371
         <div align="right"><a
372 372
                 href="https://eventespresso.com/pricing/?utm_source=wordpress_org&amp;utm_medium=link&amp;utm_campaign=decaf_about_page&amp;utm_content=reviews+tab"
373 373
                 target="_blank" class="button button-primary button-hero"><span
374 374
                     class="dashicons dashicons-cart"></span><?php esc_html_e('Upgrade Now!', 'event_espresso') ?></a>
375 375
         </div>
376 376
         <?php
377
-    }
378
-    ?>
379 377
\ No newline at end of file
378
+	}
379
+	?>
380 380
\ No newline at end of file
Please login to merge, or discard this patch.
espresso.php 1 patch
Indentation   +80 added lines, -80 removed lines patch added patch discarded remove patch
@@ -38,103 +38,103 @@
 block discarded – undo
38 38
  * @since           4.0
39 39
  */
40 40
 if (function_exists('espresso_version')) {
41
-    if (! function_exists('espresso_duplicate_plugin_error')) {
42
-        /**
43
-         *    espresso_duplicate_plugin_error
44
-         *    displays if more than one version of EE is activated at the same time
45
-         */
46
-        function espresso_duplicate_plugin_error()
47
-        {
48
-            ?>
41
+	if (! function_exists('espresso_duplicate_plugin_error')) {
42
+		/**
43
+		 *    espresso_duplicate_plugin_error
44
+		 *    displays if more than one version of EE is activated at the same time
45
+		 */
46
+		function espresso_duplicate_plugin_error()
47
+		{
48
+			?>
49 49
             <div class="error">
50 50
                 <p>
51 51
                     <?php
52
-                    echo esc_html__(
53
-                        'Can not run multiple versions of Event Espresso! One version has been automatically deactivated. Please verify that you have the correct version you want still active.',
54
-                        'event_espresso'
55
-                    ); ?>
52
+					echo esc_html__(
53
+						'Can not run multiple versions of Event Espresso! One version has been automatically deactivated. Please verify that you have the correct version you want still active.',
54
+						'event_espresso'
55
+					); ?>
56 56
                 </p>
57 57
             </div>
58 58
             <?php
59
-            espresso_deactivate_plugin(plugin_basename(__FILE__));
60
-        }
61
-    }
62
-    add_action('admin_notices', 'espresso_duplicate_plugin_error', 1);
59
+			espresso_deactivate_plugin(plugin_basename(__FILE__));
60
+		}
61
+	}
62
+	add_action('admin_notices', 'espresso_duplicate_plugin_error', 1);
63 63
 } else {
64
-    define('EE_MIN_PHP_VER_REQUIRED', '5.4.0');
65
-    if (! version_compare(PHP_VERSION, EE_MIN_PHP_VER_REQUIRED, '>=')) {
66
-        /**
67
-         * espresso_minimum_php_version_error
68
-         *
69
-         * @return void
70
-         */
71
-        function espresso_minimum_php_version_error()
72
-        {
73
-            ?>
64
+	define('EE_MIN_PHP_VER_REQUIRED', '5.4.0');
65
+	if (! version_compare(PHP_VERSION, EE_MIN_PHP_VER_REQUIRED, '>=')) {
66
+		/**
67
+		 * espresso_minimum_php_version_error
68
+		 *
69
+		 * @return void
70
+		 */
71
+		function espresso_minimum_php_version_error()
72
+		{
73
+			?>
74 74
             <div class="error">
75 75
                 <p>
76 76
                     <?php
77
-                    printf(
78
-                        esc_html__(
79
-                            'We\'re sorry, but Event Espresso requires PHP version %1$s or greater in order to operate. You are currently running version %2$s.%3$sIn order to update your version of PHP, you will need to contact your current hosting provider.%3$sFor information on stable PHP versions, please go to %4$s.',
80
-                            'event_espresso'
81
-                        ),
82
-                        EE_MIN_PHP_VER_REQUIRED,
83
-                        PHP_VERSION,
84
-                        '<br/>',
85
-                        '<a href="http://php.net/downloads.php">http://php.net/downloads.php</a>'
86
-                    );
87
-                    ?>
77
+					printf(
78
+						esc_html__(
79
+							'We\'re sorry, but Event Espresso requires PHP version %1$s or greater in order to operate. You are currently running version %2$s.%3$sIn order to update your version of PHP, you will need to contact your current hosting provider.%3$sFor information on stable PHP versions, please go to %4$s.',
80
+							'event_espresso'
81
+						),
82
+						EE_MIN_PHP_VER_REQUIRED,
83
+						PHP_VERSION,
84
+						'<br/>',
85
+						'<a href="http://php.net/downloads.php">http://php.net/downloads.php</a>'
86
+					);
87
+					?>
88 88
                 </p>
89 89
             </div>
90 90
             <?php
91
-            espresso_deactivate_plugin(plugin_basename(__FILE__));
92
-        }
91
+			espresso_deactivate_plugin(plugin_basename(__FILE__));
92
+		}
93 93
 
94
-        add_action('admin_notices', 'espresso_minimum_php_version_error', 1);
95
-    } else {
96
-        define('EVENT_ESPRESSO_MAIN_FILE', __FILE__);
97
-        /**
98
-         * espresso_version
99
-         * Returns the plugin version
100
-         *
101
-         * @return string
102
-         */
103
-        function espresso_version()
104
-        {
105
-            return apply_filters('FHEE__espresso__espresso_version', '4.9.81.rc.026');
106
-        }
94
+		add_action('admin_notices', 'espresso_minimum_php_version_error', 1);
95
+	} else {
96
+		define('EVENT_ESPRESSO_MAIN_FILE', __FILE__);
97
+		/**
98
+		 * espresso_version
99
+		 * Returns the plugin version
100
+		 *
101
+		 * @return string
102
+		 */
103
+		function espresso_version()
104
+		{
105
+			return apply_filters('FHEE__espresso__espresso_version', '4.9.81.rc.026');
106
+		}
107 107
 
108
-        /**
109
-         * espresso_plugin_activation
110
-         * adds a wp-option to indicate that EE has been activated via the WP admin plugins page
111
-         */
112
-        function espresso_plugin_activation()
113
-        {
114
-            update_option('ee_espresso_activation', true);
115
-        }
108
+		/**
109
+		 * espresso_plugin_activation
110
+		 * adds a wp-option to indicate that EE has been activated via the WP admin plugins page
111
+		 */
112
+		function espresso_plugin_activation()
113
+		{
114
+			update_option('ee_espresso_activation', true);
115
+		}
116 116
 
117
-        register_activation_hook(EVENT_ESPRESSO_MAIN_FILE, 'espresso_plugin_activation');
117
+		register_activation_hook(EVENT_ESPRESSO_MAIN_FILE, 'espresso_plugin_activation');
118 118
 
119
-        require_once __DIR__ . '/core/bootstrap_espresso.php';
120
-        bootstrap_espresso();
121
-    }
119
+		require_once __DIR__ . '/core/bootstrap_espresso.php';
120
+		bootstrap_espresso();
121
+	}
122 122
 }
123 123
 if (! function_exists('espresso_deactivate_plugin')) {
124
-    /**
125
-     *    deactivate_plugin
126
-     * usage:  espresso_deactivate_plugin( plugin_basename( __FILE__ ));
127
-     *
128
-     * @access public
129
-     * @param string $plugin_basename - the results of plugin_basename( __FILE__ ) for the plugin's main file
130
-     * @return    void
131
-     */
132
-    function espresso_deactivate_plugin($plugin_basename = '')
133
-    {
134
-        if (! function_exists('deactivate_plugins')) {
135
-            require_once ABSPATH . 'wp-admin/includes/plugin.php';
136
-        }
137
-        unset($_GET['activate'], $_REQUEST['activate']);
138
-        deactivate_plugins($plugin_basename);
139
-    }
124
+	/**
125
+	 *    deactivate_plugin
126
+	 * usage:  espresso_deactivate_plugin( plugin_basename( __FILE__ ));
127
+	 *
128
+	 * @access public
129
+	 * @param string $plugin_basename - the results of plugin_basename( __FILE__ ) for the plugin's main file
130
+	 * @return    void
131
+	 */
132
+	function espresso_deactivate_plugin($plugin_basename = '')
133
+	{
134
+		if (! function_exists('deactivate_plugins')) {
135
+			require_once ABSPATH . 'wp-admin/includes/plugin.php';
136
+		}
137
+		unset($_GET['activate'], $_REQUEST['activate']);
138
+		deactivate_plugins($plugin_basename);
139
+	}
140 140
 }
Please login to merge, or discard this patch.