Opened 11 years ago
Closed 11 years ago
#1959 closed defect (bug) (fixed)
Element script must not have attribute charset unless attribute src is also specified.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | 2.1.2 |
Component: | General | Keywords: | |
Cc: |
Description
Using bbPress 2.1.2, WordPress 3.4.2.
HTML Tidy (HTML5 mode) is reporting that "Element script must not have attribute charset unless attribute src is also specified."
bbPress adds the script on every page, so validation fails.
File: wp-content\plugins\bbpress\bbp-theme-compat\bbpress-functions.php
Patch (line 196):
- <script type="text/javascript" charset="utf-8"> + <script type="text/javascript">
Change History (4)
Note: See
TracTickets for help on using
tickets.
This is valid. Reopening.