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:
ryan 2010-12-08 19:25:18 +00:00
parent fe92a01932
commit 071c5dff0d
1 changed files with 0 additions and 3 deletions

View File

@ -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 );
} }