Forums

Is the WP version shown in source code (6 posts)

  1. TWD
    Member
    Posted 1 year ago #

    In previous versions of WP it was always the case
    that the HTML source code revealed the current version number.

    Which I always felt was a big security issue.
    I know there is a plugin to remove it but, why was it necessary.

    Anyway, looking through the source code of my latest WP3
    installs it seems like that piece of generated HTML has
    been removed.

    Is it true?

  2. TWD
    Member
    Posted 1 year ago #

    It was part of the meta tags e.g.

    <meta name="generator" content="WordPress 2.9.2" />

  3. DaisyMariposa
    Member
    Posted 1 year ago #

    TWD,

    This code is on the blog site I created.

    <meta name="generator" content="WordPress 3.0.3" />
  4. ClaytonJames
    Member
    Posted 1 year ago #

    Anyway, looking through the source code of my latest WP3
    installs it seems like that piece of generated HTML has
    been removed.

    Is it true?

    Mine are all still clearly visible in the source code on 3.0.3.

    There are still some alternatives, if you're concerned about it.

    http://wordpress.org/extend/plugins/search.php?q=remove+wordpress+version&sort=

  5. TWD
    Member
    Posted 1 year ago #

    Perhaps it depends on how the theme is constructed.

  6. ClaytonJames
    Member
    Posted 1 year ago #

    It probably depends more on whether or not you use any method of removing or obfuscating it. I think it might be added by a wordpress core file by default.

    http://core.trac.wordpress.org/browser/branches/3.0/wp-includes/general-template.php - starting line 2139, I think.

    Perhaps your theme adds a filter to remove the version.

Topic Closed

This topic has been closed to new replies.

About this Topic