Skip to content

Commit acbe1e8

Browse files
committed
Fix URLDiscovery uses old url column name
url was renamed to path.
1 parent 7041fee commit acbe1e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/URLDiscovery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function discoverURLs( \Iterator $iterator ): \Iterator {
4040
continue;
4141
}
4242
$placeholders = array_fill( 0, count( $urls ), '(%s)' );
43-
$sql = "INSERT IGNORE INTO $table_name (url)
43+
$sql = "INSERT IGNORE INTO $table_name (path)
4444
VALUES " . implode( ',', $placeholders );
4545
$result = $wpdb->query( $wpdb->prepare( $sql, ...array_keys( $urls ) ) );
4646
if ( false === $result ) {

0 commit comments

Comments
 (0)