Changeset 511566
- Timestamp:
- 02/28/2012 06:29:05 AM (14 years ago)
- Location:
- myqaptcha/trunk
- Files:
-
- 3 edited
-
jquery/myQaptcha.jquery.php (modified) (1 diff)
-
myQaptcha.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
myqaptcha/trunk/jquery/myQaptcha.jquery.php
r511170 r511566 2 2 session_start(); 3 3 $aResponse['error'] = false; 4 5 4 if(isset($_POST['action']) && isset($_POST['myQaptcha'])) 6 5 { -
myqaptcha/trunk/myQaptcha.php
r511170 r511566 2 2 /* 3 3 Plugin Name: myQaptcha 4 Version: 1.0. 04 Version: 1.0.1 5 5 Plugin URI: http://blog.30c.org/2006.html 6 6 Description: 在单页文章评论处添加滑动解锁,使用Session技术防止垃圾评论和机器人,让你不用整天忙于文章审核.纯绿色插件,不修改数据库、无需中转页面、无需加载任何第三方代码、安装简单卸载干净、轻巧迅速 … … 33 33 function myQaptcha_preprocess_comment($comment) { 34 34 if (!is_user_logged_in()) { 35 if (isset($_POST['myQaptcha']) && $_POST['myQaptcha'] == 1) { 35 if(!session_id()) session_start(); 36 if ( isset($_SESSION['30corg']) && $_SESSION['30corg']) { 37 unset($_SESSION['30corg']); 36 38 return($comment); 37 39 } else { -
myqaptcha/trunk/readme.txt
r511213 r511566 4 4 Donate link: https://me.alipay.com/clove 5 5 Requires at least: 3.0.0 6 Tested up to: 3. 1.16 Tested up to: 3.3.1 7 7 Stable tag: myQaptcha,Clove,30c.org,spam 8 8 Tags: myQaptcha,Clove,30c.org,spam … … 54 54 == Changelog == 55 55 56 = 2012-02-28 1.0.1 = 57 针对纵向排列模板做了一点小优化和判断处理。 58 56 59 = 2012-02-27 1.0.0 = 57 60 完成Qaptcha的插件改造和模板测试,实现滑动解锁功能
Note: See TracChangeset
for help on using the changeset viewer.