Completed
Branch models-cleanup/model-relations (db5ca7)
by
unknown
13:03 queued 08:35
created
admin_pages/events/templates/event_tickets_metabox_main.template.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@  discard block
 block discarded – undo
2 2
     <div id="event-and-ticket-form-content">
3 3
         <h4 class="event-tickets-datetimes-title">
4 4
             <?php _e(
5
-                'Event Datetime',
6
-                'event_espresso'
7
-            ); ?></h4><?php echo $event_datetime_help_link; ?>
5
+				'Event Datetime',
6
+				'event_espresso'
7
+			); ?></h4><?php echo $event_datetime_help_link; ?>
8 8
         <div class="event-datetimes-container">
9 9
             <!-- these are the ids for the current displayed datetimes (on create new this is blank -->
10 10
             <input type="hidden" name="datetime_IDs" id="datetime-IDs" value="<?php echo $existing_datetime_ids; ?>">
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
                         </td>
47 47
                         <td class="event-datetime-column reg-limit-column">
48 48
                             <?php
49
-                            $reg_limit = $time->get_pretty('DTT_reg_limit', 'input');
50
-                            ?>
49
+							$reg_limit = $time->get_pretty('DTT_reg_limit', 'input');
50
+							?>
51 51
                             <input type="text" name="edit_event_datetimes[1][DTT_reg_limit]"
52 52
                                    id="event-datetime-DTT_reg_limit-1"
53 53
                                    class="ee-small-text-inp ee-inp-right event-datetime-DTT_reg_limit"
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
                         </td>
56 56
                         <td class="datetime-tickets-sold">
57 57
                             <?php printf(
58
-                                __('Tickets Sold: %s', 'event_espresso'),
59
-                                $time->get('DTT_sold')
60
-                            ); ?></td>
58
+								__('Tickets Sold: %s', 'event_espresso'),
59
+								$time->get('DTT_sold')
60
+							); ?></td>
61 61
                     </tr>
62 62
                     </tbody>
63 63
                 </table>
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
         <div class="event-tickets-container">
70 70
             <h4 class="event-tickets-datetimes-title">
71 71
                 <?php _e(
72
-                    'Ticket Options',
73
-                    'event_espresso'
74
-                ); ?></h4><?php echo $ticket_options_help_link; ?><br/>
72
+					'Ticket Options',
73
+					'event_espresso'
74
+				); ?></h4><?php echo $ticket_options_help_link; ?><br/>
75 75
             <table class="add-new-ticket-table">
76 76
                 <thead>
77 77
                 <tr valign="top">
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
             <div class="save-cancel-button-container">
98 98
                 <button class="button-secondary ee-create-button" data-context="ticket">
99 99
                     <?php _e(
100
-                        'Create New Ticket',
101
-                        'event_espresso'
102
-                    ); ?></button>
100
+						'Create New Ticket',
101
+						'event_espresso'
102
+					); ?></button>
103 103
             </div>
104 104
         </div> <!-- end .event-tickets-container -->
105 105
         <div style="clear:both"></div>
Please login to merge, or discard this patch.
admin_pages/events/templates/event_registration_options.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 <p>
7 7
     <label for="max-registrants">
8 8
         <?php _e(
9
-            'Maximum number of tickets allowed per order for this event: ',
10
-            'event_espresso'
11
-        ); ?></label>
9
+			'Maximum number of tickets allowed per order for this event: ',
10
+			'event_espresso'
11
+		); ?></label>
12 12
     <input class="ee-numeric" type="text" id="max-registrants" name="additional_limit"
13 13
            value="<?php echo $additional_limit; ?>" size="4"/>
14 14
 </p>
Please login to merge, or discard this patch.
admin_pages/registration_form/qtips/EE_Registration_Form_Tips.lib.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -15,39 +15,39 @@
 block discarded – undo
