Make WordPress Core


Ignore:
Timestamp:
04/22/2011 05:46:02 PM (15 years ago)
Author:
ryan
Message:

Move wp_clone() back to load.php. Props technosailor. fixes #17206

File:
1 edited

Legend:

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

    r17632 r17681  
    552552
    553553/**
     554 * Copy an object.
     555 *
     556 * @since 2.7.0
     557 * @deprecated 3.2
     558 *
     559 * @param object $object The object to clone
     560 * @return object The cloned object
     561 */
     562
     563function wp_clone( $object ) {
     564    _deprecated_function( __FUNCTION__, '3.2' );
     565
     566    return clone $object;
     567}
     568
     569/**
    554570 * Whether the current request is for a network or blog admin page
    555571 *
Note: See TracChangeset for help on using the changeset viewer.