[wp-trac] Re: [WordPress Trac] #4803: WordPress should be inserting
its generator tag via the wp_head hook
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 26 00:20:28 GMT 2007
#4803: WordPress should be inserting its generator tag via the wp_head hook
-----------------------------------+----------------------------------------
Reporter: JeremyVisser | Owner: westi
Type: enhancement | Status: assigned
Priority: low | Milestone: 2.3
Component: Template | Version: 2.3
Severity: trivial | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+----------------------------------------
Comment (by JeremyVisser):
Replying to [comment:11 Nazgul]:
> There are still a lot of HTML 4.x themes out there which won't like it
if we put a self-closing tag in there, because they will fail validation.
We'd have to differentiate between HTML and XHTML.
There are other more significant places where XHTML markup is hardcoded,
and this is really trivial to overcome if you're using a HTML 4.x theme by
making a {{{functions.php}}} file like the following:
{{{
<?php
remove_action('wp_head', 'wp_vanity');
?>
}}}
Can't get any easier than that.
--
Ticket URL: <http://trac.wordpress.org/ticket/4803#comment:13>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list