Make WordPress Core

Changeset 43446


Ignore:
Timestamp:
07/15/2018 11:38:14 PM (6 years ago)
Author:
jorbin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r43435 r43446  
    20382038            wp_send_json_error( __( 'Unable to protect export folder from browsing.' ) );
    20392039        }
    2040         fwrite( $file, 'Silence is golden.' );
     2040        fwrite( $file, '<!-- Silence is golden. -->' );
    20412041        fclose( $file );
    20422042    }
Note: See TracChangeset for help on using the changeset viewer.