Completed
Branch update-venue-ui (4b9c7e)
by
unknown
02:27
created
core/services/request/files/FileSubmissionInterface.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -15,37 +15,37 @@
 block discarded – undo
15 15
 interface FileSubmissionInterface
16 16
 {
17 17
 
18
-    /**
19
-     * @return string
20
-     */
21
-    public function getName();
22
-
23
-    /**
24
-     * @return string
25
-     */
26
-    public function getType();
27
-
28
-    /**
29
-     * @return int
30
-     */
31
-    public function getSize();
32
-
33
-    /**
34
-     * @return string
35
-     */
36
-    public function getTmpFile();
37
-
38
-    /**
39
-     * Should just return the filename.
40
-     * @since 4.9.80.p
41
-     * @return string
42
-     */
43
-    public function __toString();
44
-
45
-    /**
46
-     * @return string
47
-     */
48
-    public function getErrorCode();
18
+	/**
19
+	 * @return string
20
+	 */
21
+	public function getName();
22
+
23
+	/**
24
+	 * @return string
25
+	 */
26
+	public function getType();
27
+
28
+	/**
29
+	 * @return int
30
+	 */
31
+	public function getSize();
32
+
33
+	/**
34
+	 * @return string
35
+	 */
36
+	public function getTmpFile();
37
+
38
+	/**
39
+	 * Should just return the filename.
40
+	 * @since 4.9.80.p
41
+	 * @return string
42
+	 */
43
+	public function __toString();
44
+
45
+	/**
46
+	 * @return string
47
+	 */
48
+	public function getErrorCode();
49 49
 }
50 50
 // End of file FileSubmissionInterface.php
51 51
 // Location: EventEspresso\core\services\request\files/FileSubmissionInterface.php
Please login to merge, or discard this patch.
core/services/options/JsonWpOptionSerializableInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
  */
18 18
 interface JsonWpOptionSerializableInterface extends JsonSerializableAndUnserializable
19 19
 {
20
-    /**
21
-     * Gets the value to use for wp_options.option_name. Note this is not static, so it can use object properties to
22
-     * determine what option name to use.
23
-     * @since 4.9.80.p
24
-     * @return string
25
-     */
26
-    public function getWpOptionName();
20
+	/**
21
+	 * Gets the value to use for wp_options.option_name. Note this is not static, so it can use object properties to
22
+	 * determine what option name to use.
23
+	 * @since 4.9.80.p
24
+	 * @return string
25
+	 */
26
+	public function getWpOptionName();
27 27
 }
28 28
 // End of file JsonWpOptionSerializableInterface.php
29 29
 // Location: EventEspresso\core\services\options/JsonWpOptionSerializableInterface.php
Please login to merge, or discard this patch.
core/domain/Domain.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@
 block discarded – undo
63 63
      */
64 64
     private function setCaffeinated()
65 65
     {
66
-        $this->caffeinated = (! defined('EE_DECAF') || EE_DECAF !== true)
67
-            && is_readable($this->pluginPath() . 'caffeinated/brewing_regular.php');
66
+        $this->caffeinated = ( ! defined('EE_DECAF') || EE_DECAF !== true)
67
+            && is_readable($this->pluginPath().'caffeinated/brewing_regular.php');
68 68
     }
69 69
 
70 70
 
Please login to merge, or discard this patch.
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -15,70 +15,70 @@
 block discarded – undo
15 15
  */
16 16
 class Domain extends DomainBase implements CaffeinatedInterface
