Skip to content
Snippets Groups Projects

fix: phpunit test

Merged Marcin Kolanko requested to merge bugfix/wordpress-review into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -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');
}
}
Loading