Changeset 2893492
- Timestamp:
- 04/04/2023 10:50:50 AM (2 years ago)
- Location:
- svg-captcha/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
svg-captcha/trunk/includes/lib/class-svg-captcha-admin-api.php
r2893445 r2893492 363 363 foreach ( $fields as $field ) { 364 364 365 if ( isset( $_REQUEST[ $field['id'] ] ) ) { //phpcs:ignore 366 367 update_post_meta( $post_id, $field['id'], $this->validate_input( $_REQUEST[$field['id']], $field['type'] ) ); //phpcs:ignore 368 } 369 else { 370 371 update_post_meta( $post_id, $field['id'], '' ); 365 if( !empty($field['id']) ){ 366 367 if ( isset( $_REQUEST[ $field['id'] ] ) ) { //phpcs:ignore 368 369 update_post_meta( $post_id, $field['id'], $this->validate_input( $_REQUEST[$field['id']], $field['type'] ) ); //phpcs:ignore 370 } 371 else{ 372 373 update_post_meta( $post_id, $field['id'], '' ); 374 } 372 375 } 373 376 } -
svg-captcha/trunk/readme.txt
r2893445 r2893492 8 8 Requires WP: 6.1.1 9 9 Requires PHP: 6.0 10 Stable Tag: 1.0. 810 Stable Tag: 1.0.9 11 11 Tested up to: 6.2 12 12 -
svg-captcha/trunk/svg-captcha.php
r2893445 r2893492 3 3 * Plugin Name: SVG Captcha 4 4 * Plugin URI: https://code.recuweb.com/get/svg-captcha/ 5 * Version: 1.0. 85 * Version: 1.0.9 6 6 * Description: Validate your forms with a self hosted SVG Captcha. 7 7 * Author: rafasashi
Note: See TracChangeset
for help on using the changeset viewer.