Plugin Directory

Changeset 515378


Ignore:
Timestamp:
03/06/2012 02:10:39 PM (14 years ago)
Author:
redcocker
Message:

release 0.1.2

Location:
plugin-directory-stats/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugin-directory-stats/trunk/japanese.txt

    r514865 r515378  
    1101108.履歴
    111111
     1122012/3/6 バージョン 0.1.2 リリース
     113※ 不要なループを削除。
     114
    1121152012/3/6 バージョン 0.1.1 リリース
    113116※ 設定画面で「3.システム情報」の「Plugin Directory Statsのバージョン」が表示されない不具合を修正。
  • plugin-directory-stats/trunk/plugin-directory-stats.php

    r514865 r515378  
    44Plugin URI: http://www.near-mint.com/blog/
    55Description: This plugin gets plugin's download count and other stats from WordPress.ORG and allows you to show them on your blog using shortcode.
    6 Version: 0.1.1
     6Version: 0.1.2
    77Author: redcocker
    88Author URI: http://www.near-mint.com/blog/
     
    3434class PLUGIN_DIRECTORY_STATS {
    3535    var $plugin_dir_stats_plugin_url;
    36     var $plugin_dir_stats_ver = "0.1.1";
     36    var $plugin_dir_stats_ver = "0.1.2";
    3737    var $plugin_dir_stats_db_ver = "0.1";
    3838    var $plugin_dir_stats_setting_opt;
     
    512512
    513513            if ($expire_time != 0) {
    514                 foreach ($plugin_list as $key => $val) {
    515                     $cached_plugin_list[$key] = $val;
    516                 }
    517 
    518514                if (empty($chached_l_date)) {
    519515                    $result = $wpdb->query($wpdb->prepare("
     
    521517                        (updated, name, value)
    522518                        VALUES ( %d, %s, %s )",
    523                             $current_u_time, $slug."_list_all", maybe_serialize($cached_plugin_list)));
     519                            $current_u_time, $slug."_list_all", maybe_serialize($plugin_list)));
    524520                } else {
    525521                    $result = $wpdb->query($wpdb->prepare("
     
    527523                        SET updated =%d, value= %s
    528524                        WHERE name = %s",
    529                         $current_u_time, maybe_serialize($cached_plugin_list), $slug."_list_all"));
     525                        $current_u_time, maybe_serialize($plugin_list), $slug."_list_all"));
    530526                }
    531527            }
     
    574570
    575571            if ($expire_time != 0) {
    576                 foreach ($plugin_list as $key => $val) {
    577                     $cached_plugin_list[$key] = $val;
    578                 }
    579 
    580572                if (empty($chached_l_date)) {
    581573                    $result = $wpdb->query($wpdb->prepare("
     
    583575                        (updated, name, value)
    584576                        VALUES ( %d, %s, %s )",
    585                             $current_u_time, $slug."_list", maybe_serialize($cached_plugin_list)));
     577                            $current_u_time, $slug."_list", maybe_serialize($plugin_list)));
    586578                } else {
    587579                    $result = $wpdb->query($wpdb->prepare("
     
    589581                        SET updated =%d, value= %s
    590582                        WHERE name = %s",
    591                         $current_u_time, maybe_serialize($cached_plugin_list), $slug."_list"));
     583                        $current_u_time, maybe_serialize($plugin_list), $slug."_list"));
    592584                    }
    593585            }
  • plugin-directory-stats/trunk/readme.txt

    r514865 r515378  
    55Requires at least: 2.8
    66Tested up to: 3.3.1
    7 Stable tag: 0.1.1
     7Stable tag: 0.1.2
    88
    99This plugin gets plugin's download count and other stats from WordPress.ORG and allows you to show them on your blog using shortcode.
     
    9494== Changelog ==
    9595
     96= 0.1.2 =
     97* Removed unnecessary loops.
     98
    9699= 0.1.1 =
    97100* Fix a bug: "Plugin Directory Stats version" doesn't be shown in "3. Your System Info" setting section.
     
    104107== Upgrade Notice ==
    105108
     109= 0.1.2 =
     110This version has a change.
     111
    106112= 0.1.1 =
    107113This version has bug fixes.
Note: See TracChangeset for help on using the changeset viewer.