no wp
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
<?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, '/');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user