• Resolved David July

    (@mountsutro)


    Joe:

    I just discovered an HTML validation issue with the current version of My Calendar affecting the [my_calendar format="calendar"] shortcode.

    Line 1381 of my-calendar-output.php contains the following code.

    $my_calendar_body .= "<$th class='$class $dayclass'>" . $name_days[ $i ] . "</$th>\n";

    As you can see, the variable $th is used in the closing tag as well. Therefore, when $th includes a scope attribute (as per Line 1366) it is also present in the closing tag.

    I replaced </$th> with </th> on Line 1381 to correct the validation errors.

    Please let me know if you have any questions and thank you for the excellent plugin.

    Regards,

    David July

    https://www.ads-software.com/plugins/my-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calendar Grid HTML Validation Error’ is closed to new replies.