Changeset 18796 for trunk/wp-admin/includes/post.php
- Timestamp:
- 09/27/2011 08:52:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r18790 r18796 1240 1240 * 1241 1241 * @param int $post_id ID of the post to being edited 1242 * @return bool Returns false if the post doesn't exist of there is no current user 1242 * @return bool|array Returns false if the post doesn't exist of there is no current user, or 1243 * an array of the lock time and the user ID. 1243 1244 */ 1244 1245 function wp_set_post_lock( $post_id ) { … … 1252 1253 1253 1254 update_post_meta( $post->ID, '_edit_lock', $lock ); 1255 return array( $now, $user_id ); 1254 1256 } 1255 1257
Note: See TracChangeset
for help on using the changeset viewer.