Code Duplication    Length = 7-7 lines in 2 locations

src/wp-includes/wp-db.php 2 locations

@@ 2566-2572 (lines=7) @@
2563
			return false;
2564
		}
2565
2566
		if ( empty( $this->table_charset[ $tablekey ] ) ) {
2567
			// This primes column information for us.
2568
			$table_charset = $this->get_table_charset( $table );
2569
			if ( is_wp_error( $table_charset ) ) {
2570
				return $table_charset;
2571
			}
2572
		}
2573
2574
		// If still no column information, return the table charset.
2575
		if ( empty( $this->col_meta[ $tablekey ] ) ) {
@@ 2615-2621 (lines=7) @@
2612
			return false;
2613
		}
2614
2615
		if ( empty( $this->col_meta[ $tablekey ] ) ) {
2616
			// This primes column information for us.
2617
			$table_charset = $this->get_table_charset( $table );
2618
			if ( is_wp_error( $table_charset ) ) {
2619
				return $table_charset;
2620
			}
2621
		}
2622
2623
		if ( empty( $this->col_meta[ $tablekey ][ $columnkey ] ) ) {
2624
			return false;