Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
git-svn-id: https://develop.svn.wordpress.org/trunk@16808 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dd8cff8381
commit
7cefd23188
@ -372,9 +372,6 @@ function get_blog_option( $blog_id, $setting, $default = false ) {
|
||||
if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting )
|
||||
$value = untrailingslashit( $value );
|
||||
|
||||
if (! @unserialize( $value ) )
|
||||
$value = stripslashes( $value );
|
||||
|
||||
return apply_filters( 'blog_option_' . $setting, maybe_unserialize( $value ), $blog_id );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user