mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 16:50:13 +00:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user