Plugin Directory

Changeset 2755177


Ignore:
Timestamp:
07/12/2022 04:21:57 PM (4 years ago)
Author:
nocean
Message:

Fixes small bug when enabling in bulk with other plugins.

Location:
contact-form-7-honeypot/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contact-form-7-honeypot/trunk/honeypot.php

    r2525288 r2755177  
    66Author: Nocean
    77Author URI: http://www.nocean.ca
    8 Version: 2.1
     8Version: 2.1.1
    99Text Domain: contact-form-7-honeypot
    1010Domain Path: /languages/
    1111*/
    1212
    13 define( 'HONEYPOT4CF7_VERSION', '2.1' );
     13define( 'HONEYPOT4CF7_VERSION', '2.1.1' );
    1414define( 'HONEYPOT4CF7_PLUGIN', __FILE__ );
    1515define( 'HONEYPOT4CF7_PLUGIN_BASENAME', plugin_basename( HONEYPOT4CF7_PLUGIN ) );
  • contact-form-7-honeypot/trunk/includes/admin.php

    r2595727 r2755177  
    8888*********** */
    8989function honeypot4cf7_on_activation() {
    90     if ( ! current_user_can( 'activate_plugins' ) ) {
    91         return;
    92     }
    93    
    94     $plugin = isset( $_REQUEST['plugin'] ) ? $_REQUEST['plugin'] : '';
    95     check_admin_referer( "activate-plugin_{$plugin}" );
    96 
    9790    // Initialize option values
    9891    return honeypot4cf7_get_config();
  • contact-form-7-honeypot/trunk/readme.txt

    r2685047 r2755177  
    22Tags: honeypot, antispam, anti-spam, captcha, spam, bots, form, forms, contact form 7, contactform7, contact form, cf7
    33Requires at least: 4.8
    4 Tested up to: 5.9
     4Tested up to: 6.0
    55Stable tag: trunk
    66Requires PHP: 5.6
     
    9191
    9292== Changelog ==
     93= 2.1.1 =
     94Fixes small bug when enabling in bulk with other plugins.
     95
    9396= 2.1 =
    9497Added new feature: additional submission time check to improve bot-stopping power! Also, fixed small HTML issue and tidied up shortcode interface.
Note: See TracChangeset for help on using the changeset viewer.