Privacy: Add newlines to the index.php file in wp-personal-data-exports directory, for consistency with other similar files.

Follow-up to [50037].

See #52299.

git-svn-id: https://develop.svn.wordpress.org/trunk@50055 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-01-28 12:58:01 +00:00
parent d8b7a219b3
commit 2efb3ad330

View File

@@ -328,7 +328,7 @@ function wp_privacy_generate_personal_data_export_file( $request_id ) {
if ( false === $file ) {
wp_send_json_error( __( 'Unable to protect personal data export folder from browsing.' ) );
}
fwrite( $file, '<?php // Silence is golden.' );
fwrite( $file, "<?php\n// Silence is golden.\n" );
fclose( $file );
}