From f745cc551bb0a54d7df72ec97d23e3359c56048d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Jan 2022 11:14:15 +0000 Subject: [PATCH] Docs: Correct `@global` tag in `wp_kses_xml_named_entities()`. This updates the variable name in the DocBlock to the correct one. Follow-up to [48072], [52229]. Props david.binda. Fixes #54899. git-svn-id: https://develop.svn.wordpress.org/trunk@52639 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/kses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 5ad504602b..807eb45e34 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -1925,7 +1925,7 @@ function wp_kses_named_entities( $matches ) { * @since 5.5.0 * * @global array $allowedentitynames - * @global array $allowedxmlnamedentities + * @global array $allowedxmlentitynames * * @param array $matches preg_replace_callback() matches array. * @return string Correctly encoded entity.