15 15
 {
16 16
 
17 17
 
18
-    protected function _set_tips_array()
19
-    {
20
-        $this->_qtipsa = array(
21
-            0 => array(
22
-                'content_id' => 'about-system-lock-icon',
23
-                'target'     => '.questions .ee-system-lock',
24
-                'content'    => __('This question is a system question and cannot be trashed', 'event_espresso'),
25
-                'options'    => array(), // defaults
26
-            ),
27
-            1 => array(
28
-                'content_id' => 'about-non-system-lock-icon',
29
-                'target'     => '.questions .ee-alternate-color',
30
-                'content'    => __(
31
-                    'This question has answers attached to it from registrations that have the question.  It cannot be permanently deleted.',
32
-                    'event_espresso'
33
-                ),
34
-                'options'    => array(),
35
-            ),
36
-            2 => array(
37
-                'content_id' => 'about-question-group-lock-icon',
38
-                'target'     => '.questiongroups .ee-system-lock',
39
-                'content'    => __('This question group is a system group and cannot be trashed', 'event_espresso'),
40
-                'options'    => array(),
41
-            ),
42
-            3 => array(
43
-                'content_id' => 'about-non-system-qg-lock-icon',
44
-                'target'     => '.questiongroups .ee-alternate-color',
45
-                'content'    => __(
46
-                    'This question group has questions that have answers attached to it from registrations that have the question. It cannot be permanently deleted.',
47
-                    'event_espresso'
48
-                ),
49
-                'options'    => array(),
50
-            ),
51
-        );
52
-    }
18
+	protected function _set_tips_array()
19
+	{
20
+		$this->_qtipsa = array(
21
+			0 => array(
22
+				'content_id' => 'about-system-lock-icon',
23
+				'target'     => '.questions .ee-system-lock',
24
+				'content'    => __('This question is a system question and cannot be trashed', 'event_espresso'),
25
+				'options'    => array(), // defaults
26
+			),
27
+			1 => array(
28
+				'content_id' => 'about-non-system-lock-icon',
29
+				'target'     => '.questions .ee-alternate-color',
30
+				'content'    => __(
31
+					'This question has answers attached to it from registrations that have the question.  It cannot be permanently deleted.',
32
+					'event_espresso'
33
+				),
34
+				'options'    => array(),
35
+			),
36
+			2 => array(
37
+				'content_id' => 'about-question-group-lock-icon',
38
+				'target'     => '.questiongroups .ee-system-lock',
39
+				'content'    => __('This question group is a system group and cannot be trashed', 'event_espresso'),
40
+				'options'    => array(),
41
+			),
42
+			3 => array(
43
+				'content_id' => 'about-non-system-qg-lock-icon',
44
+				'target'     => '.questiongroups .ee-alternate-color',
45
+				'content'    => __(
46
+					'This question group has questions that have answers attached to it from registrations that have the question. It cannot be permanently deleted.',
47
+					'event_espresso'
48
+				),
49
+				'options'    => array(),
50
+			),
51
+		);
52
+	}
53 53
 }
Please login to merge, or discard this patch.
espresso_ticket_selector/EES_Espresso_Ticket_Selector.shortcode.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -10,50 +10,50 @@
 block discarded – undo
10 10
 class EES_Espresso_Ticket_Selector extends EES_Shortcode
11 11
 {
12 12
 
13
-    /**
14
-     * @deprecated 4.9.27
15
-     * @return  void
16
-     */
17
-    public static function set_hooks()
18
-    {
19
-    }
20
-
21
-
22
-
23
-    /**
24
-     * @deprecated 4.9.27
25
-     * @return  void
26
-     */
27
-    public static function set_hooks_admin()
28
-    {
29
-    }
30
-
31
-
32
-
33
-    /**
34
-     * @deprecated 4.9.27
35
-     * @param \WP $WP
36
-     */
37
-    public function run(WP $WP)
38
-    {
39
-    }
40
-
41
-
42
-    /**
43
-     * @deprecated 4.9.27
44
-     * @param       array   $attributes
45
-     * @return  string
46
-     */
47
-    public function process_shortcode($attributes = array())
48
-    {
49
-        \EE_Error::doing_it_wrong(
50
-            __METHOD__,
51
-            __(
52
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector instead.',
53
-                'event_espresso'
54
-            ),
55
-            '4.9.27'
56
-        );
57
-        return '';
58
-    }
13
+	/**
14
+	 * @deprecated 4.9.27
15
+	 * @return  void
16
+	 */
17
+	public static function set_hooks()
18
+	{
19
+	}
20
+
21
+
22
+
23
+	/**
24
+	 * @deprecated 4.9.27
25
+	 * @return  void
26
+	 */
27
+	public static function set_hooks_admin()
28
+	{
29
+	}
30
+
31
+
32
+
33
+	/**
34
+	 * @deprecated 4.9.27
35
+	 * @param \WP $WP
36
+	 */
37
+	public function run(WP $WP)
38
+	{
39
+	}
40
+
41
+
42
+	/**
43
+	 * @deprecated 4.9.27
44
+	 * @param       array   $attributes
45
+	 * @return  string
46
+	 */
47
+	public function process_shortcode($attributes = array())
48
+	{
49
+		\EE_Error::doing_it_wrong(
50
+			__METHOD__,
51
+			__(
52
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoTicketSelector instead.',
53
+				'event_espresso'
54
+			),
55
+			'4.9.27'
56
+		);
57
+		return '';
58
+	}
59 59
 }
Please login to merge, or discard this patch.
shortcodes/espresso_txn_page/EES_Espresso_Txn_Page.shortcode.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -11,55 +11,55 @@
 block discarded – undo
