Make WordPress Core

Changeset 50056


Ignore:
Timestamp:
01/28/2021 12:59:37 PM (2 years 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].

Merges [50055] to the 5.6 branch.
See #52299.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-admin/includes/privacy-tools.php

    r50038 r50056  
    329329            wp_send_json_error( __( 'Unable to protect user privacy 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.