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.
Built from https://develop.svn.wordpress.org/trunk@50055


git-svn-id: http://core.svn.wordpress.org/trunk@49756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-01-28 12:58:58 +00:00
parent 7f7c0914af
commit 6f2bba08d9
2 changed files with 2 additions and 2 deletions

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 );
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-50053';
$wp_version = '5.7-alpha-50055';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.