summaryrefslogtreecommitdiffstats
path: root/wp-admin/includes
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/includes')
-rw-r--r--wp-admin/includes/misc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php
index 7e1e75f..d6419ce 100644
--- a/wp-admin/includes/misc.php
+++ b/wp-admin/includes/misc.php
@@ -35,7 +35,6 @@ function extract_from_markers( $filename, $marker ) {
// data. Creates file if none exists.
// Returns true on write success, false on failure.
function insert_with_markers( $filename, $marker, $insertion ) {
- return;
if (!file_exists( $filename ) || is_writeable( $filename ) ) {
if (!file_exists( $filename ) ) {
$markerdata = '';
@@ -88,6 +87,7 @@ function insert_with_markers( $filename, $marker, $insertion ) {
function save_mod_rewrite_rules() {
global $wp_rewrite;
+ return; // We can't allow mod_rewrite rules to be written
$home_path = get_home_path();
$htaccess_file = $home_path.'.htaccess';