Changeset 515378
- Timestamp:
- 03/06/2012 02:10:39 PM (14 years ago)
- Location:
- plugin-directory-stats/trunk
- Files:
-
- 3 edited
-
japanese.txt (modified) (1 diff)
-
plugin-directory-stats.php (modified) (8 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugin-directory-stats/trunk/japanese.txt
r514865 r515378 110 110 8.履歴 111 111 112 2012/3/6 バージョン 0.1.2 リリース 113 ※ 不要なループを削除。 114 112 115 2012/3/6 バージョン 0.1.1 リリース 113 116 ※ 設定画面で「3.システム情報」の「Plugin Directory Statsのバージョン」が表示されない不具合を修正。 -
plugin-directory-stats/trunk/plugin-directory-stats.php
r514865 r515378 4 4 Plugin URI: http://www.near-mint.com/blog/ 5 5 Description: 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. 16 Version: 0.1.2 7 7 Author: redcocker 8 8 Author URI: http://www.near-mint.com/blog/ … … 34 34 class PLUGIN_DIRECTORY_STATS { 35 35 var $plugin_dir_stats_plugin_url; 36 var $plugin_dir_stats_ver = "0.1. 1";36 var $plugin_dir_stats_ver = "0.1.2"; 37 37 var $plugin_dir_stats_db_ver = "0.1"; 38 38 var $plugin_dir_stats_setting_opt; … … 512 512 513 513 if ($expire_time != 0) { 514 foreach ($plugin_list as $key => $val) {515 $cached_plugin_list[$key] = $val;516 }517 518 514 if (empty($chached_l_date)) { 519 515 $result = $wpdb->query($wpdb->prepare(" … … 521 517 (updated, name, value) 522 518 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))); 524 520 } else { 525 521 $result = $wpdb->query($wpdb->prepare(" … … 527 523 SET updated =%d, value= %s 528 524 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")); 530 526 } 531 527 } … … 574 570 575 571 if ($expire_time != 0) { 576 foreach ($plugin_list as $key => $val) {577 $cached_plugin_list[$key] = $val;578 }579 580 572 if (empty($chached_l_date)) { 581 573 $result = $wpdb->query($wpdb->prepare(" … … 583 575 (updated, name, value) 584 576 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))); 586 578 } else { 587 579 $result = $wpdb->query($wpdb->prepare(" … … 589 581 SET updated =%d, value= %s 590 582 WHERE name = %s", 591 $current_u_time, maybe_serialize($ cached_plugin_list), $slug."_list"));583 $current_u_time, maybe_serialize($plugin_list), $slug."_list")); 592 584 } 593 585 } -
plugin-directory-stats/trunk/readme.txt
r514865 r515378 5 5 Requires at least: 2.8 6 6 Tested up to: 3.3.1 7 Stable tag: 0.1. 17 Stable tag: 0.1.2 8 8 9 9 This plugin gets plugin's download count and other stats from WordPress.ORG and allows you to show them on your blog using shortcode. … … 94 94 == Changelog == 95 95 96 = 0.1.2 = 97 * Removed unnecessary loops. 98 96 99 = 0.1.1 = 97 100 * Fix a bug: "Plugin Directory Stats version" doesn't be shown in "3. Your System Info" setting section. … … 104 107 == Upgrade Notice == 105 108 109 = 0.1.2 = 110 This version has a change. 111 106 112 = 0.1.1 = 107 113 This version has bug fixes.
Note: See TracChangeset
for help on using the changeset viewer.