Changeset 8212

Show
Ignore:
Timestamp:
06/29/08 07:44:32 (4 months ago)
Author:
markjaquith
Message:

make get_alloptions() consistent with get_option() WRT tag_base untrailingslashit()ing

Files:

Legend:

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

    r8199 r8212  
    385385        // "When trying to design a foolproof system, 
    386386        //  never underestimate the ingenuity of the fools :)" -- Dougal 
    387         if ( in_array( $option->option_name, array( 'siteurl', 'home', 'category_base' ) ) ) 
     387        if ( in_array( $option->option_name, array( 'siteurl', 'home', 'category_base', 'tag_base' ) ) ) 
    388388            $option->option_value = untrailingslashit( $option->option_value ); 
    389389        $value = maybe_unserialize( $option->option_value );