From 817cb0267122872b5618ed4fc32d68d438ebbc3f Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sun, 29 Jun 2008 07:44:32 +0000 Subject: [PATCH] make get_alloptions() consistent with get_option() WRT tag_base untrailingslashit()ing git-svn-id: https://develop.svn.wordpress.org/trunk@8212 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6f66adeb68..7026fc3fe0 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -384,7 +384,7 @@ function get_alloptions() { foreach ( $options as $option ) { // "When trying to design a foolproof system, // never underestimate the ingenuity of the fools :)" -- Dougal - if ( in_array( $option->option_name, array( 'siteurl', 'home', 'category_base' ) ) ) + if ( in_array( $option->option_name, array( 'siteurl', 'home', 'category_base', 'tag_base' ) ) ) $option->option_value = untrailingslashit( $option->option_value ); $value = maybe_unserialize( $option->option_value ); $all_options->{$option->option_name} = apply_filters( 'pre_option_' . $option->option_name, $value );