Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 29-39 (lines=11) @@
26
    }
27
28
29
    protected function _define_page_props()
30
    {
31
        $this->_admin_page_title = TICKETS_LABEL;
32
        $this->_labels = array(
33
            'buttons' => array(
34
                'add'    => __('Add New Default Ticket', 'event_espresso'),
35
                'edit'   => __('Edit Default Ticket', 'event_espresso'),
36
                'delete' => __('Delete Default Ticket', 'event_espresso'),
37
            ),
38
        );
39
    }
40
41
42
    protected function _set_page_routes()

admin_pages/transactions/Transactions_Admin_Page.core.php 1 location

@@ 74-84 (lines=11) @@
71
     *
72
     * @return void
73
     */
74
    protected function _define_page_props()
75
    {
76
        $this->_admin_page_title = $this->page_label;
77
        $this->_labels = array(
78
            'buttons' => array(
79
                'add'    => esc_html__('Add New Transaction', 'event_espresso'),
80
                'edit'   => esc_html__('Edit Transaction', 'event_espresso'),
81
                'delete' => esc_html__('Delete Transaction', 'event_espresso'),
82
            ),
83
        );
84
    }
85
86
87
    /**