Logout link on booking form spans over the entire form

WordPress Event Management, Calendars & Registration Forums Report A Bug Logout link on booking form spans over the entire form

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 10 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10837

    Hello,

    I think i found a bug. When you want to book tickets on an event detailpage, and you are logged in, there is a line that says “is this not you ? LOGOUT” But the entire form is inside the Logout a tag. I don’t think this is correct is it ?

    I removed the following code as a quick solution.
    The code is inside class-eo-booking-form-view.php

    if( is_user_logged_in() ){
            $current_user = wp_get_current_user();
            $html .= sprintf(
                    '<div class="eo-booking-notice-logged-in %s">
                            

    %s

    </div>', esc_attr( $this->form->get_form_notice_classes() ), sprintf( __( 'You are logged in as %s. Not you?', 'eventorganiserp' ), $current_user->user_email, wp_logout_url( get_permalink() ) ) ); }
    • This topic was modified 10 years, 6 months ago by  Indie Group.
    • This topic was modified 10 years, 6 months ago by  Indie Group.
    Indie Group
    #10840

    Hi,

    Can you confirm if you’re using the plug-in a language after than English? There were issues with some translations, which were (I thought) resolved – it’s possible that one language was missed!

    Stephen Harris
    #10843

    Hello, i am using this in dutch

    Indie Group
    #11447

    Just an update: this issue was resolved after errors were found in the Dutch .po translation file. The issue was fixed in 1.7.0.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.