Remove undiscussed FIXME from add_option. fixes #16813.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c774b1b42d
commit
55ddb508e1
|
@ -600,10 +600,6 @@ function add_option( $option, $value = '', $deprecated = '', $autoload = 'yes' )
|
||||||
|
|
||||||
wp_protect_special_option( $option );
|
wp_protect_special_option( $option );
|
||||||
|
|
||||||
/*
|
|
||||||
* FIXME the next two lines of code are not necessary and should be removed.
|
|
||||||
* @see http://core.trac.wordpress.org/ticket/13480
|
|
||||||
*/
|
|
||||||
if ( is_object($value) )
|
if ( is_object($value) )
|
||||||
$value = clone $value;
|
$value = clone $value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue