Privacy: Silence is golden and invisible.

"Be more discrete." declared matt in [3155], and since then, "Silence is Golden" has been the calling card of placeholder index files. Historically, these have been php files, but [43012] changed that and added index.html files for privacy export generated folders.

The php silence files produce no visible content. This adds consistency with these new html files in that there will be no visible content. Silence will fall when the question is asked.

Fixes #44195.
Props audrasjb, rafsuntaskin, Ov3rfly, johnbillion, pento



git-svn-id: https://develop.svn.wordpress.org/trunk@43446 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2018-07-15 23:38:14 +00:00
parent 4c8daa87bd
commit f673d1851c
1 changed files with 1 additions and 1 deletions

View File

@ -2037,7 +2037,7 @@ function wp_privacy_generate_personal_data_export_file( $request_id ) {
if ( false === $file ) {
wp_send_json_error( __( 'Unable to protect export folder from browsing.' ) );
}
fwrite( $file, 'Silence is golden.' );
fwrite( $file, '<!-- Silence is golden. -->' );
fclose( $file );
}