[wp-trac] Re: [WordPress Trac] #4466: Serve application/xhtml+xml if browser compliant

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 5 02:56:30 GMT 2009


#4466: Serve application/xhtml+xml if browser compliant
------------------------------------------+---------------------------------
 Reporter:  werwin                        |        Owner:  anonymous
     Type:  enhancement                   |       Status:  reopened 
 Priority:  normal                        |    Milestone:  2.9      
Component:  Optimization                  |      Version:  2.7      
 Severity:  normal                        |   Resolution:           
 Keywords:  xhtml, application/xhtml+xml  |  
------------------------------------------+---------------------------------
Changes (by sampablokuper):

  * status:  closed => reopened
  * version:  => 2.7
  * resolution:  wontfix =>
  * milestone:  => 2.9

Comment:

 Otto42 wrote:
 >There's really very little point in making the system capable of
 application/xhtml+xml when the most commonly used browser isn't even
 capable of rendering it yet. ... If/when xhtml+xml gets support by IE,
 then it might be worth looking into. As it stands now, I'd say that it's
 not.

 To me, that doesn't sound like a "wontfix". It sounds like a
 "willfixinthedistantfuture". So I've reopened this but pushed the
 milestone back to 2.9 because that's the most distant milestone Trac is
 letting me assign.

 In the meantime, using something like
 {{{
 <?php
 function set_content_type_for_xhtml_strict() {
     return "application/xhtml+xml";
 }
 add_filter('pre_option_html_type', 'set_content_type_for_xhtml_strict');
 ?>
 }}}
 in the theme's functions.php is a workaround that will force the content-
 type for those who want it to be "application/xhtml+xml" regardless of
 browser capability.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4466#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list