Skip to content
Snippets Groups Projects
Commit 168bf915 authored by Marcin Kolanko's avatar Marcin Kolanko
Browse files

fix: phpunit test

parent 28b9ecf7
No related branches found
No related tags found
1 merge request!47fix: phpunit test
Pipeline #516875 passed with stages
in 17 seconds
......@@ -21,3 +21,9 @@ if ( getenv( 'ABSPATH' ) !== false ) {
WP_Mock::setUsePatchwork( true );
WP_Mock::bootstrap();
if (!function_exists('wp_kses_post')) {
function wp_kses_post($data) {
return htmlspecialchars($data, ENT_QUOTES, 'UTF-8');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment