[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
Fri Aug 24 06:16: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
Component: Template | Version: 2.3
Severity: trivial | Resolution:
Keywords: commit has-patch |
------------------------------+---------------------------------------------
Comment (by Viper007Bond):
Replying to [comment:7 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. ;-)
This is true, but stepping in and out of PHP for such short time and for
simple code seems not worth it.
--
Ticket URL: <http://trac.wordpress.org/ticket/4803#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list