HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: /var/www/ecom/wp-content/plugins/wordfence/lib/wfRESTAPI.php
<?php
if (defined('ABSPATH')) {
class wfWP_REST_Users_Controller extends WP_REST_Users_Controller
{
	public static function wfGetURLBase() {
		$controller = new wfWP_REST_Users_Controller();
		return rtrim($controller->namespace . '/' . $controller->rest_base, '/');
	}
	
	public function _wfGetURLBase() {
		return rtrim($this->namespace, '/' . $this->rest_base, '/');
	}
}
}