field['msg'] = $this->field['msg'] ?? esc_html__( 'You must provide a numerical value for this option.', 'redux-framework' ); if ( ! is_numeric( $this->value ) ) { $this->value = ( isset( $this->current ) ) ? $this->current : ''; $this->field['current'] = $this->value; $this->error = $this->field; } } } }