Make WordPress Core

Changeset 17681


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

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

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r17637 r17681  
    26032603}
    26042604
    2605 
    2606 /**
    2607  * Copy an object.
    2608  *
    2609  * Returns a cloned copy of an object.
    2610  *
    2611  * @since 2.7.0
    2612  * @deprecated 3.2
    2613  *
    2614  * @param object $object The object to clone
    2615  * @return object The cloned object
    2616  */
    2617 function wp_clone( $object ) {
    2618     _deprecated_function( __FUNCTION__, '3.2' );
    2619 
    2620     return clone $object;
    2621 }
    2622 
    26232605/**
    26242606 * Check for PHP timezone support
  • 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.