[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:15:48 GMT 2009
#4466: Serve application/xhtml+xml if browser compliant
------------------------------------------+---------------------------------
Reporter: werwin | Owner: anonymous
Type: enhancement | Status: reopened
Priority: low | Milestone: 2.7.1
Component: Optimization | Version: 2.7
Severity: minor | Resolution:
Keywords: xhtml, application/xhtml+xml |
------------------------------------------+---------------------------------
Comment (by DD32):
>but there's still no documentation on pre_option_html_type
Thats because there IS no documentation needed on how to do it, The actual
filter is "pre_option_" + option_name, The 'pre_option_' is listed in the
filter reference, It'd be impossible/crazy to list pre_option_blah,
pre_option_blah2, etc. for the hundred or so options (and then you've got
update_option_, and option_, etc.)
You can use the Plugin API within your themes functions.php file as well.
Trac is not a support forum, Any furthur information on how to use Filters
or Actions of any type need to be directed to the Support forums, This is
not a bug, its how WordPress operates, Theres the ability for people to
change it via a theme/plugin if required, but the majority of wordpress
themes are NOT xhtml strict compliant, infact, 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.
--
Ticket URL: <http://trac.wordpress.org/ticket/4466#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list