diff --git a/src/Export_Command.php b/src/Export_Command.php index 3f9bd034..00ec45bf 100644 --- a/src/Export_Command.php +++ b/src/Export_Command.php @@ -215,7 +215,7 @@ private static function get_filename_template( $filename_format ) { /** * Get the potential filename. */ - $potential_file_name = str_replace( [ '{site}', '{date}', '{n}' ], [ $sitename, date( 'Y-m-d' ), '%03d' ], $filename_format ); + $potential_file_name = str_replace( [ '{site}', '{date}', '{n}' ], [ $sitename, date( 'Y-m-d' ), '%03d' ], $filename_format ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date /** * Get the length of the potential file name. @@ -226,7 +226,7 @@ private static function get_filename_template( $filename_format ) { * If the potential filename size exceeds 99 bytes, then remove the extra bytes. */ if ( $potential_file_name_size > 99 ) { - $extra_bytes = $potential_file_name_size - 99; + $extra_bytes = $potential_file_name_size - 99; $sitename_size = strlen( $sitename ); /**