mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-29 04:28:07 +01:00
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. Merges [43446] to the 4.9 branch. Fixes #44195. Props audrasjb, rafsuntaskin, Ov3rfly, johnbillion, pento Built from https://develop.svn.wordpress.org/branches/4.9@43448 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
595cd450eb
commit
b74a18dc8b
@ -1900,7 +1900,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 = '4.9.8-alpha-43445';
|
||||
$wp_version = '4.9.8-alpha-43448';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user