Changeset 61957 for branches/5.3/src/wp-includes/kses.php
- Timestamp:
- 03/12/2026 02:24:56 AM (6 months ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/kses.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
- Property svn:mergeinfo changed
/trunk merged: 61879-61885,61887,61890,61913
- Property svn:mergeinfo changed
-
branches/5.3/src/wp-includes/kses.php
r46899 r61957 1735 1735 $string = str_replace( '&', '&', $string ); 1736 1736 1737 // Change back the allowed entities in our entity whitelist1738 1737 $string = preg_replace_callback( '/&([A-Za-z]{2,8}[0-9]{0,2});/', 'wp_kses_named_entities', $string ); 1739 $string = preg_replace_callback( '/&#(0*[ 0-9]{1,7});/', 'wp_kses_normalize_entities2', $string );1740 $string = preg_replace_callback( '/&#[Xx](0*[ 0-9A-Fa-f]{1,6});/', 'wp_kses_normalize_entities3', $string );1738 $string = preg_replace_callback( '/&#(0*[1-9][0-9]{0,6});/', 'wp_kses_normalize_entities2', $string ); 1739 $string = preg_replace_callback( '/&#[Xx](0*[1-9A-Fa-f][0-9A-Fa-f]{0,5});/', 'wp_kses_normalize_entities3', $string ); 1741 1740 1742 1741 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)