WordPress.org

Make WordPress Core

Changeset 7562


Ignore:
Timestamp:
03/28/2008 07:05:22 PM (13 years ago)
Author:
westi
Message:

Remove the slash from html generators and camelcase WP. Fixes #6440 props lloydbudd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r7529 r7562  
    11641164    switch ($type) {
    11651165        case 'html':
    1166             $gen = '<meta name="generator" content="WordPress/' . get_bloginfo( 'version' ) . '">' . "\n";
     1166            $gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '">' . "\n";
    11671167            break;
    11681168        case 'xhtml':
    1169             $gen = '<meta name="generator" content="WordPress/' . get_bloginfo( 'version' ) . '" />' . "\n";
     1169            $gen = '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . '" />' . "\n";
    11701170            break;
    11711171        case 'atom':
     
    11821182            break;
    11831183        case 'export':
    1184             $gen = '<!-- generator="wordpress/' . get_bloginfo_rss('version') . '" created="'. date('Y-m-d H:i') . '"-->';
     1184            $gen = '<!-- generator="WordPress/' . get_bloginfo_rss('version') . '" created="'. date('Y-m-d H:i') . '"-->';
    11851185            break;
    11861186    }
Note: See TracChangeset for help on using the changeset viewer.