diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index e53bc5d7c..49c2538e2 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2602,24 +2602,6 @@ function update_category_cache() { return true; } - -/** - * Copy an object. - * - * Returns a cloned copy of an object. - * - * @since 2.7.0 - * @deprecated 3.2 - * - * @param object $object The object to clone - * @return object The cloned object - */ -function wp_clone( $object ) { - _deprecated_function( __FUNCTION__, '3.2' ); - - return clone $object; -} - /** * Check for PHP timezone support * diff --git a/wp-includes/load.php b/wp-includes/load.php index 47167b351..1841f16e7 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -550,6 +550,22 @@ function shutdown_action_hook() { wp_cache_close(); } +/** + * Copy an object. + * + * @since 2.7.0 + * @deprecated 3.2 + * + * @param object $object The object to clone + * @return object The cloned object + */ + +function wp_clone( $object ) { + _deprecated_function( __FUNCTION__, '3.2' ); + + return clone $object; +} + /** * Whether the current request is for a network or blog admin page *