WordPress.org

Ready to get started?Download WordPress

Forums

WordPress version abc! (2 posts)

  1. Bluemint
    Member
    Posted 5 years ago #

    After upgrading to 2.6 (from 2.5.1), the version number is showing up in a few places as "abc" instead of "2.6".

    In index.php as <meta name="generator" content="WordPress abc" />
    In footer.php for template tag, <?php bloginfo('version'); ?>

    Version "2.6" does shows up correctly on the bottom of the Dashboard.

    Does anyone know what's wrong?

    Thanks.

  2. raween
    Member
    Posted 5 years ago #

    same problem here...

    EDIT:
    here is a nasty fix:
    change in version.php (/wp-includes/version.php):
    $wp_version = '2.6.1';
    in

    $wp_version = '2.6.1';
    $version = $wp_version;

    then in your footer.php:
    <?php echo $GLOBALS['version']; ?>

    This is just a temporary fix. When you update your blog, you should always repeat step one...

Topic Closed

This topic has been closed to new replies.

About this Topic