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

Merge branch 'bugfix/wordpress-review' into 'master'

fix: phpunit test

See merge request !47
parents 6e793fc0 168bf915
Branches master
Tags 3.7.1
1 merge request!47fix: phpunit test
Pipeline #516881 passed with stages
in 21 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