Making WordPress.org


Ignore:
Timestamp:
04/16/2024 12:41:37 PM (19 months ago)
Author:
amieiro
Message:

Translate: Sync "Translation Events" from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-translation-events/includes/routes/user/host-event.php

    r13529 r13541  
    5151
    5252        $affected_attendee = $this->attendee_repository->get_attendee( $event_id, $user_id );
    53         if ( $affected_attendee instanceof Attendee && $affected_attendee->is_host() && ( 1 === count( $this->attendee_repository->get_hosts( $event_id ) ) ) ) {
    54             $this->die_with_error( esc_html__( 'The event needs a host. Add a new host before stopping to attend the event.', 'gp-translation-events' ), 403 );
    55         }
    5653        // The user is attending to the event, so if I don't find the attendee, I won't create it.
    5754        if ( $affected_attendee instanceof Attendee ) {
Note: See TracChangeset for help on using the changeset viewer.