Make WordPress Core

Ticket #12763: post.patch

File post.patch, 498 bytes (added by deepak.seth, 15 years ago)

Patch updated with respect to root

  • wp-admin/includes/post.php

     
    12051205
    12061206        if ( !add_post_meta( $post->ID, '_edit_lock', $now, true ) )
    12071207                update_post_meta( $post->ID, '_edit_lock', $now );
    1208         if ( !add_post_meta( $post->ID, '_edit_last', $current_user->ID, true ) )
    1209                 update_post_meta( $post->ID, '_edit_last', $current_user->ID );
     1208       
    12101209}
    12111210
    12121211/**