From a8dd6cb84500f8f42ccfde2ce9d287b142d35097 Mon Sep 17 00:00:00 2001 From: markjaquith 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: http://svn.automattic.com/wordpress/trunk@8212 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 );