Exper Chaotic Flow - Abstract Design - Every life really takes its toll!



Exper Giovanni Rubaltelli
Abstract Design

EMAIL
expercf at gmail dot com

Exper designs are distributed under Creative Commons License (a-nc-nd) and GPFDA except if differently specified.

Exper Chaotic Flow
  • Random Images

  • Life is nothing much to lose (Fractal Flame round-100-2-178)
    Life is nothing much to lose (Fractal Flame round-100-2-178)


    ALIENated me
    ALIENated me


    random image


    Fractal Flame round-16-7-3-e-236-fx
    Fractal Flame round-16-7-3-e-236-fx


    Bolt-hole 4
    Bolt-hole 4
  • Archives

  • Quotes

    Those who travel very slowly may yet make far greater progress, provided they keep always to the straight road, than those who, while they run, forsake it.
    Rene Descartes, Discourse on the Method

    Lo so che parlo perche' parlo ma che non persuadero' nessuno; e questa e' disonesta' - ma la rettorica mi costringe a forza a far cio' - o in altre parole "e' pur necessario che se uno ha addentato una perfida sorba la risputi".
    C. Michelstaedter, La Persuasione e la Rettorica

    Under a darkening sky / The night is falling down on me / And I'm thinking that I should / Head on home / Been gone too long / Leave my roaming
    M. Knopfler and Emmylou Harris, Beachcombing
  • Spam Blocked

  • Wordpress Generator meta tag

    7th November 2009

    The last WordPress versions has introduced the automatic insertion of Generator meta tag in the HTML HEAD.
    So what is the problem?
    The Generator meta tag reports both the platform name and the software version; an example is “WordPress 2.8.5“. I don’t know why they decided to expose the version number, a so deprecated and potentially harmful information, directly to everybody “eyes” cos this precious information could facilitate a potential hacking tactic based on specific revision problems.

    So… is the Generator meta tag bad?
    Security maniacal people surely will have to remove it completely cos it evidently exposes the used software.
    In a more general way I’d like to encourage in using it providing the “WordPress” part only (the WP software have to be always up to date). The safer Generator meta tag is can be useful/traced/used by some plugins; an example is the WordPress.com Stats plugin.

    The are various ways to remove the Generator meta tag.

    • Hard-coded
      This is done editing the default-filters.php located in the includes directory
      Find
      add_action('wp_head', 'wp_generator');
      Delete the line or replace it with
      // add_action('wp_head', 'wp_generator');
      The hook’s call that generates the meta tag is completely deleted or just hidden this way.
      This hard-coded  approach is the one that give better performances (in therm of Server resources usage) but the modification will disappear when upgrading the WP software to a new release; if you’re going this way you have to edit the file after every upgrade.
    • Modify the Theme
      This is done editing the Theme’s functions.php file (not the WP “includes” one)
      Adding a
      remove_action('wp_head', 'wp_generator');
      line before the end of the file.
      This is very simple and produce a permanent solution (related to the Theme).
      The change will not been affected by WP upgrades.
      NOTE: if the used Theme don’t already have a functions.php file (quite rare nowadays) then it can be created and the content should be something like this:

    • Use a plugin
      There are some plugins that can remove the Generator meta tag; a search will push to the right direction.

    Adding a safer Generator meta tag.
    It is very trivial and It takes not more than a couple of seconds editing the header.php Theme’s file.
    Just add the line
    <meta name="generator" content="WordPress" />
    before or after the already present <meta lines.

    Personally talking: It’s good to me letting know users/robots that I’m using WordPress (a great and free platform); a sort of “Thanks a lot to every involved developer!“. So I’d like to encourage everyone to add the safer Generator meta tag to their Themes.

    Share this Post
    • email
    • Add to favorites
    • Print
    • Facebook
    • MySpace
    • Twitter
    • StumbleUpon
    • Digg
    • del.icio.us
    • Google Bookmarks
    • Technorati
    • Netvibes
    • Reddit
    • Yahoo! Bookmarks
    • Yahoo! Buzz
    • Live
    • MSN Reporter
    • Ping.fm

    Leave a Reply