Code Duplication    Length = 7-7 lines in 3 locations

admin_pages/about/About_Admin_Page.core.php 2 locations

@@ 188-194 (lines=7) @@
185
186
187
188
	protected function _credits() {
189
		$this->_template_args['admin_page_title'] = sprintf( __('Welcome to Event Espresso %s', 'event_espresso'), EVENT_ESPRESSO_VERSION );
190
		$this->_template_args['admin_page_subtitle'] = __('Thank you for choosing Event Espresso Decaf, the most powerful, and free, Event Management plugin for WordPress.', 'event_espresso');
191
		$template = EE_ABOUT_TEMPLATE_PATH . 'credits.template.php';
192
		$this->_template_args['about_admin_page_content'] = EEH_Template::display_template( $template, $this->_template_args, TRUE );
193
		$this->display_about_admin_page();
194
	}
195
196
	protected function _reviews() {
197
		$this->_template_args['admin_page_title'] = __('Rave Reviews About Event Espresso 4', 'event_espresso');
@@ 196-202 (lines=7) @@
193
		$this->display_about_admin_page();
194
	}
195
196
	protected function _reviews() {
197
		$this->_template_args['admin_page_title'] = __('Rave Reviews About Event Espresso 4', 'event_espresso');
198
		$this->_template_args['admin_page_subtitle'] = __('At Event Espresso, customer satisfaction is our ultimate goal.', 'event_espresso');
199
		$template = EE_ABOUT_TEMPLATE_PATH . 'reviews.template.php';
200
		$this->_template_args['about_admin_page_content'] = EEH_Template::display_template( $template, $this->_template_args, TRUE );
201
		$this->display_about_admin_page();
202
	}
203
204
	protected function _decafvpro() {
205
		$this->_template_args['admin_page_title'] = sprintf( __('Welcome to Event Espresso %s', 'event_espresso'), EVENT_ESPRESSO_VERSION );

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

@@ 101-107 (lines=7) @@
98
	}
99
100
101
	protected function _overview() {
102
		$this->_admin_page_title = __('About Event Espresso', 'event_espresso');
103
		$this->_template_args['admin_page_subtitle'] = __('Thank you for choosing Event Espresso, the most powerful Event Management plugin for WordPress.', 'event_espresso');
104
		$template = is_readable(EE_ABOUT_CAF_TEMPLATE_PATH . 'ee4-overview.template.php') ? EE_ABOUT_CAF_TEMPLATE_PATH . 'ee4-overview.template.php' : EE_ABOUT_TEMPLATE_PATH . 'ee4-overview.template.php';
105
		$this->_template_args['about_admin_page_content'] = EEH_Template::display_template( $template, $this->_template_args, TRUE );
106
		$this->display_about_admin_page();
107
	}
108
109
	protected function _credits() {
110
	//	$this->_template_args['admin_page_title'] = sprintf( __('Welcome to Event Espresso %s', 'event_espresso'), EVENT_ESPRESSO_VERSION );