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:
parent
fdbc800dcc
commit
6a82127a91
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user