We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7041fee commit acbe1e8Copy full SHA for acbe1e8
1 file changed
src/URLDiscovery.php
@@ -40,7 +40,7 @@ public function discoverURLs( \Iterator $iterator ): \Iterator {
40
continue;
41
}
42
$placeholders = array_fill( 0, count( $urls ), '(%s)' );
43
- $sql = "INSERT IGNORE INTO $table_name (url)
+ $sql = "INSERT IGNORE INTO $table_name (path)
44
VALUES " . implode( ',', $placeholders );
45
$result = $wpdb->query( $wpdb->prepare( $sql, ...array_keys( $urls ) ) );
46
if ( false === $result ) {
0 commit comments