HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wordfence/modules/login-security/classes/model/text/html.php
<?php

namespace WordfenceLS\Text;

/**
 * Represents text that is already HTML-safe and should not be encoded again.
 * @package Wordfence2FA\Text
 */
class Model_HTML {
	private $_html;
	
	public static function esc_html($content) {
		if (is_object($content) && ($content instanceof Model_HTML)) {
			return (string) $content;
		}
		return esc_html($content);
	}
	
	public function __construct($html) {
		$this->_html = $html;
	}
	
	public function __toString() {
		return $this->_html;
	}
}