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
This commit is contained in:
Sergey Biryukov 2022-01-25 11:14:15 +00:00
parent 14e529a1e3
commit f745cc551b

View File

@ -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.