mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Various docblock improvements.
See #54729 git-svn-id: https://develop.svn.wordpress.org/trunk@53299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1661,8 +1661,13 @@ function wp_check_post_lock( $post_id ) {
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param int|WP_Post $post_id ID or object of the post being edited.
|
||||
* @return array|false Array of the lock time and user ID. False if the post does not exist, or
|
||||
* there is no current user.
|
||||
* @return array|false {
|
||||
* Array of the lock time and user ID. False if the post does not exist, or there
|
||||
* is no current user.
|
||||
*
|
||||
* @type int $0 The current time as a Unix timestamp.
|
||||
* @type int $1 The ID of the current user.
|
||||
* }
|
||||
*/
|
||||
function wp_set_post_lock( $post_id ) {
|
||||
$post = get_post( $post_id );
|
||||
|
||||
Reference in New Issue
Block a user