Code Duplication    Length = 2-2 lines in 2 locations

wp-includes/update.php 2 locations

@@ 629-630 (lines=2) @@
626
 */
627
function _maybe_update_plugins() {
628
	$current = get_site_transient( 'update_plugins' );
629
	if ( isset( $current->last_checked ) && 12 * HOUR_IN_SECONDS > ( time() - $current->last_checked ) )
630
		return;
631
	wp_update_plugins();
632
}
633
@@ 645-646 (lines=2) @@
642
 */
643
function _maybe_update_themes() {
644
	$current = get_site_transient( 'update_themes' );
645
	if ( isset( $current->last_checked ) && 12 * HOUR_IN_SECONDS > ( time() - $current->last_checked ) )
646
		return;
647
	wp_update_themes();
648
}
649