• Resolved Daedalon

    (@daedalon)


    1. Open http://demo.wp-events-plugin.com/submit-your-event/
    2. Check This is a recurring event.
    3. Click the name of any weekday, e.g. “Wed”.
    4. This doesn’t select the appropriate checkbox. It should.

    The solution is to change in em-functions.php line 608 from:

    $output .= "<input type='checkbox' name='".esc_attr($name)."' value='".esc_attr($key)."' $checked /> ".esc_html($item)."&nbsp; ";

    to

    $output .= "<input type='checkbox' id='".esc_attr($name)."-".esc_attr($key)."' name='".esc_attr($name)."' value='".esc_attr($key)."' $checked /><label for='".esc_attr($name)."-".esc_attr($key)."'> ".esc_html($item)."</label>&nbsp; ";

    http://wordpress.org/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[PATCH] Labels for em_checkbox_items’ is closed to new replies.