Code Duplication    Length = 10-10 lines in 2 locations

admin_pages/transactions/Transactions_Admin_Page.core.php 1 location

@@ 94-103 (lines=10) @@
91
	 * 	_define_page_props
92
	 * @return void
93
	 */
94
	protected function  _define_page_props() {
95
		$this->_admin_page_title = $this->page_label;
96
		$this->_labels = array(
97
			'buttons' => array(
98
				'add' => __('Add New Transaction', 'event_espresso'),
99
				'edit' => __('Edit Transaction', 'event_espresso'),
100
				'delete' => __('Delete Transaction','event_espresso'),
101
			)
102
		);
103
	}
104
105
106

caffeinated/admin/new/tickets/Tickets_Admin_Page.core.php 1 location

@@ 41-50 (lines=10) @@
38
39
40
41
	protected function _define_page_props() {
42
		$this->_admin_page_title = TICKETS_LABEL;
43
		$this->_labels = array(
44
			'buttons' => array(
45
				'add' => __('Add New Default Ticket', 'event_espresso'),
46
				'edit' => __('Edit Default Ticket', 'event_espresso'),
47
				'delete' => __('Delete Default Ticket', 'event_espresso'),
48
			)
49
		);
50
	}
51
52
53
	protected function _set_page_routes() {