Make WordPress Core

Changeset 43448


Ignore:
Timestamp:
07/16/2018 12:01:07 PM (7 years ago)
Author:
SergeyBiryukov
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.

Merges [43446] to the 4.9 branch.
Fixes #44195.
Props audrasjb, rafsuntaskin, Ov3rfly, johnbillion, pento

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-admin/includes/file.php

    r43354 r43448  
    19011901            wp_send_json_error( __( 'Unable to protect export folder from browsing.' ) );
    19021902        }
    1903         fwrite( $file, 'Silence is golden.' );
     1903        fwrite( $file, '<!-- Silence is golden. -->' );
    19041904        fclose( $file );
    19051905    }
Note: See TracChangeset for help on using the changeset viewer.