Make WordPress Core

Changeset 18293


Ignore:
Timestamp:
06/12/2011 08:36:47 PM (15 years ago)
Author:
nacin
Message:

Avoid _deprecated_function() in wp_clone(). An object cache gets loaded before i18n functions exist. Maybe a better solution in 3.3. see #17206.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/load.php

    r17681 r18293  
    562562
    563563function wp_clone( $object ) {
    564         _deprecated_function( __FUNCTION__, '3.2' );
    565 
    566564        return clone $object;
    567565}
Note: See TracChangeset for help on using the changeset viewer.