Support » Plugin: Simple Lightbox » Pls remove script type=”text/javascript”

  • Resolved tolkodelo

    (@tolkodelo)


    This line here, <script type=”text/javascript” id=”slb_context”>, in my site’s footer gives me a validation warning. Please consider removing the type attribute. Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, the type attribute is optional for <script> elements in HTML5 documents, but is included for compatibility with other document types that require it.

    This matches WordPress’ own functionality for <script> elements added to the page.

    tolkodelo

    (@tolkodelo)

    @archetyped, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.