Plugin Directory

Changeset 1281549


Ignore:
Timestamp:
11/07/2015 09:40:20 AM (10 years ago)
Author:
oxynotes
Message:

1.1バージョンアップ

Location:
simple-antispam/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • simple-antispam/trunk/js/bait.js

    r1280765 r1281549  
    1515    setTimeout(function(){
    1616        jQuery('form#commentform').append('<input type="hidden" name="simple_as" id="simple_as" value="bait" />');
     17        //jQuery('form#commentform').append('<input style="display:none" name="simple_as" id="simple_as" value="bait" />'); // ‚Ç‚¿‚炪—Ç‚¢‚©‚ÍŒv‘ª‚µ‚ÄŠm”F‚·‚ׂµ
     18        jQuery('form#commentform').append('<input type="input" style="display:none" name="simple_as2" id="simple_as2" value="" />');
    1719    }, 5000);
    1820});
  • simple-antispam/trunk/readme.txt

    r1280765 r1281549  
    5757== Changelog ==
    5858
     591.1
     60フィルター等、細かな修正。
     61
    59621.0
    6063初めのバージョン。
  • simple-antispam/trunk/simple-anti-spam.php

    r1280765 r1281549  
    175175        wp_enqueue_script( 'serial-js' );
    176176        wp_enqueue_script( 'export-js' );
    177         wp_enqueue_script( 'export-js' );
    178177        wp_enqueue_style( 'export-css' );
    179178    }
     
    248247         * といったbot対策
    249248         */
    250         if ( ! empty( $setting["js_filter"] ) && isset( $_POST['simple_as'] ) && $_POST['simple_as'] != 'bait' ) {
     249        if ( ! empty( $setting["js_filter"] ) &&
     250            isset( $_POST['simple_as'] ) &&
     251            $_POST['simple_as'] != 'bait' ||
     252            $_POST['simple_as2'] != ''
     253        ) {
    251254
    252255            $log = get_option( 'simple_antispam_log' );
Note: See TracChangeset for help on using the changeset viewer.