Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/05/2025 02:27:53 AM (6 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: docs & code formatting improvements.

Props johnjamesjacoby, noruzzaman.

Fixes #3659.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/locks.php

    r7379 r7380  
    1818 * @since 2.6.0 bbPress (r6340)
    1919 *
    20  * @param int $post_id ID of the post to check for editing
     20 * @param int $post_id ID of the post to check for editing.
    2121 * @return integer False: not locked or locked by current user. Int: user ID of user with lock.
    2222 */
     
    5454
    5555/**
    56  * Mark the post as currently being edited by the current user
     56 * Mark the post as currently being edited by the current user.
    5757 *
    5858 * @since 2.6.0 bbPress (r6340)
    5959 *
    60  * @param int $post_id ID of the post to being edited
     60 * @param int $post_id ID of the post to being edited.
    6161 * @return bool|array Returns false if the post doesn't exist of there is no current user, or
    6262 *                     an array of the lock time and the user ID.
Note: See TracChangeset for help on using the changeset viewer.