Code Duplication    Length = 35-36 lines in 2 locations

admin_pages/about/About_Admin_Page.core.php 1 location

@@ 71-106 (lines=36) @@
68
69
70
71
	protected function _set_page_config() {
72
		$this->_page_config = array(
73
			/*'default' => array(
74
				'nav' => array(
75
					'label' => __('What\'s New', 'event_espresso'),
76
					'order' => 10),
77
				'require_nonce' => FALSE
78
				),*/
79
			//'overview' => array(
80
			'default' => array(
81
				'nav' => array(
82
					'label' => esc_html__('About', 'event_espresso'),
83
					'order' => 20),
84
				'require_nonce' => FALSE
85
				),
86
			'credits' => array(
87
				'nav' => array(
88
					'label' => esc_html__('Credits', 'event_espresso'),
89
					'order' => 30),
90
				'require_nonce' => FALSE
91
				),
92
			
93
			'decafvpro' => array(
94
				'nav' => array(
95
					'label' => esc_html__('Decaf vs Regular', 'event_espresso'),
96
					'order' => 40),
97
				'require_nonce' => FALSE
98
				),
99
			'reviews' => array(
100
				'nav' => array(
101
					'label' => esc_html__('Reviews', 'event_espresso'),
102
					'order' => 50),
103
				'require_nonce' => FALSE
104
				),
105
			);
106
	}
107
108
109

caffeinated/admin/extend/about/Extend_About_Admin_Page.core.php 1 location

@@ 75-109 (lines=35) @@
72
73
74
75
	protected function _set_page_config() {
76
		$this->_page_config = array(
77
			'default' => array(
78
				'nav' => array(
79
					'label' => __('What\'s New', 'event_espresso'),
80
					'order' => 10),
81
				'require_nonce' => FALSE
82
				),
83
			'overview' => array(
84
				'nav' => array(
85
					'label' => __('About', 'event_espresso'),
86
					'order' => 20),
87
				'require_nonce' => FALSE
88
				),
89
			'credits' => array(
90
				'nav' => array(
91
					'label' => __('Credits', 'event_espresso'),
92
					'order' => 30),
93
				'require_nonce' => FALSE
94
				),
95
			/*'decafvpro' => array(
96
				'nav' => array(
97
					'label' => esc_html__('Decaf vs Regular', 'event_espresso'),
98
					'order' => 40),
99
				'require_nonce' => FALSE
100
				),*/
101
			'reviews' => array(
102
				'nav' => array(
103
					'label' => esc_html__('Reviews', 'event_espresso'),
104
					'order' => 50),
105
				'require_nonce' => FALSE
106
				),
107
108
			);
109
	}
110
111
112
	protected function _whats_new() {