Changeset 62002 for branches/5.1/src/wp-includes/kses.php
- Timestamp:
- 03/13/2026 12:37:55 PM (5 months ago)
- Location:
- branches/5.1
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/kses.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
- Property svn:mergeinfo changed
/trunk merged: 61879-61884,61886-61887,61890,61913
- Property svn:mergeinfo changed
-
branches/5.1/src/wp-includes/kses.php
r46907 r62002 1728 1728 $string = str_replace( '&', '&', $string ); 1729 1729 1730 // Change back the allowed entities in our entity whitelist1731 1730 $string = preg_replace_callback( '/&([A-Za-z]{2,8}[0-9]{0,2});/', 'wp_kses_named_entities', $string ); 1732 $string = preg_replace_callback( '/&#(0* [0-9]{1,7});/', 'wp_kses_normalize_entities2', $string );1733 $string = preg_replace_callback( '/&#[Xx](0* [0-9A-Fa-f]{1,6});/', 'wp_kses_normalize_entities3', $string );1731 $string = preg_replace_callback( '/&#(0*+[1-9][0-9]{0,6});/', 'wp_kses_normalize_entities2', $string ); 1732 $string = preg_replace_callback( '/&#[Xx](0*+[1-9A-Fa-f][0-9A-Fa-f]{0,5});/', 'wp_kses_normalize_entities3', $string ); 1734 1733 1735 1734 return $string;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)