17 17
 {
18
-    /**
19
-     * URL path component used to denote an API request
20
-     */
21
-    const API_NAMESPACE = 'ee/v';
22
-
23
-    const ASSET_NAMESPACE = 'eventespresso';
24
-
25
-    const TEXT_DOMAIN = 'event_espresso';
26
-
27
-    /**
28
-     * Slug used for the context where a registration status is changed from a manual trigger in the Registration Admin
29
-     * Page ui.
30
-     */
31
-    const CONTEXT_REGISTRATION_STATUS_CHANGE_REGISTRATION_ADMIN
32
-        = 'manual_registration_status_change_from_registration_admin';
33
-
34
-    const CONTEXT_REGISTRATION_STATUS_CHANGE_REGISTRATION_ADMIN_NOTIFY
35
-        = 'manual_registration_status_change_from_registration_admin_and_notify';
36
-
37
-
38
-    /**
39
-     * Whether or not EE core is the full premium version.
40
-     * @since 4.9.59.p
41
-     * @var bool
42
-     */
43
-    private $caffeinated;
44
-
45
-
46
-    public function __construct(FilePath $plugin_file, Version $version)
47
-    {
48
-        parent::__construct($plugin_file, $version);
49
-        $this->setCaffeinated();
50
-    }
51
-
52
-    /**
53
-     * Whether or not EE core is the full premium version.
54
-     * @since 4.9.59.p
55
-     * @return bool
56
-     */
57
-    public function isCaffeinated()
58
-    {
59
-        return $this->caffeinated;
60
-    }
61
-
62
-
63
-    /**
64
-     * Setter for $is_caffeinated property.
65
-     * @since 4.9.59.p
66
-     */
67
-    private function setCaffeinated()
68
-    {
69
-        $this->caffeinated = (! defined('EE_DECAF') || EE_DECAF !== true)
70
-            && is_readable($this->pluginPath() . 'caffeinated/brewing_regular.php');
71
-    }
72
-
73
-
74
-    /**
75
-     * This should be used everywhere the Event Espresso brand name is referenced in public facing interfaces
76
-     * to allow for filtering the brand.
77
-     *
78
-     * @return string
79
-     */
80
-    public static function brandName()
81
-    {
82
-        return (string) apply_filters('FHEE__EventEspresso_core_domain_Domain__brandName', 'Event Espresso');
83
-    }
18
+	/**
19
+	 * URL path component used to denote an API request
20
+	 */
21
+	const API_NAMESPACE = 'ee/v';
22
+
23
+	const ASSET_NAMESPACE = 'eventespresso';
24
+
25
+	const TEXT_DOMAIN = 'event_espresso';
26
+
27
+	/**
28
+	 * Slug used for the context where a registration status is changed from a manual trigger in the Registration Admin
29
+	 * Page ui.
30
+	 */
31
+	const CONTEXT_REGISTRATION_STATUS_CHANGE_REGISTRATION_ADMIN
32
+		= 'manual_registration_status_change_from_registration_admin';
33
+
34
+	const CONTEXT_REGISTRATION_STATUS_CHANGE_REGISTRATION_ADMIN_NOTIFY
35
+		= 'manual_registration_status_change_from_registration_admin_and_notify';
36
+
37
+
38
+	/**
39
+	 * Whether or not EE core is the full premium version.
40
+	 * @since 4.9.59.p
41
+	 * @var bool
42
+	 */
43
+	private $caffeinated;
44
+
45
+
46
+	public function __construct(FilePath $plugin_file, Version $version)
47
+	{
48
+		parent::__construct($plugin_file, $version);
49
+		$this->setCaffeinated();
50
+	}
51
+
52
+	/**
53
+	 * Whether or not EE core is the full premium version.
54
+	 * @since 4.9.59.p
55
+	 * @return bool
56
+	 */
57
+	public function isCaffeinated()
58
+	{
59
+		return $this->caffeinated;
60
+	}
61
+
62
+
63
+	/**
64
+	 * Setter for $is_caffeinated property.
65
+	 * @since 4.9.59.p
66
+	 */
67
+	private function setCaffeinated()
68
+	{
69
+		$this->caffeinated = (! defined('EE_DECAF') || EE_DECAF !== true)
70
+			&& is_readable($this->pluginPath() . 'caffeinated/brewing_regular.php');
71
+	}
72
+
73
+
74
+	/**
75
+	 * This should be used everywhere the Event Espresso brand name is referenced in public facing interfaces
76
+	 * to allow for filtering the brand.
77
+	 *
78
+	 * @return string
79
+	 */
80
+	public static function brandName()
81
+	{
82
+		return (string) apply_filters('FHEE__EventEspresso_core_domain_Domain__brandName', 'Event Espresso');
83
+	}
84 84
 }
Please login to merge, or discard this patch.
Invoice/templates/invoice_settings_header_display.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
         <td>
17 17
             <span class="description">
18 18
                 <?php _e(
19
-                    "The following settings affect the content and/or appearance of the downloadable PDF invoice.",
20
-                    'event_espresso'
21
-                ); ?></span>
19
+					"The following settings affect the content and/or appearance of the downloadable PDF invoice.",
20
+					'event_espresso'
21
+				); ?></span>
22 22
         </td>
23 23
     </tr>
24 24
 </table>
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
Invoice/templates/invoice_settings_header_gateway.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
         <td>
17 17
             <span class="description">
18 18
                 <?php _e(
19
-                    "The following settings affect the functioning of the Invoice gateway.",
20
-                    'event_espresso'
21
-                ); ?></span>
19
+					"The following settings affect the functioning of the Invoice gateway.",
20
+					'event_espresso'
21
+				); ?></span>
22 22
         </td>
