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
This commit is contained in:
parent
4ce4b5bfb7
commit
817cb02671
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user