@@ -412,7 +412,7 @@ private function php_export_table( $table, $old, $new ) {
412
412
'chunk_size ' => $ chunk_size
413
413
);
414
414
415
- $ replacer = new \WP_CLI \SearchReplacer ( $ old , $ new , $ this ->recurse_objects , $ this ->regex , $ this ->regex_flags , $ this ->regex_delimiter , $ this ->regex_limit );
415
+ $ replacer = new \WP_CLI \SearchReplacer ( $ old , $ new , $ this ->recurse_objects , $ this ->regex , $ this ->regex_flags , $ this ->regex_delimiter , false , $ this ->regex_limit );
416
416
$ col_counts = array_fill_keys ( $ all_columns , 0 );
417
417
if ( $ this ->verbose && 'table ' === $ this ->format ) {
418
418
$ this ->start_time = microtime ( true );
@@ -486,7 +486,7 @@ private function php_handle_col( $col, $primary_keys, $table, $old, $new ) {
486
486
global $ wpdb ;
487
487
488
488
$ count = 0 ;
489
- $ replacer = new \WP_CLI \SearchReplacer ( $ old , $ new , $ this ->recurse_objects , $ this ->regex , $ this ->regex_flags , $ this ->regex_delimiter , $ this -> regex_limit , null !== $ this ->log_handle );
489
+ $ replacer = new \WP_CLI \SearchReplacer ( $ old , $ new , $ this ->recurse_objects , $ this ->regex , $ this ->regex_flags , $ this ->regex_delimiter , null !== $ this ->log_handle , $ this -> regex_limit );
490
490
491
491
$ table_sql = self ::esc_sql_ident ( $ table );
492
492
$ col_sql = self ::esc_sql_ident ( $ col );
0 commit comments