23 23
     </tr>
24 24
 </table>
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
registration_form/help_tabs/registration_form_add_question.help_tab.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 <?php esc_html_e('This shows the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', 'event_espresso'); ?>
26 26
 </li>
27 27
 <li>
28
-<strong><?php esc_html_e('Answer Options (for applicable question types)', 'event_espresso');?></strong><br/>
29
-<?php esc_html_e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso');?>
28
+<strong><?php esc_html_e('Answer Options (for applicable question types)', 'event_espresso'); ?></strong><br/>
29
+<?php esc_html_e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso'); ?>
30 30
 </li>
31 31
 <li>
32 32
 <strong><?php esc_html_e('Required Question', 'event_espresso'); ?></strong><br />
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 <p><strong><?php esc_html_e('Add New Question', 'event_espresso'); ?></strong></p>
5 5
 <p>
6 6
 <?php printf(
7
-    esc_html__('This page allows you to add a new question for %s.', 'event_espresso'),
8
-    Domain::brandName()
7
+	esc_html__('This page allows you to add a new question for %s.', 'event_espresso'),
8
+	Domain::brandName()
9 9
 ); ?>
10 10
 </p>
11 11
 <ul>
Please login to merge, or discard this patch.
registration_form/help_tabs/registration_form_edit_question.help_tab.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
 <?php esc_html_e('This shows the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, Date Picker, and HTML Textarea (allowed tags: a, abbr, acronym, b, br, blockquote ,cite, code, del ,em, i, li, ol, p, q, s, strike, strong, ul).', 'event_espresso'); ?>
30 30
 </li>
31 31
 <li>
32
-<strong><?php esc_html_e('Answer Options (for applicable question types)', 'event_espresso');?></strong>
33
-<strong><?php esc_html_e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso');?></strong>
32
+<strong><?php esc_html_e('Answer Options (for applicable question types)', 'event_espresso'); ?></strong>
33
+<strong><?php esc_html_e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso'); ?></strong>
34 34
 </li>
35 35
 <li>
36 36
 <strong><?php esc_html_e('Required Question', 'event_espresso'); ?></strong><br />
Please login to merge, or discard this patch.
messages/templates/ee_msg_messages_templates_editor_help_tab.template.php 1 patch
Indentation   +56 added lines, -56 removed lines patch added patch discarded remove patch
@@ -4,97 +4,97 @@
 block discarded – undo
4 4
 <p><?php echo $img1; ?></p>
5 5
 <p>
6 6
     <?php printf(
7
-        esc_html__(
8
-            'The Event Editor title is very helpful in indicating which template you are currently editing.  In the example above, we can see that we are editing the template that for the %1$sEmail%2$s messenger, the %1$sPayment%2$s message type, and the %1$sEvent Admin%2$s context (which for this message type means "recipient").',
9
-            'event_espresso'
10
-        ),
11
-        '<strong>',
12
-        '</strong>'
13
-    ); ?></p>
7
+		esc_html__(
8
+			'The Event Editor title is very helpful in indicating which template you are currently editing.  In the example above, we can see that we are editing the template that for the %1$sEmail%2$s messenger, the %1$sPayment%2$s message type, and the %1$sEvent Admin%2$s context (which for this message type means "recipient").',
9
+			'event_espresso'
10
+		),
11
+		'<strong>',
12
+		'</strong>'
13
+	); ?></p>
14 14
 <p><strong><?php esc_html_e('2. "Context Switcher" and Preview Button', 'event_espresso'); ?></strong></p>
15 15
 <p><?php echo $img2; ?></p>
16 16
 <p>
17 17
     <?php esc_html_e(
18
-        'The context switcher allows you to quickly switch between templates. The current context you are working on is displayed in the dropdown. You can switch to any other template for contexts available to the messenger and message type template group you are working on.',
19
-        'event_espresso'
20
-    ); ?></p>
18
+		'The context switcher allows you to quickly switch between templates. The current context you are working on is displayed in the dropdown. You can switch to any other template for contexts available to the messenger and message type template group you are working on.',
19
+		'event_espresso'
20
+	); ?></p>
21 21
 <p>
