Skip to:
Content

bbPress.org

Changeset 6111


Ignore:
Timestamp:
11/02/2016 05:45:34 AM (4 years ago)
Author:
netweb
Message:

Users: Update PHPDoc's for user functions and capabilities.

See #2959.

Location:
trunk/src/includes/users
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/capabilities.php

    r6109 r6111  
    475475 * @uses restore_current_blog()
    476476 *
    477  * @return If no user ID passed
     477 * @return bool If no user ID passed.
    478478 */
    479479function bbp_make_spam_user( $user_id = 0 ) {
     
    566566 * @uses restore_current_blog()
    567567 *
    568  * @return If no user ID passed
     568 * @return bool If no user ID passed.
    569569 */
    570570function bbp_make_ham_user( $user_id = 0 ) {
     
    765765 *
    766766 * @param int $user_id User ID to check
    767  * @param int $blog_id Blog ID to check
    768767 *
    769768 * @uses bbp_get_user_id() To verify the user ID
     
    773772 * @uses apply_filters() To allow override of this functions result
    774773 *
    775  * @return boolean Whether or not the user has a profile on this blog_id
     774 * @return bool Whether or not the user has a profile on this blog_id.
    776775 */
    777776function bbp_user_has_profile( $user_id = 0 ) {
     
    823822 * @param int $user_id
    824823 *
    825  * @return mixed
     824 * @return bool
    826825 */
    827826function bbp_remove_moderator( $object_id = 0, $user_id = 0 ) {
  • trunk/src/includes/users/functions.php

    r6109 r6111  
    175175 * Set a user id on an object
    176176 *
    177  * @since 2.7 bbPress()
     177 * @since 2.6.0 bbPress(r6109)
    178178 *
    179179 * @param int    $object_id The object id
     
    198198 * Remove a user id from an object
    199199 *
    200  * @since 2.7 bbPress()
     200 * @since 2.6.0 bbPress(r6109)
    201201 *
    202202 * @param int    $object_id The post id
     
    221221 * Get user taxonomy terms for an object
    222222 *
    223  * @since 2.7 bbPress()
     223 * @since 2.6.0 bbPress(r6109)
    224224 *
    225225 * @param int    $object_id The object id
     
    242242 * Check if the user id is set on an object
    243243 *
    244  * @since 2.7 bbPress()
     244 * @since 2.6.0 bbPress(r6109)
    245245 *
    246246 * @param int    $object_id The object id
Note: See TracChangeset for help on using the changeset viewer.