Ticket #5168 (closed defect (bug): fixed)
Script tag in WP 2.3 widgets.php does not validate
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.5 |
| Component: | General | Version: | 2.3 |
| Severity: | minor | Keywords: | validate, javascript, lang, type, widgets, widgets.php |
| Cc: |
Description
Line 633 in Wordpress 2.3 widgets.php outputs:
<script lang='javascript'>
The "lang" attribute of the script tag is deprecated. This causes HTML validation via the W3C's validator to fail. Two errors are reported. The first is the use of the deprecated lang attribute and the second is the missing type attribute which should be set to "text/javascript".
Change History
comment:1
foolswisdom — 4 years ago
- Priority changed from normal to low
- Severity changed from normal to minor
- Milestone changed from 2.0.eventually to 2.5
comment:3
markjaquith — 4 years ago
- Status changed from new to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.
