From 4dcb9576c89dde6c1394fb8efbc8d1f99f6ffc0d Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 12 Jun 2011 20:36:47 +0000 Subject: [PATCH] Avoid _deprecated_function() in wp_clone(). An object cache gets loaded before i18n functions exist. Maybe a better solution in 3.3. see #17206. git-svn-id: http://svn.automattic.com/wordpress/trunk@18293 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 1841f16e7..03f89af3c 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -561,8 +561,6 @@ function shutdown_action_hook() { */ function wp_clone( $object ) { - _deprecated_function( __FUNCTION__, '3.2' ); - return clone $object; }