Skip to:
Content

bbPress.org

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)

#1 @alexvorn2
14 years ago

  • Resolutioninvalid
  • Status newclosed

#2 @johnjamesjacoby
14 years ago

  • Milestone Awaiting Review2.2
  • Resolution invalid
  • Status closedreopened
  • Type enhancementdefect

This is valid. Reopening.

#4 @johnjamesjacoby
14 years ago

  • Resolutionfixed
  • Status reopenedclosed

(In [4231]) Theme Compat:

  • Do not set script charset, since we are sot setting a src.
  • Fixes #1959.
  • Props plescheff.
Note: See TracTickets for help on using tickets.