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
This commit is contained in:
parent
08b6904f3e
commit
2a4706af64
@ -561,8 +561,6 @@ function shutdown_action_hook() {
|
||||
*/
|
||||
|
||||
function wp_clone( $object ) {
|
||||
_deprecated_function( __FUNCTION__, '3.2' );
|
||||
|
||||
return clone $object;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user