-
-
+
+
diff --git a/test/helpers/wordpress.php b/test/helpers/wordpress.php
index 47ee9487..87b99c7a 100644
--- a/test/helpers/wordpress.php
+++ b/test/helpers/wordpress.php
@@ -102,7 +102,6 @@ public function __construct($vfs)
$this->addMethod('wp_json_encode');
$this->addMethod('wp_send_json_error');
$this->addMethod('get_temp_dir');
- $this->addMethod('esc_attr');
$this->defaults();
$this->create_filesystem();
}
@@ -501,16 +500,6 @@ public function wp_json_encode($data, $options = 0, $depth = 512)
{
return json_encode($data, $options, $depth);
}
-
- /**
- * Mocked function for https://developer.wordpress.org/reference/functions/esc_attr/
- *
- * @return string
- */
- public function esc_attr($text)
- {
- return $text;
- }
}
class WP_HTTP_Proxy