[wp-trac] [WordPress Trac] #54899: Docs: replace reference to renamed $allowedxmlnamedentities global variable in wp_kses_xml_named_entities function's docblock

WordPress Trac noreply at wordpress.org
Tue Jan 25 10:51:31 UTC 2022


#54899: Docs: replace reference to renamed $allowedxmlnamedentities global variable
in wp_kses_xml_named_entities function's docblock
--------------------------+-----------------------------
 Reporter:  david.binda   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The r48072 introduced a wrongly named `$allowedxmlnamedentities` global
 variable (
 instead of correct `$allowedxmlentitynames` ), which was later fixed
 r52229, where almost all instances of `$allowedxmlnamedentities` were
 replaced by `$allowedxmlentitynames`, however the old name of the global
 variable is still present in the docblock for the
 `wp_kses_xml_named_entities` function. See
 https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/kses.php?rev=52326#L1928

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54899>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list