mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
Make sure htaccess marker begins on a new line. Props johnbillion. fixes #7203
git-svn-id: https://develop.svn.wordpress.org/trunk@8236 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2a19fd1d29
commit
587b3fea71
@ -67,7 +67,7 @@ function insert_with_markers( $filename, $marker, $insertion ) {
|
||||
}
|
||||
}
|
||||
if (!$foundit) {
|
||||
fwrite( $f, "# BEGIN {$marker}\n" );
|
||||
fwrite( $f, "\n# BEGIN {$marker}\n" );
|
||||
foreach ( $insertion as $insertline )
|
||||
fwrite( $f, "{$insertline}\n" );
|
||||
fwrite( $f, "# END {$marker}\n" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user