[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
Thu Aug 23 15:05:19 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 (trunk)
Component: Template | Version: 2.3
Severity: trivial | Resolution:
Keywords: commit has-patch |
------------------------------+---------------------------------------------
Comment (by Otto42):
Replying to [comment:5 Viper007Bond]:
> Replying to [comment:3 JeremyVisser]:
> > Nitpick: Use single quotes in the {{{wp_vanity()}}} function, for
performance. :)
>
> A line break was needed at the end, so I didn't want to do this:
Could have done this:
{{{
function wp_vanity() {
?><meta name='generator' content='WordPress <?php bloginfo('version') ?> '
/>
<?php
}
}}}
I'm not sure how much improvement that would be performance-wise though.
Just saying, is all. ;-)
--
Ticket URL: <http://trac.wordpress.org/ticket/4803#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list