Making WordPress.org

Changeset 12859


Ignore:
Timestamp:
08/23/2023 05:56:03 AM (14 months ago)
Author:
dd32
Message:

Make: GitHub Invite Tool: Fix the "already a member of the org? Skip invite and add to team" workflow.

The error message was truncated.

See #7082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-github-invite/admin-post.php

    r12679 r12859  
    6161            is_wp_error( $result ) &&
    6262            $github_username &&
    63             'Invitee is already a part of this org' === $result->get_error_data( 'api_error' )->errors[0]->message ?? ''
     63            'Invitee is already a part of this organization' === $result->get_error_data( 'api_error' )->errors[0]->message ?? ''
    6464        ) {
    6565            // Already a GitHub member, just add them to the team.
Note: See TracChangeset for help on using the changeset viewer.