Make WordPress Core


Ignore:
Timestamp:
06/29/2008 07:44:32 AM (17 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 );
Note: See TracChangeset for help on using the changeset viewer.