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 Built from https://develop.svn.wordpress.org/trunk@43446 git-svn-id: http://core.svn.wordpress.org/trunk@43273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7216f9e623
commit
691dc59ad3
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43441';
|
||||
$wp_version = '5.0-alpha-43446';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue