WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/06/2011 05:44:29 PM (11 years ago)
Author:
ryan
Message:

Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813

File:
1 edited

Legend:

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

    r17053 r17613  
    13951395    }
    13961396
    1397     $comment_old = wp_clone(get_comment($comment_id));
     1397    $comment_old = clone get_comment($comment_id);
    13981398
    13991399    if ( !$wpdb->update( $wpdb->comments, array('comment_approved' => $status), array('comment_ID' => $comment_id) ) ) {
Note: See TracChangeset for help on using the changeset viewer.