WordPress.org

Ready to get started?Download WordPress

Forums

mini-Bug report in general-template.php (1 post)

  1. mudar
    Member
    Posted 6 years ago #

    general-template.php, line 838...

    The "Write Page" and "Write Post" xhtml code contains a small error, that makes the page invalid :

    w3c validator : document type does not allow element "style" here.

    Bug solution :

    <style type="text/css">
    #postdivrich table, #postdivrich #quicktags {border-top: none;}
    #quicktags {border-bottom: none; padding-bottom: 2px; margin-bottom: -1px;}
    #edButtons {border-bottom: 1px solid #ccc;}
    </style>

    Should be replaced by

    <script type="text/css">
    // <![CDATA[
    #postdivrich table, #postdivrich #quicktags {border-top: none;}
    #quicktags {border-bottom: none; padding-bottom: 2px; margin-bottom: -1px;}
    #edButtons {border-bottom: 1px solid #ccc;}
    // ]]>
    </script>

Topic Closed

This topic has been closed to new replies.

About this Topic