Skip to:
Content

BuddyPress.org

Changeset 14159


Ignore:
Timestamp:
12/19/2025 07:05:53 PM (4 months ago)
Author:
espellcaste
Message:

Fix typo in the BuddyPress Membership Invitations header comment.

Props amitraj2203 and dcavins.

Closes https://github.com/buddypress/buddypress/pull/408
See #9173.
Fixes #9242 (trunk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-invitations.php

    r14077 r14159  
    11<?php
    22/**
    3  * BuddyPress Membersip Invitations
     3 * BuddyPress Membership Invitations
    44 *
    55 * @package BuddyPress
     
    4444 *
    4545 * @since 8.0.0
    46  *
    47  * @param bool|WP_Error $user_id True on success, WP_Error on failure.
    4846 */
    49 function bp_members_invitations_complete_signup( $user_id ) {
     47function bp_members_invitations_complete_signup() {
    5048
    5149    // Check to see if this signup is the result of a valid invitation.
     
    8078            'id' => $invite->id,
    8179        );
     80
    8281        $invites_class->accept_invitation( $args );
    8382
     
    130129
    131130/**
    132  * If a user submits a site membership request, but there's a
     131 * If a user submits a site membership request, but there's already a
    133132 * sent invitation to her, bypass the manual approval of the request.
    134133 *
     
    180179 * @since 12.0.0
    181180 *
    182  * @param bool $access Whether the user can view member invitations screens.
     181 * @return bool Whether the user can view member invitations screens.
    183182 */
    184183function bp_members_invitations_user_can_view_screens() {
     
    192191 * @since 12.0.0
    193192 *
    194  * @param bool $access Whether the user can view member invitations send screen.
     193 * @return bool Whether the user can view member invitations send screen.
    195194 */
    196195function bp_members_invitations_user_can_view_send_screen() {
Note: See TracChangeset for help on using the changeset viewer.