Opened 14 years ago
Closed 14 years ago
#21146 closed defect (bug) (fixed)
javascript - remove charset
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.5 | Priority: | normal |
| Severity: | normal | Version: | 3.4 |
| Component: | Validation | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
Some inline-javascripts come with a charset, e.g. in wp-admin/user-edit.php
<script type="text/javascript" charset="utf-8">
http://validator.w3.org/ complains:
Element script must not have attribute charset unless attribute src is also specified.
In total I found three occurrences which are all fixed by the attached patch.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
remove charset from inline-javascripts