Skip to content

Commit c1a0605

Browse files
authored
Update DB_Command.php
Update
1 parent 8b5d99c commit c1a0605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public function export( $args, $assoc_args ) {
505505
} else {
506506
// phpcs:ignore WordPress.WP.AlternativeFunctions.rand_mt_rand -- WordPress is not loaded.
507507
$hash = substr( md5( mt_rand() ), 0, 7 );
508-
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date.
508+
$result_file = sprintf( '%s-%s-%s.sql', DB_NAME, date( 'Y-m-d' ), $hash ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
509509

510510
}
511511
$stdout = ( '-' === $result_file );

0 commit comments

Comments
 (0)