22 22
     <?php esc_html_e(
23
-        'Remember that contexts can represent different things. In this example they represent "recipients" and so they are labelled as such. In this example (for email payment confirmations), you may want Event Administrators to receive different information than Primary Registrants (the other context available to edit).',
24
-        'event_espresso'
25
-    ); ?></p>
23
+		'Remember that contexts can represent different things. In this example they represent "recipients" and so they are labelled as such. In this example (for email payment confirmations), you may want Event Administrators to receive different information than Primary Registrants (the other context available to edit).',
24
+		'event_espresso'
25
+	); ?></p>
26 26
 <p>
27 27
     <?php printf(
28
-        esc_html__(
29
-            'The %sPreview%s button is simply a link to a special view of the current template displayed to give you an idea of how the actual message will look when delivered. More information on what the preview displays is available in the content of the help tab on the preview page.',
30
-            'event_espresso'
31
-        ),
32
-        '<strong>',
33
-        '</strong>'
34
-    ); ?>
28
+		esc_html__(
29
+			'The %sPreview%s button is simply a link to a special view of the current template displayed to give you an idea of how the actual message will look when delivered. More information on what the preview displays is available in the content of the help tab on the preview page.',
30
+			'event_espresso'
31
+		),
32
+		'<strong>',
33
+		'</strong>'
34
+	); ?>
35 35
 </p>
36 36
 <p><strong><?php esc_html_e('3. Template Form Fields', 'event_espresso'); ?></strong></p>
37 37
 <p>
38 38
     <?php echo $img3; ?><?php esc_html_e(
39
-        'The middle area of the page is dedicated to all the fields related to the message template. These fields are dynamic in the sense that different messengers may require different fields (and sometimes different message types will add or subtract fields as well.',
40
-        'event_espresso'
41
-    ); ?></p>
39
+		'The middle area of the page is dedicated to all the fields related to the message template. These fields are dynamic in the sense that different messengers may require different fields (and sometimes different message types will add or subtract fields as well.',
40
+		'event_espresso'
41
+	); ?></p>
42 42
 <p>
43 43
     <?php printf(
44
-        esc_html__(
45
-            'When editing a "Email Payment Template", you will notice that there is a field labelled "Event List" along with "Main Content". The Event List field is a special field that holds the template for whenever the %1$s[EVENT_LIST]%2$s shortcode is used in the "Main Content" field. This is so you can more finely control how each "event" in the event list displays when shown in the Main content. The "Email Registration Template", has an additional field called "Registration List". It functions much the same except that the contents of the "Registration List" field are used to indicate how each registrant is listed in the Main Content when the %1$s[ATTENDEE_LIST]%2$s shortcode is parsed.',
46
-            'event_espresso'
47
-        ),
48
-        '<strong>',
49
-        '</strong>'
50
-    ); ?></p>
44
+		esc_html__(
45
+			'When editing a "Email Payment Template", you will notice that there is a field labelled "Event List" along with "Main Content". The Event List field is a special field that holds the template for whenever the %1$s[EVENT_LIST]%2$s shortcode is used in the "Main Content" field. This is so you can more finely control how each "event" in the event list displays when shown in the Main content. The "Email Registration Template", has an additional field called "Registration List". It functions much the same except that the contents of the "Registration List" field are used to indicate how each registrant is listed in the Main Content when the %1$s[ATTENDEE_LIST]%2$s shortcode is parsed.',
46
+			'event_espresso'
47
+		),
48
+		'<strong>',
49
+		'</strong>'
50
+	); ?></p>
51 51
 <div style="clear:both"></div>
52 52
 <p><strong><?php esc_html_e('4. Valid Shortcodes Metabox', 'event_espresso'); ?></strong></p>
53 53
 <p>
54 54
     <?php echo $img4; ?><?php esc_html_e(
55
-        'The "Valid Shortcodes" metabox contains a list of all the shortcodes that can be used for the displayed template. This list is dynamic and will vary between templates.',
56
-        'event_espresso'
57
-    ); ?>
55
+		'The "Valid Shortcodes" metabox contains a list of all the shortcodes that can be used for the displayed template. This list is dynamic and will vary between templates.',
56
+		'event_espresso'
57
+	); ?>
58 58
 </p>
59 59
 <p>
60 60
     <?php esc_html_e(
61
-        'This box is at a fixed height, but contents are scrollable. You can click the question mark to find out what the given shortcode will parse to when used in your template.',
62
-        'event_espresso'
63
-    ); ?></p>
61
+		'This box is at a fixed height, but contents are scrollable. You can click the question mark to find out what the given shortcode will parse to when used in your template.',
62
+		'event_espresso'
63
+	); ?></p>
64 64
 <p>
