Make WordPress Core

Changeset 11922


Ignore:
Timestamp:
09/13/2009 08:34:24 AM (15 years ago)
Author:
westi
Message:

phpDoc for wp_{check|set}_post_lock functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r11908 r11922  
    10271027
    10281028/**
    1029  * {@internal Missing Short Description}}
    1030  *
    1031  * @since unknown
    1032  *
    1033  * @param unknown_type $post_id
     1029 * Check to see if the post is currently being edited by another user.
     1030 *
     1031 * @since 2.5.0
     1032 *
     1033 * @param int $post_id ID of the post to check for editing
    10341034 * @return bool|int False: not locked or locked by current user. Int: user ID of user with lock.
    10351035 */
     
    10511051
    10521052/**
    1053  * {@internal Missing Short Description}}
    1054  *
    1055  * @since unknown
    1056  *
    1057  * @param unknown_type $post_id
    1058  * @return unknown
     1053 * Mark the post as currently being edited by the current user
     1054 *
     1055 * @since 2.5.0
     1056 *
     1057 * @param int $post_id ID of the post to being edited
     1058 * @return bool Returns false if the post doesn't exist of there is no current user
    10591059 */
    10601060function wp_set_post_lock( $post_id ) {
Note: See TracChangeset for help on using the changeset viewer.