Completed
Branch BUG-10381-asset-loading (0f96c1)
by
unknown
60:43 queued 48:13
created

EES_Espresso_Txn_Page::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) {exit('No direct script access allowed');}
2
/**
3
 * EES_Espresso_Txn_Page
4
 *
5
 * @deprecated 4.9.26
6
 * @package     Event Espresso
7
 * @subpackage	/shortcodes/
8
 * @author      Brent Christensen
9
 */
10
class EES_Espresso_Txn_Page  extends EES_Shortcode {
0 ignored issues
show
Deprecated Code introduced by
The class EES_Shortcode has been deprecated with message: 4.9.26

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
11
12
	/**
13
     * The transaction specified by the reg_url_link passed from the Request, or from the Session
14
     *
15
     * @deprecated 4.9.26
16
     * @var EE_Transaction $_current_txn
17
	 */
18
	protected $_current_txn;
19
20
	/**
21
     * The current payment method for the IPN
22
     *
23
     * @deprecated 4.9.26
24
     * @var EE_Payment_Method $_current_pm
25
	 */
26
	protected $_current_pm;
27
28
	/**
29
     * @deprecated 4.9.26
30
     * @return 	void
31
	 */
32
	public static function set_hooks() {
33
	}
34
35
	/**
36
     * @deprecated 4.9.26
37
     * @return 	void
38
	 */
39
	public static function set_hooks_admin() {
40
	}
41
42
43
44
	/**
45
     * @deprecated 4.9.26
46
     * @return 	void
47
	 */
48
	public static function set_definitions() {
49
	}
50
51
52
53
	/**
54
     * @deprecated 4.9.26
55
     * @param  WP $WP
56
	 * @return void
57
	 * @throws \Exception
58
	 * @throws \EE_Error
59
	 */
60
	public function run( WP $WP ) {
61
	}
62
63
64
65
66
	/**
67
     * @deprecated 4.9.26
68
     * @param array $attributes
69
	 * @return string
70
	 */
71
	public function process_shortcode( $attributes = array() ) {
72
		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' );
73
	}
74
75
76
77
}
78
// End of file EES_Espresso_Txn_Page.shortcode.php
79
// Location: /shortcodes/EES_Espresso_Txn_Page.shortcode.php