WordPress.org

Make WordPress Core

Changeset 50055


Ignore:
Timestamp:
01/28/2021 12:58:01 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Privacy: Add newlines to the index.php file in wp-personal-data-exports directory, for consistency with other similar files.

Follow-up to [50037].

See #52299.

File:
1 edited

Legend:

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

    r50037 r50055  
    329329            wp_send_json_error( __( 'Unable to protect personal data export folder from browsing.' ) );
    330330        }
    331         fwrite( $file, '<?php // Silence is golden.' );
     331        fwrite( $file, "<?php\n// Silence is golden.\n" );
    332332        fclose( $file );
    333333    }
Note: See TracChangeset for help on using the changeset viewer.