Plugin Directory

Changeset 511566


Ignore:
Timestamp:
02/28/2012 06:29:05 AM (14 years ago)
Author:
clove
Message:

1.0.1 revision
Modified some display effect for vertical theme

Location:
myqaptcha/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • myqaptcha/trunk/jquery/myQaptcha.jquery.php

    r511170 r511566  
    22session_start();
    33$aResponse['error'] = false;
    4    
    54if(isset($_POST['action']) && isset($_POST['myQaptcha']))
    65{
  • myqaptcha/trunk/myQaptcha.php

    r511170 r511566  
    22/*
    33Plugin Name: myQaptcha
    4 Version:     1.0.0
     4Version:     1.0.1
    55Plugin URI:  http://blog.30c.org/2006.html
    66Description: 在单页文章评论处添加滑动解锁,使用Session技术防止垃圾评论和机器人,让你不用整天忙于文章审核.纯绿色插件,不修改数据库、无需中转页面、无需加载任何第三方代码、安装简单卸载干净、轻巧迅速
     
    3333function myQaptcha_preprocess_comment($comment) {
    3434    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']);
    3638            return($comment);
    3739        } else {
  • myqaptcha/trunk/readme.txt

    r511213 r511566  
    44Donate link:       https://me.alipay.com/clove
    55Requires at least: 3.0.0
    6 Tested up to:      3.1.1
     6Tested up to:      3.3.1
    77Stable tag:        myQaptcha,Clove,30c.org,spam
    88Tags:              myQaptcha,Clove,30c.org,spam
     
    5454== Changelog ==
    5555
     56= 2012-02-28 1.0.1 =
     57针对纵向排列模板做了一点小优化和判断处理。
     58
    5659= 2012-02-27 1.0.0 =
    5760完成Qaptcha的插件改造和模板测试,实现滑动解锁功能
Note: See TracChangeset for help on using the changeset viewer.