[wp-trac] Re: [WordPress Trac] #9263: wp_head() hook introduces invalid markup

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 3 03:14:38 GMT 2009


#9263: wp_head() hook  introduces invalid markup
--------------------------+-------------------------------------------------
 Reporter:  pacq          |       Owner:                       
     Type:  defect (bug)  |      Status:  new                  
 Priority:  normal        |   Milestone:  Unassigned           
Component:  Validation    |     Version:  2.7.1                
 Severity:  normal        |    Keywords:  wp_head(), validation
--------------------------+-------------------------------------------------

Comment(by johnbillion):

 Is this when using the default theme with all plugins disabled?

 The placement of the `wp_head()` function dictates the placement of its
 output. In the default theme the `wp_head()` call is within the <head> (as
 it should be in all themes) and I'm fairly sure that a <style> tag is
 valid in the <head> tag. A plugin, however, could be adding invalid markup
 via the `wp_head` hook and causing this validation error.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9263#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list