Changeset 25

Show
Ignore:
Timestamp:
03/05/07 10:31:09 (2 years ago)
Author:
pdingle
Message:

Fixed test for WP 2.1 to look for versions greater than or equal to WP 2.1 instead.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/processing/infocard-post.php

    r23 r25  
    99include_once( dirname(__FILE__) . "/../class.infocard-basic.php"); 
    1010include_once("class.infocard-processing.php"); 
    11 if ($wp_version == '2.1' )  
     11if (version_compare($wp_version, '2.1', '>=') 
    1212{ 
    1313        include_once(ABSPATH . WPINC . "/pluggable.php");