[wp-trac] [WordPress Trac] #3584: Quickstart tags should be conditionalised on html_type == text/html

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 16 00:45:22 GMT 2007


#3584: Quickstart tags should be conditionalised on html_type == text/html
----------------------------+-----------------------------------------------
 Reporter:  nickshanks      |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.1      
Component:  Administration  |     Version:  2.0.7    
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3584>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list