• When I released version 2.5.4 of Heatmap theme I added a helpful bit of code to remind people to upgrade their WordPress version in order to be able to run Heatmap Theme, so they dont run into problems (as Heatmap theme uses features from wp 2.9 upwards).

    Some security plugins block the WP version number from being reported, and therefore some installs running them will see the message…

    “HeatMap Theme requires WordPress 2.9 or greater – You are currently running abc” – I’ve had reports of this issue with WP Security Scan

    If you have already upgraded your WP install and you are getting this message you can simply remove the following block of code from header.php

    <?php
    // If this is an old version of WordPress show a warning - styled inline 'just in case' so that the message will be seen - dont want to take any chances! -added 24/03/10 //
    if (get_bloginfo('version') < 2.9) {
    	print '<div style="background-color:#fff; color:#000; font-weight:bold; padding: 5px;">';
    	print '<p align="center" style="margin-bottom: 3px;">HeatMap Theme requires WordPress 2.9 or greater - You are currently running ';
    	print bloginfo('version');
       	print '<br/>Please deactivate this theme, upgrade WordPress, and then reactivate HeatMap Theme</p>';
    	print '</div>';
    }
    ?>
  • The topic ‘Message – "HeatMap Theme requires WordPress 2.9 or greater"’ is closed to new replies.