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