11 11
 {
12 12
 
13 13
 
14
-    /**
15
-     * @deprecated 4.9.27
16
-     * @return  void
17
-     */
18
-    public static function set_hooks()
19
-    {
20
-    }
14
+	/**
15
+	 * @deprecated 4.9.27
16
+	 * @return  void
17
+	 */
18
+	public static function set_hooks()
19
+	{
20
+	}
21 21
 
22
-    /**
23
-     * @deprecated 4.9.27
24
-     * @return  void
25
-     */
26
-    public static function set_hooks_admin()
27
-    {
28
-    }
22
+	/**
23
+	 * @deprecated 4.9.27
24
+	 * @return  void
25
+	 */
26
+	public static function set_hooks_admin()
27
+	{
28
+	}
29 29
 
30 30
 
31 31
 
32
-    /**
33
-     * @deprecated 4.9.27
34
-     * @return  void
35
-     */
36
-    public static function set_definitions()
37
-    {
38
-    }
32
+	/**
33
+	 * @deprecated 4.9.27
34
+	 * @return  void
35
+	 */
36
+	public static function set_definitions()
37
+	{
38
+	}
39 39
 
40 40
 
41 41
 
42
-    /**
43
-     * @deprecated 4.9.27
44
-     * @param  WP $WP
45
-     * @return void
46
-     * @throws \Exception
47
-     * @throws \EE_Error
48
-     */
49
-    public function run(WP $WP)
50
-    {
51
-    }
42
+	/**
43
+	 * @deprecated 4.9.27
44
+	 * @param  WP $WP
45
+	 * @return void
46
+	 * @throws \Exception
47
+	 * @throws \EE_Error
48
+	 */
49
+	public function run(WP $WP)
50
+	{
51
+	}
52 52
 
53 53
 
54 54
 
55 55
 
56
-    /**
57
-     * @deprecated 4.9.27
58
-     * @param array $attributes
59
-     * @return string
60
-     */
61
-    public function process_shortcode($attributes = array())
62
-    {
63
-        return __('This is the Event Espresso Transactions page. This page receives instant payment notification (IPN) requests and should have a status of published, but should not be easily accessible by site visitors. Do not add it to your website\'s navigation menu or link to it from another page. Also, do not delete it or change its status to private.', 'event_espresso');
64
-    }
56
+	/**
57
+	 * @deprecated 4.9.27
58
+	 * @param array $attributes
59
+	 * @return string
60
+	 */
61
+	public function process_shortcode($attributes = array())
62
+	{
63
+		return __('This is the Event Espresso Transactions page. This page receives instant payment notification (IPN) requests and should have a status of published, but should not be easily accessible by site visitors. Do not add it to your website\'s navigation menu or link to it from another page. Also, do not delete it or change its status to private.', 'event_espresso');
64
+	}
65 65
 }
Please login to merge, or discard this patch.
shortcodes/espresso_events/EES_Espresso_Events.shortcode.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -10,50 +10,50 @@
 block discarded – undo
10 10
 class EES_Espresso_Events extends EES_Shortcode
11 11
 {
12 12
 
13
-    /**
14
-     * @deprecated 4.9.27
15
-     *  @return     void
16
-     */
17
-    public static function set_hooks()
18
-    {
19
-    }
20
-
21
-    /**
22
-     * @deprecated 4.9.27
23
-     *  @return     void
24
-     */
25
-    public static function set_hooks_admin()
26
-    {
27
-    }
28
-
29
-
30
-
31
-    /**
32
-     * @deprecated 4.9.27
33
-     * @param WP $WP
34
-     * @return    void
35
-     */
36
-    public function run(WP $WP)
37
-    {
38
-    }
39
-
40
-
41
-
42
-    /**
43
-     * @deprecated 4.9.27
44
-     *  @param  array   $attributes
45
-     *  @return     string
46
-     */
47
-    public function process_shortcode($attributes = array())
48
-    {
49
-        \EE_Error::doing_it_wrong(
50
-            __METHOD__,
51
-            __(
52
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEvents instead.',
53
-                'event_espresso'
54
-            ),
55
-            '4.9.27'
56
-        );
57
-        return '';
58
-    }
13
+	/**
14
+	 * @deprecated 4.9.27
15
+	 *  @return     void
16
+	 */
17
+	public static function set_hooks()
18
+	{
19
+	}
20
+
21
+	/**
22
+	 * @deprecated 4.9.27
23
+	 *  @return     void
24
+	 */
25
+	public static function set_hooks_admin()
26
+	{
27
+	}
28
+
29
+
30
+
31
+	/**
32
+	 * @deprecated 4.9.27
33
+	 * @param WP $WP
34
+	 * @return    void
35
+	 */
36
+	public function run(WP $WP)
37
+	{
38
+	}
39
+
40
+
41
+
42
+	/**
43
+	 * @deprecated 4.9.27
44
+	 *  @param  array   $attributes
45
+	 *  @return     string
46
+	 */
47
+	public function process_shortcode($attributes = array())
48
+	{
49
+		\EE_Error::doing_it_wrong(
50
+			__METHOD__,
51
+			__(
52
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEvents instead.',
53
+				'event_espresso'
54
+			),
55
+			'4.9.27'
56
+		);
57
+		return '';
58
+	}
59 59
 }
Please login to merge, or discard this patch.
shortcodes/espresso_checkout/EES_Espresso_Checkout.shortcode.php 1 patch
Indentation   +49 added lines, -50 removed lines patch added patch discarded remove patch
@@ -6,66 +6,65 @@
 block discarded – undo
6 6
  * @package     Event Espresso
7 7
  * @subpackage  /shortcodes/
8 8
  * @author      Brent Christensen
9
-
10 9
  * ------------------------------------------------------------------------
11 10
  */
12 11
 class EES_Espresso_Checkout extends EES_Shortcode
