WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#3584 closed defect (bug) (invalid)

Quicktags should be conditionalised on html_type == text/html

Reported by: nickshanks Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.7
Component: Administration Keywords:
Focuses: Cc:

Description

The edToolbar() function called from admin-functions.php:1127 (and included in post and new-page when accessed) calls the document.write() function, which isn't allowed in XHTML, causing much breakage of the site as I cannot post new content!

Recommend wrapping the_quicktags() function with a check for option_html_type == "text/html", and if not equal, do not include quicktags.

Change History (4)

comment:1 nickshanks7 years ago

  • Summary changed from Quickstart tags should be conditionalised on html_type == text/html to Quicktags should be conditionalised on html_type == text/html

comment:2 foolswisdom7 years ago

  • Milestone changed from 2.1 to 2.2

comment:3 foolswisdom7 years ago

  • Milestone changed from 2.2 to 2.3

comment:4 Nazgul7 years ago

  • Milestone 2.3 deleted
  • Resolution set to invalid
  • Status changed from new to closed

The the_quicktags() function no longer exists, so closing as invalid

Note: See TracTickets for help on using tickets.