65 65
     <?php printf(
66
-        esc_html__(
67
-            '%sAn important note:%s The system has been designed so that when you save the template, checks will be performed on each field to make sure that only valid shortcodes (or values) are used within them.  You will get a warning box with clear instructions if you\'ve tried to use a particular shortcode in a field that does not support it.  Also, you\'ll want to try the Preview button if you\'ve made any changes to the template to see if the changes are as you expected!',
68
-            'event_espresso'
69
-        ),
70
-        '<strong>',
71
-        '</strong>'
72
-    ); ?>
66
+		esc_html__(
67
+			'%sAn important note:%s The system has been designed so that when you save the template, checks will be performed on each field to make sure that only valid shortcodes (or values) are used within them.  You will get a warning box with clear instructions if you\'ve tried to use a particular shortcode in a field that does not support it.  Also, you\'ll want to try the Preview button if you\'ve made any changes to the template to see if the changes are as you expected!',
68
+			'event_espresso'
69
+		),
70
+		'<strong>',
71
+		'</strong>'
72
+	); ?>
73 73
 </p>
74 74
 <div style="clear:both"></div>
75 75
 <p><strong><?php esc_html_e('5. Override All Custom', 'event_espresso'); ?></strong></p>
76 76
 <p>
77 77
     <?php echo $img5; ?>
78 78
     <?php printf(
79
-        esc_html__(
80
-            'When you are editing a template that is a global template (not a custom event template), you\'ll see an option in the Publish metabox in the right column labelled "Override all custom". When this option is selected, custom event templates for that %1$smessenger%2$s, %1$smessage type%2$s, and %1$scontext%2$s will be ignored and the global template will be used. Why would you want to do this? For this given example, you may want to be able to allow custom event templates to be able to modify the looks and content of what goes out to Primary Registrant but to never affect what the Event Administrator receives (as set by the global template).',
81
-            'event_espresso'
82
-        ),
83
-        '<em>',
84
-        '</em>'
85
-    ); ?>
79
+		esc_html__(
80
+			'When you are editing a template that is a global template (not a custom event template), you\'ll see an option in the Publish metabox in the right column labelled "Override all custom". When this option is selected, custom event templates for that %1$smessenger%2$s, %1$smessage type%2$s, and %1$scontext%2$s will be ignored and the global template will be used. Why would you want to do this? For this given example, you may want to be able to allow custom event templates to be able to modify the looks and content of what goes out to Primary Registrant but to never affect what the Event Administrator receives (as set by the global template).',
81
+			'event_espresso'
82
+		),
83
+		'<em>',
84
+		'</em>'
85
+	); ?>
86 86
 </p>
87 87
 <p>
88 88
     <strong><?php esc_html_e('Recommendations', 'event_espresso'); ?></strong><br/>
89 89
     <?php esc_html_e(
90
-        'Want to see a tour of this screen? Click on the Message Template Editor Tour button which appears on the right side of the page. To learn more about the options on this page, take a look at the different tabs that appear on the left side of the page.',
91
-        'event_espresso'
92
-    ); ?>
90
+		'Want to see a tour of this screen? Click on the Message Template Editor Tour button which appears on the right side of the page. To learn more about the options on this page, take a look at the different tabs that appear on the left side of the page.',
91
+		'event_espresso'
92
+	); ?>
93 93
 </p>
94 94
 <p>
95 95
     <strong><?php esc_html_e('Screen Options', 'event_espresso'); ?></strong><br/>
96 96
     <?php esc_html_e(
97
-        'You can customize the information that is shown on this page by toggling the Screen Options tab. Then you can add or remove checkmarks to hide or show certain content.',
98
-        'event_espresso'
99
-    ); ?>
97
+		'You can customize the information that is shown on this page by toggling the Screen Options tab. Then you can add or remove checkmarks to hide or show certain content.',
98
+		'event_espresso'
99
+	); ?>
100 100
 </p>
101 101
\ No newline at end of file
Please login to merge, or discard this patch.
admin/new/pricing/help_tabs/pricing_add_new_price_type.help_tab.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 <p><strong><?php esc_html_e('Add New Price Type', 'event_espresso'); ?></strong></p>
5 5
 <p>
6 6
 <?php printf(
7
-    esc_html__('This page allows you to create a new price type for %s.', 'event_espresso'),
8
-    Domain::brandName()
7
+	esc_html__('This page allows you to create a new price type for %s.', 'event_espresso'),
8
+	Domain::brandName()
9 9
 ); ?>
10 10
 </p>
11 11
 <ul>
Please login to merge, or discard this patch.