WordPress.org

Plugin Directory

Changeset 609666


Ignore:
Timestamp:
10/08/12 16:49:26 (19 months ago)
Author:
cfinke
Message:

Storing current version number in a constant for easier updateability.

Location:
wordpress-feed-statistics/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-feed-statistics/trunk/feed-statistics.php

    r609664 r609666  
    99Author URI: http://www.chrisfinke.com/ 
    1010*/ 
     11 
     12define( 'FEED_STATISTICS_VERSION', '2.0pre' ); 
    1113 
    1214if (preg_match("/feed\-statistics\.php$/", $_SERVER["PHP_SELF"])) { 
     
    274276        $installed_version = get_option( 'feed_statistics_version' ); 
    275277         
    276         if ( '2.0pre' != $installed_version ) { 
     278        if ( FEED_STATISTICS_VERSION != $installed_version ) { 
    277279            FEED_STATS::sql(); 
    278280             
    279             update_option( 'feed_statistics_version', '2.0pre' ); 
     281            update_option( 'feed_statistics_version', FEED_STATISTICS_VERSION ); 
    280282             
    281283            add_option( 'feed_statistics_track_clickthroughs', '0' ); 
  • wordpress-feed-statistics/trunk/readme.txt

    r383888 r609666  
    33Donate link: http://www.chrisfinke.com/wordpress/plugins/feed-statistics/ 
    44Tags: rss, statistics, feeds, newsfeed, stats 
    5 Requires at least: 2.5 
    6 Tested up to: 3.1.2 
     5Requires at least: 3.2 
     6Tested up to: 3.4.2 
    77Stable tag: 1.5 
    88 
Note: See TracChangeset for help on using the changeset viewer.