Plugin Directory

Changeset 2893445


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

1.0.8

Location:
svg-captcha/trunk
Files:
3 edited

Legend:

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

    r2877676 r2893445  
    1919     */
    2020    public function __construct() {
     21       
    2122        add_action( 'save_post', array( $this, 'save_meta_boxes' ), 10, 1 );
    2223    }
     
    346347    public function save_meta_boxes( $post_id = 0 ) {
    347348
    348         if ( ! $post_id ) {
     349        if ( !$post_id ){
     350           
    349351            return;
    350352        }
     
    353355
    354356        $fields = apply_filters( $post_type . '_custom_fields', array(), $post_type );
    355 
    356         if ( ! is_array( $fields ) || 0 === count( $fields ) ) {
     357       
     358        if ( !is_array( $fields ) || 0 === count( $fields ) ) {
    357359           
    358360            return;
     
    363365            if ( isset( $_REQUEST[ $field['id'] ] ) ) { //phpcs:ignore
    364366               
    365                 update_post_meta( $post_id, $field['id'], $this->validate_input( sanitize_text_field($_REQUEST[$field['id']]), $field['type'] ) ); //phpcs:ignore
     367                update_post_meta( $post_id, $field['id'], $this->validate_input( $_REQUEST[$field['id']], $field['type'] ) ); //phpcs:ignore
    366368            }
    367369            else {
  • svg-captcha/trunk/readme.txt

    r2877676 r2893445  
    88Requires WP: 6.1.1
    99Requires PHP: 6.0
    10 Stable Tag: 1.0.7
    11 Tested up to: 6.1.1
     10Stable Tag: 1.0.8
     11Tested up to: 6.2
    1212
    1313Validate your forms with a self hosted SVG Captcha.
  • svg-captcha/trunk/svg-captcha.php

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