Remove extra new line after generator. fixes #9095
git-svn-id: http://svn.automattic.com/wordpress/trunk@10630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
edb5bb3499
commit
2238d7148b
|
@ -1952,10 +1952,10 @@ function the_generator( $type ) {
|
||||||
function get_the_generator( $type ) {
|
function get_the_generator( $type ) {
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'html':
|
case 'html':
|
||||||
$gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '">' . "\n";
|
$gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '">';
|
||||||
break;
|
break;
|
||||||
case 'xhtml':
|
case 'xhtml':
|
||||||
$gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '" />' . "\n";
|
$gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '" />';
|
||||||
break;
|
break;
|
||||||
case 'atom':
|
case 'atom':
|
||||||
$gen = '<generator uri="http://wordpress.org/" version="' . get_bloginfo_rss( 'version' ) . '">WordPress</generator>';
|
$gen = '<generator uri="http://wordpress.org/" version="' . get_bloginfo_rss( 'version' ) . '">WordPress</generator>';
|
||||||
|
|
Loading…
Reference in New Issue