From 2a4706af648aa4d8c81758683df7b092cde127cc Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@18293 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/load.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 1841f16e76..03f89af3c2 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; }