Skip to content

Commit

Permalink
Remove extra closing div after header
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Feb 19, 2024
1 parent a42cd99 commit eef34ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/my-calendar-output.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ function my_calendar_draw_event( $event, $type, $process_date, $time, $template
*
* @return {string}
*/
$after = apply_filters( 'mc_after_event_no_details', '', $event, $type, $time ) . '</div>';
$after = apply_filters( 'mc_after_event_no_details', '', $event, $type, $time );
$details = $before . $header . $after;
}

$details = apply_filters( 'mc_event_details_output', $details, $event );
$container_id = mc_event_container_id( $type, $process_date, $event );
$close_button = mc_close_button( $container_id );
Expand Down

0 comments on commit eef34ee

Please sign in to comment.