Opened 14 years ago
Closed 14 years ago
#1959 closed defect (bug) (fixed)
Element script must not have attribute charset unless attribute src is also specified.
| Reported by: | plescheff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | General | Version: | 2.1.2 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is valid. Reopening.