Remove undiscussed FIXME from add_option. fixes #16813.

git-svn-id: https://develop.svn.wordpress.org/trunk@18321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-06-19 21:37:47 +00:00
parent fdbc800dcc
commit 6a82127a91

View File

@ -600,10 +600,6 @@ function add_option( $option, $value = '', $deprecated = '', $autoload = 'yes' )
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) )
$value = clone $value;