13 12
 {
14 13
 
15
-    /**
16
-     *  set_hooks - for hooking into EE Core, modules, etc
17
-     *
18
-     *  @access     public
19
-     *  @return     void
20
-     */
21
-    public static function set_hooks()
22
-    {
23
-    }
14
+	/**
15
+	 *  set_hooks - for hooking into EE Core, modules, etc
16
+	 *
17
+	 *  @access     public
18
+	 *  @return     void
19
+	 */
20
+	public static function set_hooks()
21
+	{
22
+	}
24 23
 
25
-    /**
26
-     *  set_hooks_admin - for hooking into EE Admin Core, modules, etc
27
-     *
28
-     *  @access     public
29
-     *  @return     void
30
-     */
31
-    public static function set_hooks_admin()
32
-    {
33
-    }
24
+	/**
25
+	 *  set_hooks_admin - for hooking into EE Admin Core, modules, etc
26
+	 *
27
+	 *  @access     public
28
+	 *  @return     void
29
+	 */
30
+	public static function set_hooks_admin()
31
+	{
32
+	}
34 33
 
35 34
 
36 35
 
37
-    /**
38
-     *    run - initial shortcode module setup called during "wp_loaded" hook
39
-     *    this method is primarily used for loading resources that will be required by the shortcode when it is actually processed
40
-     *
41
-     * @access    public
42
-     * @param WP $WP
43
-     * @return    void
44
-     * @throws \EE_Error
45
-     */
46
-    public function run(WP $WP)
47
-    {
48
-    }
36
+	/**
37
+	 *    run - initial shortcode module setup called during "wp_loaded" hook
38
+	 *    this method is primarily used for loading resources that will be required by the shortcode when it is actually processed
39
+	 *
40
+	 * @access    public
41
+	 * @param WP $WP
42
+	 * @return    void
43
+	 * @throws \EE_Error
44
+	 */
45
+	public function run(WP $WP)
46
+	{
47
+	}
49 48
 
50 49
 
51 50
 
52
-    /**
53
-     *  process_shortcode - ESPRESSO_CHECKOUT
54
-     *
55
-     *  @access     public
56
-     *  @param      array   $attributes
57
-     *  @return     string
58
-     */
59
-    public function process_shortcode($attributes = array())
60
-    {
61
-        \EE_Error::doing_it_wrong(
62
-            __METHOD__,
63
-            __(
64
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCheckout::processShortcode() instead.',
65
-                'event_espresso'
66
-            ),
67
-            '4.9.27'
68
-        );
69
-        return '';
70
-    }
51
+	/**
52
+	 *  process_shortcode - ESPRESSO_CHECKOUT
53
+	 *
54
+	 *  @access     public
55
+	 *  @param      array   $attributes
56
+	 *  @return     string
57
+	 */
58
+	public function process_shortcode($attributes = array())
59
+	{
60
+		\EE_Error::doing_it_wrong(
61
+			__METHOD__,
62
+			__(
63
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoCheckout::processShortcode() instead.',
64
+				'event_espresso'
65
+			),
66
+			'4.9.27'
67
+		);
68
+		return '';
69
+	}
71 70
 }
Please login to merge, or discard this patch.
espresso_event_attendees/EES_Espresso_Event_Attendees.shortcode.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -12,56 +12,56 @@
 block discarded – undo
12 12
 {
13 13
 
14 14
 
15
-    /**
16
-     * run - initial module setup
17
-     *
18
-     * @access    public
19
-     * @param       WP $WP
20
-     * @return    void
21
-     */
22
-    public function run(WP $WP)
23
-    {
24
-    }
15
+	/**
16
+	 * run - initial module setup
17
+	 *
18
+	 * @access    public
19
+	 * @param       WP $WP
20
+	 * @return    void
21
+	 */
22
+	public function run(WP $WP)
23
+	{
24
+	}
25 25
 
26 26
 
27
-    /**
28
-     *  set_hooks - for hooking into EE Core, modules, etc
29
-     *
30
-     *  @access     public
31
-     *  @return     void
32
-     */
33
-    public static function set_hooks()
34
-    {
35
-    }
27
+	/**
28
+	 *  set_hooks - for hooking into EE Core, modules, etc
29
+	 *
30
+	 *  @access     public
31
+	 *  @return     void
32
+	 */
33
+	public static function set_hooks()
34
+	{
35
+	}
36 36
 
37
-    /**
38
-     *  set_hooks_admin - for hooking into EE Admin Core, modules, etc
39
-     *
40
-     *  @access     public
41
-     *  @return     void
42
-     */
43
-    public static function set_hooks_admin()
44
-    {
45
-    }
37
+	/**
38
+	 *  set_hooks_admin - for hooking into EE Admin Core, modules, etc
39
+	 *
40
+	 *  @access     public
41
+	 *  @return     void
42
+	 */
43
+	public static function set_hooks_admin()
44
+	{
45
+	}
46 46
 
47 47
 
48 48
 
49
-    /**
50
-     * @deprecated 4.9.27
51
-     * @param array $attributes
52
-     * @return string
53
-     * @throws \EE_Error
54
-     */
55
-    public function process_shortcode($attributes = array())
56
-    {
57
-        \EE_Error::doing_it_wrong(
58
-            __METHOD__,
59
-            __(
60
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEventAttendeesShortcode instead.',
61
-                'event_espresso'
62
-            ),
63
-            '4.9.27'
64
-        );
65
-        return '';
66
-    }
49
+	/**
50
+	 * @deprecated 4.9.27
51
+	 * @param array $attributes
52
+	 * @return string
53
+	 * @throws \EE_Error
54
+	 */
55
+	public function process_shortcode($attributes = array())
56
+	{
57
+		\EE_Error::doing_it_wrong(
58
+			__METHOD__,
59
+			__(
60
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoEventAttendeesShortcode instead.',
61
+				'event_espresso'
62
+			),
63
+			'4.9.27'
64
+		);
65
+		return '';
66
+	}
67 67
 }
