[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 12:11:33 GMT 2007


#4803: WordPress should be inserting its generator tag via the wp_head hook
--------------------------+-------------------------------------------------
 Reporter:  JeremyVisser  |        Owner:  anonymous   
     Type:  enhancement   |       Status:  new         
 Priority:  low           |    Milestone:  2.4 (future)
Component:  Template      |      Version:  2.3         
 Severity:  trivial       |   Resolution:              
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by 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:

 {{{
 echo '<meta name="generator" content="WordPress ' .
 get_bloginfo('version') . '" />' . "\n";
 }}}

 That's personally what I do in my own plugins, etc. but I believe WP
 coding standards dictate doing it the way my patch does, but I could be
 wrong.

 As for validity, I wondered that myself. W3C validates it as being okay.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4803#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list