HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/vfconf/wp-content/plugins/so-widgets-bundle/base/inc/fields/error.class.php
<?php

/**
 * This class is used when a field class can't be found to display an error message to the user.
 *
 * Class SiteOrigin_Widget_Field_Error
 */
class SiteOrigin_Widget_Field_Error extends SiteOrigin_Widget_Field_Base {
	/**
	 * An error message to display.
	 *
	 * @var string
	 */
	protected $message;

	protected function render_field( $value, $instance ) {
		echo esc_html( $this->message );
	}

	protected function sanitize_field_input( $value, $instance ) {
		return $value;
	}
}