Making WordPress.org


Ignore:
Timestamp:
05/10/2024 12:42:51 PM (2 years 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/templates/events-attendees.php

    r13683 r13690  
    5353                                                                        <input type="submit" class="button is-secondary convert-to-host" value="<?php echo esc_attr__( 'Make co-host', 'gp-translation-events' ); ?>"/>
    5454                                                        <?php endif; ?>
     55                                                        <?php if ( ! $attendee->is_host() ) : ?>
     56                                                                <a href="<?php echo esc_url( Urls::event_remove_attendee( $event->id(), $attendee->user_id() ) ); ?>" class="button remove-attendee"><?php esc_html_e( 'Remove', 'gp-translation-events' ); ?></a>
     57                                                        <?php endif; ?>
    5558                                                </form>
    5659                                        </td>
Note: See TracChangeset for help on using the changeset viewer.