Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
git-svn-id: http://svn.automattic.com/wordpress/trunk@16808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fe92a01932
commit
071c5dff0d
|
@ -372,9 +372,6 @@ function get_blog_option( $blog_id, $setting, $default = false ) {
|
||||||
if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting )
|
if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting )
|
||||||
$value = untrailingslashit( $value );
|
$value = untrailingslashit( $value );
|
||||||
|
|
||||||
if (! @unserialize( $value ) )
|
|
||||||
$value = stripslashes( $value );
|
|
||||||
|
|
||||||
return apply_filters( 'blog_option_' . $setting, maybe_unserialize( $value ), $blog_id );
|
return apply_filters( 'blog_option_' . $setting, maybe_unserialize( $value ), $blog_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue