HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/odv/wp-content/plugins/wordfence-page/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, '/');
	}
}
}