Changeset 2893445
- Timestamp:
- 04/04/2023 10:02:28 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
r2877676 r2893445 19 19 */ 20 20 public function __construct() { 21 21 22 add_action( 'save_post', array( $this, 'save_meta_boxes' ), 10, 1 ); 22 23 } … … 346 347 public function save_meta_boxes( $post_id = 0 ) { 347 348 348 if ( ! $post_id ) { 349 if ( !$post_id ){ 350 349 351 return; 350 352 } … … 353 355 354 356 $fields = apply_filters( $post_type . '_custom_fields', array(), $post_type ); 355 356 if ( ! 357 358 if ( !is_array( $fields ) || 0 === count( $fields ) ) { 357 359 358 360 return; … … 363 365 if ( isset( $_REQUEST[ $field['id'] ] ) ) { //phpcs:ignore 364 366 365 update_post_meta( $post_id, $field['id'], $this->validate_input( sanitize_text_field($_REQUEST[$field['id']]), $field['type'] ) ); //phpcs:ignore367 update_post_meta( $post_id, $field['id'], $this->validate_input( $_REQUEST[$field['id']], $field['type'] ) ); //phpcs:ignore 366 368 } 367 369 else { -
svg-captcha/trunk/readme.txt
r2877676 r2893445 8 8 Requires WP: 6.1.1 9 9 Requires PHP: 6.0 10 Stable Tag: 1.0. 711 Tested up to: 6. 1.110 Stable Tag: 1.0.8 11 Tested up to: 6.2 12 12 13 13 Validate your forms with a self hosted SVG Captcha. -
svg-captcha/trunk/svg-captcha.php
r2877676 r2893445 3 3 * Plugin Name: SVG Captcha 4 4 * Plugin URI: https://code.recuweb.com/get/svg-captcha/ 5 * Version: 1.0. 75 * Version: 1.0.8 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.