[wp-trac] Re: [WordPress Trac] #4466: Serve application/xhtml+xml
if browser compliant
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 5 01:35:40 GMT 2009
#4466: Serve application/xhtml+xml if browser compliant
------------------------------------------+---------------------------------
Reporter: werwin | Owner: anonymous
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.7.1
Component: Optimization | Version: 2.7
Severity: normal | Resolution:
Keywords: xhtml, application/xhtml+xml |
------------------------------------------+---------------------------------
Changes (by sampablokuper):
* priority: low => normal
* severity: minor => normal
Comment:
DD32 wrote:
>The actual filter is "pre_option_" + option_name, The 'pre_option_' is
listed in the filter reference
Ah, so it is. However, because searching for 'pre_option_html_type' didn't
yield any results, and presumably this would be true of any
'pre_option_...' hooks that aren't explicitly documented, I wonder if it
mightn't be worth documenting them all (even if only with a link to the
documentation on 'pre_option_'), so that people can find what they're
searching for.
>You can use the Plugin API within your themes functions.php file as well.
OK, I didn't know this. It isn't mentioned at
[http://codex.wordpress.org/Plugin_API]
>This is not a bug, its how WordPress operates, Theres the ability for
people to change it via a theme/plugin if required, ... i'd be surprised
if the output of all WP functions would pass validation when served with
application/xhtml+xml which would cause even more problems.
If this is how WP operates, then WP needs enhancement, as this ticket
indicates. With the growing need to incorporate elements of MathML, SVG,
RDFa, etc, in web pages, it's increasingly important that CMS systems are
capable of XHTML Strict compliance. Drupal's
[http://groups.drupal.org/node/16597 on the case]. Other platforms are
getting their acts together too. The ability to serve
application/xhtml+xml is rapidly becoming mandatory for any web platform
worth its salt.
--
Ticket URL: <http://trac.wordpress.org/ticket/4466#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list