Code Duplication    Length = 10-10 lines in 2 locations

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() {

admin_pages/transactions/Transactions_Admin_Page.core.php 1 location

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