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

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