WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/11/2012 10:22:20 PM (9 years ago)
Author:
nacin
Message:

Remove ms-files.php rewriting from WordPress multisite. fixes #19235.

Keep existing networks compatible with a ms_files_rewriting network option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-default-filters.php

    r21256 r21823  
    6262remove_filter( 'option_siteurl', '_config_wp_siteurl' );
    6363remove_filter( 'option_home',    '_config_wp_home'    );
     64
     65// If the network upgrade hasn't run yet, assume ms-files.php rewriting is used.
     66add_filter( 'default_site_option_ms_files_rewriting', '__return_true' );
Note: See TracChangeset for help on using the changeset viewer.