Changeset 3121742
- Timestamp:
- 07/18/2024 10:02:27 PM (21 months ago)
- Location:
- power-captcha-recaptcha/trunk
- Files:
-
- 3 added
- 4 edited
-
inc/admin.php (modified) (1 diff)
-
inc/core.php (modified) (1 diff)
-
languages (added)
-
languages/power-captcha-recaptcha-es_ES.mo (added)
-
languages/power-captcha-recaptcha-es_ES.po (added)
-
power-captcha-recaptcha.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
power-captcha-recaptcha/trunk/inc/admin.php
r3121716 r3121742 374 374 ?> 375 375 <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> 377 377 <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> 379 379 <br> 380 380 <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> 382 382 <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> 384 384 </fieldset> 385 385 </fieldset> -
power-captcha-recaptcha/trunk/inc/core.php
r3031256 r3121742 182 182 */ 183 183 function 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 } 186 add_action( 'init', 'pwrcap_load_language' ); 187 187 188 188 /** -
power-captcha-recaptcha/trunk/power-captcha-recaptcha.php
r3121716 r3121742 3 3 * Plugin Name: Power Captcha reCAPTCHA 4 4 * Plugin URI: https://wordpress.org/plugins/power-captcha-recaptcha/ 5 * Version: 1.0. 35 * Version: 1.0.4 6 6 * Description: Google reCAPTCHA integration for WordPress and WooCommerce. 7 7 * Author: Denis Alemán … … 17 17 * 18 18 * @package PowerCaptchaReCaptcha 19 * @version 1.0. 319 * @version 1.0.4 20 20 * @author Denis Alemán 21 21 * @copyright 2023-2024 Denis Alemán … … 27 27 } 28 28 29 define( 'PWRCAP_VERSION', '1.0. 3' );29 define( 'PWRCAP_VERSION', '1.0.4' ); 30 30 define( 'PWRCAP_BASENAME', plugin_basename( __FILE__ ) ); 31 31 define( 'PWRCAP_PLUGIN_FILE', __FILE__ ); -
power-captcha-recaptcha/trunk/readme.txt
r3121716 r3121742 5 5 Requires at least: 5.0 6 6 Tested up to: 6.6 7 Stable tag: 1.0. 37 Stable tag: 1.0.4 8 8 Requires PHP: 5.5 9 9 License: GPLv3 … … 82 82 * Tested up to 6.6 83 83 * Typo fixed. 84 85 = 1.0.4 (2024-07-18) = 86 * Spanish support added.
Note: See TracChangeset
for help on using the changeset viewer.