Changeset 18790
- Timestamp:
- 09/27/2011 06:11:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r18722 r18790 239 239 _fix_attachment_links( $post_ID ); 240 240 241 wp_set_post_lock( $post_ID , $GLOBALS['current_user']->ID);241 wp_set_post_lock( $post_ID ); 242 242 243 243 if ( current_user_can( $ptype->cap->edit_others_posts ) ) { … … 635 635 _fix_attachment_links( $post_ID ); 636 636 637 wp_set_post_lock( $post_ID , $GLOBALS['current_user']->ID);637 wp_set_post_lock( $post_ID ); 638 638 639 639 return $post_ID;
Note: See TracChangeset
for help on using the changeset viewer.