Changeset 1362

Show
Ignore:
Timestamp:
07/09/08 19:36:42 (5 months ago)
Author:
donncha
Message:

insert_with_markers() is active again, but switch off rewrite rules writing. fixes #644

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/misc.php

    r1347 r1362  
    3636// Returns true on write success, false on failure. 
    3737function insert_with_markers( $filename, $marker, $insertion ) { 
    38         return; 
    3938        if (!file_exists( $filename ) || is_writeable( $filename ) ) { 
    4039                if (!file_exists( $filename ) ) { 
     
    8988function save_mod_rewrite_rules() { 
    9089        global $wp_rewrite; 
     90        return; // We can't allow mod_rewrite rules to be written 
    9191 
    9292        $home_path = get_home_path();