Plugin Directory

Changeset 2893492


Ignore:
Timestamp:
04/04/2023 10:50:50 AM (2 years ago)
Author:
rafasashi
Message:

1.0.9

Location:
svg-captcha/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • svg-captcha/trunk/includes/lib/class-svg-captcha-admin-api.php

    r2893445 r2893492  
    363363        foreach ( $fields as $field ) {
    364364           
    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                }
    372375            }
    373376        }
  • svg-captcha/trunk/readme.txt

    r2893445 r2893492  
    88Requires WP: 6.1.1
    99Requires PHP: 6.0
    10 Stable Tag: 1.0.8
     10Stable Tag: 1.0.9
    1111Tested up to: 6.2
    1212
  • svg-captcha/trunk/svg-captcha.php

    r2893445 r2893492  
    33 * Plugin Name: SVG Captcha
    44 * Plugin URI: https://code.recuweb.com/get/svg-captcha/
    5  * Version: 1.0.8
     5 * Version: 1.0.9
    66 * Description: Validate your forms with a self hosted SVG Captcha.
    77 * Author: rafasashi
Note: See TracChangeset for help on using the changeset viewer.