Skip to content

Commit

Permalink
Remove undiscussed FIXME from add_option. fixes #16813.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@18321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
nacin committed Jun 19, 2011
1 parent c774b1b commit 55ddb50
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 55ddb50

Please sign in to comment.