: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
$wpAllowedposttags = array_map(function ($value) {
$global_attributes = array(
'aria-describedby' => true,
'aria-labelledby' => true,
return array_merge($value, $global_attributes);
self::$basicTags = array_merge_recursive($_allowedposttags, $wpAllowedposttags, array(
self::$adminTemplateTags = array_merge_recursive(self::$basicTags, array(
self::$adminFormTags = array_merge_recursive(self::$basicTags, array(
'aria-labelledby' => true,
self::$assetTags = array(
self::$videoTags = array(
'webkit-playsinline' => true,
public static function esc_js_filter($safe_text, $text) {
$safe_text = wp_check_invalid_utf8($text);