Plugin Directory

Changeset 3121742


Ignore:
Timestamp:
07/18/2024 10:02:27 PM (21 months ago)
Author:
denisaleman
Message:

v1.0.4

Location:
power-captcha-recaptcha/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • power-captcha-recaptcha/trunk/inc/admin.php

    r3121716 r3121742  
    374374    ?>
    375375    <fieldset>
    376         <label><input class="captcha-type-radio" type="radio" name="pwrcap_general_options[captcha_type]" value="v3" <?php checked( 'v3', $captcha_type ); ?> /><?php esc_html_e( 'Score based (v3)', 'power-captcha-recaptcha' ); ?> <p class="description">Verify requests with a score</p></label>
     376        <label><input class="captcha-type-radio" type="radio" name="pwrcap_general_options[captcha_type]" value="v3" <?php checked( 'v3', $captcha_type ); ?> /><?php esc_html_e( 'Score based (v3)', 'power-captcha-recaptcha' ); ?> <p class="description"><?php _e( 'Verify requests with a score', 'power-captcha-recaptcha' ); ?></p></label>
    377377        <br>
    378         <label><input class="captcha-type-radio" type="radio" name="pwrcap_general_options[captcha_type]" value="v2" <?php checked( 'v2', $captcha_type ); ?> /><?php esc_html_e( 'Challenge (v2)', 'power-captcha-recaptcha' ); ?> <p class="description">Verify requests with a challenge</p></label>
     378        <label><input class="captcha-type-radio" type="radio" name="pwrcap_general_options[captcha_type]" value="v2" <?php checked( 'v2', $captcha_type ); ?> /><?php esc_html_e( 'Challenge (v2)', 'power-captcha-recaptcha' ); ?> <p class="description"><?php _e( 'Verify requests with a challenge', 'power-captcha-recaptcha' ); ?></p></label>
    379379        <br>
    380380        <fieldset id="fieldset-captcha-v2-type" class="pwrcap-fieldset pwrcap-fieldset--sub" <?php echo ! $captcha_v2_checked ? 'style="display:none;"' : ''; ?>>
    381             <label><input class="captcha-v2-type-radio" type="radio" name="pwrcap_general_options[captcha_v2_type]" value="v2cbx" <?php checked( 'v2cbx', $captcha_v2_type ); ?> /><?php esc_html_e( '"I\'m not a robot" Checkbox', 'power-captcha-recaptcha' ); ?></label>
     381            <label><input class="captcha-v2-type-radio" type="radio" name="pwrcap_general_options[captcha_v2_type]" value="v2cbx" <?php checked( 'v2cbx', $captcha_v2_type ); ?> /><?php esc_html_e( '"I\'m not a robot" Checkbox', 'power-captcha-recaptcha' ); ?> <p class="description"><?php _e( 'Validate requests with the "I\'m not a robot" checkbox', 'power-captcha-recaptcha' ); ?></p> </label>
    382382            <br>
    383             <label><input class="captcha-v2-type-radio" type="radio" name="pwrcap_general_options[captcha_v2_type]" value="v2inv" <?php checked( 'v2inv', $captcha_v2_type ); ?> /><?php esc_html_e( 'Invisible reCAPTCHA badge', 'power-captcha-recaptcha' ); ?></label>
     383            <label><input class="captcha-v2-type-radio" type="radio" name="pwrcap_general_options[captcha_v2_type]" value="v2inv" <?php checked( 'v2inv', $captcha_v2_type ); ?> /><?php esc_html_e( 'Invisible reCAPTCHA badge', 'power-captcha-recaptcha' ); ?> <p class="description"><?php _e( 'Validate requests in the background', 'power-captcha-recaptcha' ); ?></p> </label>
    384384        </fieldset>
    385385    </fieldset>
  • power-captcha-recaptcha/trunk/inc/core.php

    r3031256 r3121742  
    182182 */
    183183function pwrcap_load_language() {
    184     load_plugin_textdomain( 'power-captcha-recaptcha', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    185 }
    186 add_action( 'plugins_loaded', 'pwrcap_load_language' );
     184    load_plugin_textdomain( 'power-captcha-recaptcha', false, dirname( plugin_basename( PWRCAP_PLUGIN_FILE ) ) . '/languages' );
     185}
     186add_action( 'init', 'pwrcap_load_language' );
    187187
    188188/**
  • power-captcha-recaptcha/trunk/power-captcha-recaptcha.php

    r3121716 r3121742  
    33 * Plugin Name:       Power Captcha reCAPTCHA
    44 * Plugin URI:        https://wordpress.org/plugins/power-captcha-recaptcha/
    5  * Version:           1.0.3
     5 * Version:           1.0.4
    66 * Description:       Google reCAPTCHA integration for WordPress and WooCommerce.
    77 * Author:            Denis Alemán
     
    1717 *
    1818 * @package   PowerCaptchaReCaptcha
    19  * @version   1.0.3
     19 * @version   1.0.4
    2020 * @author    Denis Alemán
    2121 * @copyright 2023-2024 Denis Alemán
     
    2727}
    2828
    29 define( 'PWRCAP_VERSION', '1.0.3' );
     29define( 'PWRCAP_VERSION', '1.0.4' );
    3030define( 'PWRCAP_BASENAME', plugin_basename( __FILE__ ) );
    3131define( 'PWRCAP_PLUGIN_FILE', __FILE__ );
  • power-captcha-recaptcha/trunk/readme.txt

    r3121716 r3121742  
    55Requires at least: 5.0
    66Tested up to: 6.6
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88Requires PHP: 5.5
    99License: GPLv3
     
    8282* Tested up to 6.6
    8383* Typo fixed.
     84
     85= 1.0.4 (2024-07-18) =
     86* Spanish support added.
Note: See TracChangeset for help on using the changeset viewer.