Remove extra new line after generator. fixes #9095
git-svn-id: https://develop.svn.wordpress.org/trunk@10630 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5612dd3851
commit
a6850c37ee
@ -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
Block a user