Skip to:
Content

bbPress.org


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.

File:
1 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 ) {
Note: See TracChangeset for help on using the changeset viewer.