Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -97,7 +97,7 @@ function insert_with_markers( $filename, $marker, $insertion ) {
|
||||
|
||||
function save_mod_rewrite_rules() {
|
||||
global $wp_rewrite;
|
||||
|
||||
|
||||
$home_path = get_home_path();
|
||||
$htaccess_file = $home_path.'.htaccess';
|
||||
|
||||
@@ -109,7 +109,7 @@ function save_mod_rewrite_rules() {
|
||||
return insert_with_markers( $htaccess_file, 'WordPress', $rules );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user