Code Duplication    Length = 8-8 lines in 2 locations

modules/custom-post-types/nova.php 1 location

@@ 313-320 (lines=8) @@
310
	/**
311
	 * Change ‘Enter Title Here’ text for the Menu Item.
312
	 */
313
	function change_default_title( $title ) {
314
		$screen = get_current_screen();
315
316
		if ( self::MENU_ITEM_POST_TYPE == $screen->post_type )
317
			/* translators: this is about a food menu */
318
			$title = esc_html__( "Enter the menu item's name here", 'jetpack' );
319
320
		return $title;
321
	}
322
323

modules/custom-post-types/testimonial.php 1 location

@@ 370-377 (lines=8) @@
367
	/**
368
	 * Change ‘Enter Title Here’ text for the Testimonial.
369
	 */
370
	function change_default_title( $title ) {
371
		$screen = get_current_screen();
372
373
		if ( self::CUSTOM_POST_TYPE == $screen->post_type )
374
			$title = esc_html__( "Enter the customer's name here", 'jetpack' );
375
376
		return $title;
377
	}
378
379
	/**
380
	 * Change ‘Title’ column label on all Testimonials page.