WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/04/2010 07:26:38 PM (11 years ago)
Author:
wpmuguru
Message:

add siteurl filter for ms upgrades, props nacin, fixes #12069

File:
1 edited

Legend:

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

    r12948 r12952  
    273273
    274274    if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting )
    275         $value = preg_replace( '|/+$|', '', $value );
     275        $value = untrailingslashit( $value );
    276276
    277277    if (! @unserialize( $value ) )
Note: See TracChangeset for help on using the changeset viewer.