Please login to merge, or discard this patch.
shortcodes/espresso_thank_you/EES_Espresso_Thank_You.shortcode.php 1 patch
Indentation   +395 added lines, -395 removed lines patch added patch discarded remove patch
@@ -11,399 +11,399 @@
 block discarded – undo
11 11
 class EES_Espresso_Thank_You extends EES_Shortcode
12 12
 {
13 13
 
14
-    /**
15
-     * time in seconds to wait for the IPN to arrive before telling the registrant to bugger off ( 1200s = 20 minutes )
16
-     */
17
-    const IPN_wait_time = 1200;
18
-
19
-
20
-
21
-
22
-    /**
23
-     * @deprecated 4.9.27
24
-     * @return    void
25
-     */
26
-    public static function set_hooks()
27
-    {
28
-    }
29
-
30
-
31
-
32
-    /**
33
-     * @deprecated 4.9.27
34
-     * @return    void
35
-     */
36
-    public static function set_hooks_admin()
37
-    {
38
-    }
39
-
40
-
41
-
42
-    /**
43
-     * @deprecated 4.9.27
44
-     * @return    void
45
-     */
46
-    public static function set_definitions()
47
-    {
48
-        \EE_Error::doing_it_wrong(
49
-            __METHOD__,
50
-            __(
51
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
52
-                'event_espresso'
53
-            ),
54
-            '4.9.27'
55
-        );
56
-    }
57
-
58
-
59
-
60
-    /**
61
-     * @deprecated 4.9.27
62
-     * @return    EE_Transaction
63
-     */
64
-    public function get_txn()
65
-    {
66
-        \EE_Error::doing_it_wrong(
67
-            __METHOD__,
68
-            __(
69
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
70
-                'event_espresso'
71
-            ),
72
-            '4.9.27'
73
-        );
74
-    }
75
-
76
-
77
-
78
-    /**
79
-     * @deprecated 4.9.27
80
-     * @param int $since
81
-     * @return    mixed array of EE_Payment || FALSE
82
-     */
83
-    public function get_txn_payments($since = 0)
84
-    {
85
-        \EE_Error::doing_it_wrong(
86
-            __METHOD__,
87
-            __(
88
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
89
-                'event_espresso'
90
-            ),
91
-            '4.9.27'
92
-        );
93
-    }
94
-
95
-
96
-
97
-    /**
98
-     * @deprecated 4.9.27
99
-     * @param    string $reg_url_link
100
-     * @return void
101
-     */
102
-    public function set_reg_url_link($reg_url_link = null)
103
-    {
104
-        \EE_Error::doing_it_wrong(
105
-            __METHOD__,
106
-            __(
107
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
108
-                'event_espresso'
109
-            ),
110
-            '4.9.27'
111
-        );
112
-    }
113
-
114
-
115
-
116
-    /**
117
-     * @deprecated 4.9.27
118
-     * @param    WP $WP
119
-     * @return    void
120
-     */
121
-    public function run(WP $WP)
122
-    {
123
-    }
124
-
125
-
126
-
127
-    /**
128
-     * @deprecated 4.9.27
129
-     * @return        void
130
-     */
131
-    protected function _translate_strings()
132
-    {
133
-        \EE_Error::doing_it_wrong(
134
-            __METHOD__,
135
-            __(
136
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
137
-                'event_espresso'
138
-            ),
139
-            '4.9.27'
140
-        );
141
-    }
142
-
143
-
144
-
145
-    /**
146
-     * @deprecated 4.9.27
147
-     * @return        void
148
-     */
149
-    public function load_js()
150
-    {
151
-        \EE_Error::doing_it_wrong(
152
-            __METHOD__,
153
-            __(
154
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
155
-                'event_espresso'
156
-            ),
157
-            '4.9.27'
158
-        );
159
-    }
160
-
161
-
162
-
163
-    /**
164
-     * @deprecated 4.9.27
165
-     * @return    void
166
-     * @throws \EE_Error
167
-     */
168
-    public function init()
169
-    {
170
-        \EE_Error::doing_it_wrong(
171
-            __METHOD__,
172
-            __(
173
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
174
-                'event_espresso'
175
-            ),
176
-            '4.9.27'
177
-        );
178
-    }
179
-
180
-
181
-
182
-    /**
183
-     * @deprecated 4.9.27
184
-     * @param    array $attributes
185
-     * @return    string
186
-     * @throws \EE_Error
187
-     */
188
-    public function process_shortcode($attributes = array())
189
-    {
190
-        \EE_Error::doing_it_wrong(
191
-            __METHOD__,
192
-            __(
193
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
194
-                'event_espresso'
195
-            ),
196
-            '4.9.27'
197
-        );
198
-        return '';
199
-    }
200
-
201
-
202
-
203
-    /**
204
-     * @deprecated 4.9.27
205
-     * @param array $response
206
-     * @param array $data
207
-     * @return    array
208
-     * @throws \EE_Error
209
-     */
210
-    public static function thank_you_page_IPN_monitor($response = array(), $data = array())
211
-    {
212
-        \EE_Error::doing_it_wrong(
213
-            __METHOD__,
214
-            __(
215
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
216
-                'event_espresso'
217
-            ),
218
-            '4.9.27'
219
-        );
220
-    }
221
-
222
-
223
-
224
-
225
-    /**
226
-     * @deprecated 4.9.27
227
-     * @return    string
228
-     * @throws \EE_Error
229
-     */
230
-    public function get_registration_details()
231
-    {
232
-        \EE_Error::doing_it_wrong(
233
-            __METHOD__,
234
-            __(
235
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
236
-                'event_espresso'
237
-            ),
238
-            '4.9.27'
239
-        );
240
-    }
241
-
242
-
243
-
244
-    /**
245
-     * resend_reg_confirmation_email
246
-     *
247
-     * @deprecated 4.9.27
248
-     */
249
-    public static function resend_reg_confirmation_email()
250
-    {
251
-        \EE_Error::doing_it_wrong(
252
-            __METHOD__,
253
-            __(
254
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
255
-                'event_espresso'
256
-            ),
257
-            '4.9.27'
258
-        );
259
-    }
260
-
261
-
262
-
263
-    /**
264
-     * get_ajax_content
265
-     *
266
-     * @deprecated 4.9.27
267
-     * @return    void
268
-     */
269
-    public function get_ajax_content()
270
-    {
271
-        \EE_Error::doing_it_wrong(
272
-            __METHOD__,
273
-            __(
274
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
275
-                'event_espresso'
276
-            ),
277
-            '4.9.27'
278
-        );
279
-    }
280
-
281
-
282
-
283
-    /**
284
-     * display_details_for_events
285
-     *
286
-     * @deprecated 4.9.27
287
-     * @param EE_Event[] $events
288
-     * @return void
289
-     */
290
-    public function display_details_for_events($events = array())
291
-    {
292
-        \EE_Error::doing_it_wrong(
293
-            __METHOD__,
294
-            __(
295
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
296
-                'event_espresso'
297
-            ),
298
-            '4.9.27'
299
-        );
300
-    }
301
-
302
-
303
-
304
-    /**
305
-     * display_details_for_events_requiring_pre_approval
306
-     *
307
-     * @deprecated 4.9.27
308
-     * @param EE_Event[] $events
309
-     * @return void
310
-     */
311
-    public function display_details_for_events_requiring_pre_approval($events = array())
312
-    {
313
-        \EE_Error::doing_it_wrong(
314
-            __METHOD__,
315
-            __(
316
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
317
-                'event_espresso'
318
-            ),
319
-            '4.9.27'
320
-        );
321
-    }
322
-
323
-
324
-
325
-    /**
326
-     * get_transaction_details
327
-     *
328
-     * @deprecated 4.9.27
329
-     * @return string
330
-     * @throws \EE_Error
331
-     */
332
-    public function get_transaction_details()
333
-    {
334
-        \EE_Error::doing_it_wrong(
335
-            __METHOD__,
336
-            __(
337
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
338
-                'event_espresso'
339
-            ),
340
-            '4.9.27'
341
-        );
342
-    }
343
-
344
-
345
-
346
-    /**
347
-     * get_payment_row_html
348
-     *
349
-     * @deprecated 4.9.27
350
-     * @param    EE_Payment $payment
351
-     * @return    string
352
-     * @throws \EE_Error
353
-     */
354
-    public function get_payment_row_html($payment = null)
355
-    {
356
-        \EE_Error::doing_it_wrong(
357
-            __METHOD__,
358
-            __(
359
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
360
-                'event_espresso'
361
-            ),
362
-            '4.9.27'
363
-        );
364
-    }
365
-
366
-
367
-
368
-    /**
369
-     * get_payment_details
370
-     *
371
-     * @deprecated 4.9.27
372
-     * @param    array $payments
373
-     * @return    string
374
-     * @throws \EE_Error
375
-     */
376
-    public function get_payment_details($payments = array())
377
-    {
378
-        \EE_Error::doing_it_wrong(
379
-            __METHOD__,
380
-            __(
381
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
382
-                'event_espresso'
383
-            ),
384
-            '4.9.27'
385
-        );
386
-    }
387
-
388
-
389
-
390
-    /**
391
-     * get_payment_details
392
-     *
393
-     * @deprecated 4.9.27
394
-     * @param array $payments
395
-     * @return    string
396
-     * @throws \EE_Error
397
-     */
398
-    public function get_new_payments($payments = array())
399
-    {
400
-        \EE_Error::doing_it_wrong(
401
-            __METHOD__,
402
-            __(
403
-                'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
404
-                'event_espresso'
405
-            ),
406
-            '4.9.27'
407
-        );
408
-    }
14
+	/**
15
+	 * time in seconds to wait for the IPN to arrive before telling the registrant to bugger off ( 1200s = 20 minutes )
16
+	 */
17
+	const IPN_wait_time = 1200;
18
+
19
+
20
+
21
+
22
+	/**
23
+	 * @deprecated 4.9.27
24
+	 * @return    void
25
+	 */
26
+	public static function set_hooks()
27
+	{
28
+	}
29
+
30
+
31
+
32
+	/**
33
+	 * @deprecated 4.9.27
34
+	 * @return    void
35
+	 */
36
+	public static function set_hooks_admin()
37
+	{
38
+	}
39
+
40
+
41
+
42
+	/**
43
+	 * @deprecated 4.9.27
44
+	 * @return    void
45
+	 */
46
+	public static function set_definitions()
47
+	{
48
+		\EE_Error::doing_it_wrong(
49
+			__METHOD__,
50
+			__(
51
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
52
+				'event_espresso'
53
+			),
54
+			'4.9.27'
55
+		);
56
+	}
57
+
58
+
59
+
60
+	/**
61
+	 * @deprecated 4.9.27
62
+	 * @return    EE_Transaction
63
+	 */
64
+	public function get_txn()
65
+	{
66
+		\EE_Error::doing_it_wrong(
67
+			__METHOD__,
68
+			__(
69
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
70
+				'event_espresso'
71
+			),
72
+			'4.9.27'
73
+		);
74
+	}
75
+
76
+
77
+
78
+	/**
79
+	 * @deprecated 4.9.27
80
+	 * @param int $since
81
+	 * @return    mixed array of EE_Payment || FALSE
82
+	 */
83
+	public function get_txn_payments($since = 0)
84
+	{
85
+		\EE_Error::doing_it_wrong(
86
+			__METHOD__,
87
+			__(
88
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
89
+				'event_espresso'
90
+			),
91
+			'4.9.27'
92
+		);
93
+	}
94
+
95
+
96
+
97
+	/**
98
+	 * @deprecated 4.9.27
99
+	 * @param    string $reg_url_link
100
+	 * @return void
101
+	 */
102
+	public function set_reg_url_link($reg_url_link = null)
103
+	{
104
+		\EE_Error::doing_it_wrong(
105
+			__METHOD__,
106
+			__(
107
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
108
+				'event_espresso'
109
+			),
110
+			'4.9.27'
111
+		);
112
+	}
113
+
114
+
115
+
116
+	/**
117
+	 * @deprecated 4.9.27
118
+	 * @param    WP $WP
119
+	 * @return    void
120
+	 */
121
+	public function run(WP $WP)
122
+	{
123
+	}
124
+
125
+
126
+
127
+	/**
128
+	 * @deprecated 4.9.27
129
+	 * @return        void
130
+	 */
131
+	protected function _translate_strings()
132
+	{
133
+		\EE_Error::doing_it_wrong(
134
+			__METHOD__,
135
+			__(
136
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
137
+				'event_espresso'
138
+			),
139
+			'4.9.27'
140
+		);
141
+	}
142
+
143
+
144
+
145
+	/**
146
+	 * @deprecated 4.9.27
147
+	 * @return        void
148
+	 */
149
+	public function load_js()
150
+	{
151
+		\EE_Error::doing_it_wrong(
152
+			__METHOD__,
153
+			__(
154
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
155
+				'event_espresso'
156
+			),
157
+			'4.9.27'
158
+		);
159
+	}
160
+
161
+
162
+
163
+	/**
164
+	 * @deprecated 4.9.27
165
+	 * @return    void
166
+	 * @throws \EE_Error
167
+	 */
168
+	public function init()
169
+	{
170
+		\EE_Error::doing_it_wrong(
171
+			__METHOD__,
172
+			__(
173
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
174
+				'event_espresso'
175
+			),
176
+			'4.9.27'
177
+		);
178
+	}
179
+
180
+
181
+
182
+	/**
183
+	 * @deprecated 4.9.27
184
+	 * @param    array $attributes
185
+	 * @return    string
186
+	 * @throws \EE_Error
187
+	 */
188
+	public function process_shortcode($attributes = array())
189
+	{
190
+		\EE_Error::doing_it_wrong(
191
+			__METHOD__,
192
+			__(
193
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
194
+				'event_espresso'
195
+			),
196
+			'4.9.27'
197
+		);
198
+		return '';
199
+	}
200
+
201
+
202
+
203
+	/**
204
+	 * @deprecated 4.9.27
205
+	 * @param array $response
206
+	 * @param array $data
207
+	 * @return    array
208
+	 * @throws \EE_Error
209
+	 */
210
+	public static function thank_you_page_IPN_monitor($response = array(), $data = array())
211
+	{
212
+		\EE_Error::doing_it_wrong(
213
+			__METHOD__,
214
+			__(
215
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
216
+				'event_espresso'
217
+			),
218
+			'4.9.27'
219
+		);
220
+	}
221
+
222
+
223
+
224
+
225
+	/**
226
+	 * @deprecated 4.9.27
227
+	 * @return    string
228
+	 * @throws \EE_Error
229
+	 */
230
+	public function get_registration_details()
231
+	{
232
+		\EE_Error::doing_it_wrong(
233
+			__METHOD__,
234
+			__(
235
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
236
+				'event_espresso'
237
+			),
238
+			'4.9.27'
239
+		);
240
+	}
241
+
242
+
243
+
244
+	/**
245
+	 * resend_reg_confirmation_email
246
+	 *
247
+	 * @deprecated 4.9.27
248
+	 */
249
+	public static function resend_reg_confirmation_email()
250
+	{
251
+		\EE_Error::doing_it_wrong(
252
+			__METHOD__,
253
+			__(
254
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
255
+				'event_espresso'
256
+			),
257
+			'4.9.27'
258
+		);
259
+	}
260
+
261
+
262
+
263
+	/**
264
+	 * get_ajax_content
265
+	 *
266
+	 * @deprecated 4.9.27
267
+	 * @return    void
268
+	 */
269
+	public function get_ajax_content()
270
+	{
271
+		\EE_Error::doing_it_wrong(
272
+			__METHOD__,
273
+			__(
274
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
275
+				'event_espresso'
276
+			),
277
+			'4.9.27'
278
+		);
279
+	}
280
+
281
+
282
+
283
+	/**
284
+	 * display_details_for_events
285
+	 *
286
+	 * @deprecated 4.9.27
287
+	 * @param EE_Event[] $events
288
+	 * @return void
289
+	 */
290
+	public function display_details_for_events($events = array())
291
+	{
292
+		\EE_Error::doing_it_wrong(
293
+			__METHOD__,
294
+			__(
295
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
296
+				'event_espresso'
297
+			),
298
+			'4.9.27'
299
+		);
300
+	}
301
+
302
+
303
+
304
+	/**
305
+	 * display_details_for_events_requiring_pre_approval
306
+	 *
307
+	 * @deprecated 4.9.27
308
+	 * @param EE_Event[] $events
309
+	 * @return void
310
+	 */
311
+	public function display_details_for_events_requiring_pre_approval($events = array())
312
+	{
313
+		\EE_Error::doing_it_wrong(
314
+			__METHOD__,
315
+			__(
316
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
317
+				'event_espresso'
318
+			),
319
+			'4.9.27'
320
+		);
321
+	}
322
+
323
+
324
+
325
+	/**
326
+	 * get_transaction_details
327
+	 *
328
+	 * @deprecated 4.9.27
329
+	 * @return string
330
+	 * @throws \EE_Error
331
+	 */
332
+	public function get_transaction_details()
333
+	{
334
+		\EE_Error::doing_it_wrong(
335
+			__METHOD__,
336
+			__(
337
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
338
+				'event_espresso'
339
+			),
340
+			'4.9.27'
341
+		);
342
+	}
343
+
344
+
345
+
346
+	/**
347
+	 * get_payment_row_html
348
+	 *
349
+	 * @deprecated 4.9.27
350
+	 * @param    EE_Payment $payment
351
+	 * @return    string
352
+	 * @throws \EE_Error
353
+	 */
354
+	public function get_payment_row_html($payment = null)
355
+	{
356
+		\EE_Error::doing_it_wrong(
357
+			__METHOD__,
358
+			__(
359
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
360
+				'event_espresso'
361
+			),
362
+			'4.9.27'
363
+		);
364
+	}
365
+
366
+
367
+
368
+	/**
369
+	 * get_payment_details
370
+	 *
371
+	 * @deprecated 4.9.27
372
+	 * @param    array $payments
373
+	 * @return    string
374
+	 * @throws \EE_Error
375
+	 */
376
+	public function get_payment_details($payments = array())
377
+	{
378
+		\EE_Error::doing_it_wrong(
379
+			__METHOD__,
380
+			__(
381
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
382
+				'event_espresso'
383
+			),
384
+			'4.9.27'
385
+		);
386
+	}
387
+
388
+
389
+
390
+	/**
391
+	 * get_payment_details
392
+	 *
393
+	 * @deprecated 4.9.27
394
+	 * @param array $payments
395
+	 * @return    string
396
+	 * @throws \EE_Error
397
+	 */
398
+	public function get_new_payments($payments = array())
399
+	{
400
+		\EE_Error::doing_it_wrong(
401
+			__METHOD__,
402
+			__(
403
+				'Usage is deprecated. Please use \EventEspresso\core\domain\entities\shortcodes\EspressoThankYou instead.',
404
+				'event_espresso'
405
+			),
406
+			'4.9.27'
407
+		);
408
+	}
409 409
 }
Please login to merge, or discard this patch.