<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[58475] branches/6.4: Grouped Backports to the 6.4 branch.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/58475">58475</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/58475","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>audrasjb</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-06-24 15:08:05 +0000 (Mon, 24 Jun 2024)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Grouped Backports to the 6.4 branch.

- Editor: Fix Path Traversal issue on Windows in Template-Part Block.
- Editor: Sanitize Template Part HTML tag on save.
- HTML API: Run URL attributes through `esc_url()`.

Merges <a href="https://core.trac.wordpress.org/changeset/58470">[58470]</a>, <a href="https://core.trac.wordpress.org/changeset/58471">[58471]</a>, <a href="https://core.trac.wordpress.org/changeset/58472">[58472]</a> and <a href="https://core.trac.wordpress.org/changeset/58473">[58473]</a> to the 6.4 branch.
Props xknown, peterwilsoncc, jorbin, bernhard-reiter, azaozz, dmsnell, gziolo.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches64packagelockjson">branches/6.4/package-lock.json</a></li>
<li><a href="#branches64packagejson">branches/6.4/package.json</a></li>
<li><a href="#branches64srcwpincludesblocksphp">branches/6.4/src/wp-includes/blocks.php</a></li>
<li><a href="#branches64srcwpincludesformattingphp">branches/6.4/src/wp-includes/formatting.php</a></li>
<li><a href="#branches64srcwpincludesfunctionsphp">branches/6.4/src/wp-includes/functions.php</a></li>
<li><a href="#branches64srcwpincludeshtmlapiclasswphtmltagprocessorphp">branches/6.4/src/wp-includes/html-api/class-wp-html-tag-processor.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches64packagelockjson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/6.4/package-lock.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/6.4/package-lock.json    2024-06-24 15:02:41 UTC (rev 58474)
+++ branches/6.4/package-lock.json      2024-06-24 15:08:05 UTC (rev 58475)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,9 +16,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/autop": "3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/blob": "3.42.13",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-directory": "4.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-directory": "4.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/block-editor": "12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/block-serialization-default-parser": "4.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/blocks": "12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/commands": "0.13.14",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "6.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/core-commands": "0.11.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/core-data": "6.19.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/customize-widgets": "4.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/customize-widgets": "4.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/data": "9.12.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/data-controls": "3.11.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/date": "4.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,9 +33,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/deprecated": "3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/dom": "3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/dom-ready": "3.42.13",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/edit-post": "7.19.17",
-                               "@wordpress/edit-site": "5.19.17",
-                               "@wordpress/edit-widgets": "5.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/edit-post": "7.19.18",
+                               "@wordpress/edit-site": "5.19.18",
+                               "@wordpress/edit-widgets": "5.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/editor": "13.19.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/element": "5.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/escape-html": "2.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6461,9 +6461,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "node_modules/@wordpress/block-directory": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "4.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.17.tgz",
-                       "integrity": "sha512-Lk+/UaDbPmXuVcXUuQiN9laH0KT0Kd0FvtH46uds2gPHvS6eJu15gd+bP7+FDTeG+XFlhz9BstDigG01ul85mA==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "4.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.18.tgz",
+                       "integrity": "sha512-9816SDgSt9ZKeHwxFopiB+bOuC9XDFlOAjv+37GS+Eixa2aFR6XHRs7Mei0L8UbRCfI5kjFzTZq09nuhiqVnUQ==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "dependencies": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6474,7 +6474,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^6.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/core-data": "^6.19.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/data": "^9.12.13",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/edit-post": "^7.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/edit-post": "^7.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/editor": "^13.19.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/element": "^5.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/hooks": "^3.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6556,9 +6556,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "node_modules/@wordpress/block-library": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "8.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.17.tgz",
-                       "integrity": "sha512-K+Tnvo1kQf5pf2BbnCwlWzmLhLJbQb8aQ9WrkIXZePutvAiIYH0BcB82WaZZqcRN4nYppM64yjcNz666/y0T/w==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "8.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.18.tgz",
+                       "integrity": "sha512-pjopRDP1yeVVjCVJvA9CaeTQEtZx7QDf2AjkX8InrLpCPUCyrknrYFu+C3WR+H/h28Il2aUHo8S8UZ6LDhbV4A==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "dependencies": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6844,13 +6844,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "node_modules/@wordpress/customize-widgets": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "4.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.17.tgz",
-                       "integrity": "sha512-hKJ6aCk7euwJjagOq+6F/fqfMiVPEGcUsSG2ib9vGNjnno1gp0xIbQl8gmqBYUjgGdGTpdKi7xQEm4hnAQpX2A==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "4.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.18.tgz",
+                       "integrity": "sha512-nJzr8mZ1RrNpQKPZZLGfh/evbNtDGiCktc3Ktm3skDM4rnCuiXIgLqtDdxuj7DEkMzHktVAQ701C4lQ9ax60Cw==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "dependencies": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^6.19.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7149,15 +7149,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "node_modules/@wordpress/edit-post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "7.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.17.tgz",
-                       "integrity": "sha512-K0y2oHTh7mrGVQTQVVu2avnrLMho+V4/7QJ+BNvUxdaTzzmnPPf2p20xn8EessuaYhC5X/GI3MTWUK663pNJig==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "7.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.18.tgz",
+                       "integrity": "sha512-G1W3KN/jDKNnUz8+ynLIeE3eaPUXRFAQnP+JCcOJSZ7EIWJtip4D7UYDLDv8f99P3ylxEzWnsG48k0+m3pbj5w==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "dependencies": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/commands": "^0.13.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7197,15 +7197,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "node_modules/@wordpress/edit-site": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "5.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.17.tgz",
-                       "integrity": "sha512-aA7inRMTwVn3/rac7NNw6xn4Ravezw5aNgDK8RCY09h3kr9/wXwzCOo18TAAoA7JTrWj5SlfLgiWBx5C1u9wJg==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "5.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.18.tgz",
+                       "integrity": "sha512-6A0Bc/dWgQtHyhy57XfCILO0S6zcugFAOlLEceH5GEZd2eTdQDMc3J6GnMNTDAnpQhjxbKijhKd4/jauBABLSQ==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "dependencies": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/commands": "^0.13.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7261,14 +7261,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "node_modules/@wordpress/edit-widgets": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "5.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.17.tgz",
-                       "integrity": "sha512-MJDDGUC1KE4wVEq+t3utoDnpIpR44XXjEpVbB9A5cmjYuE88SxVmpkveLheRa4/qEnwbvMuH7cySj6I5GThB2g==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "5.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.18.tgz",
+                       "integrity": "sha512-yISvwGSpkdMIjDKukQQKmmCz9v/M35eIDNIFxo/V+Z9PHf/86mPP2t+iG+ARvfnGVQGJXBQt1yR16P6NM2yLvQ==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "dependencies": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^6.19.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38802,9 +38802,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/block-directory": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "4.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.17.tgz",
-                       "integrity": "sha512-Lk+/UaDbPmXuVcXUuQiN9laH0KT0Kd0FvtH46uds2gPHvS6eJu15gd+bP7+FDTeG+XFlhz9BstDigG01ul85mA==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "4.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.19.18.tgz",
+                       "integrity": "sha512-9816SDgSt9ZKeHwxFopiB+bOuC9XDFlOAjv+37GS+Eixa2aFR6XHRs7Mei0L8UbRCfI5kjFzTZq09nuhiqVnUQ==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "requires": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38815,7 +38815,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^6.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/core-data": "^6.19.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/data": "^9.12.13",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/edit-post": "^7.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/edit-post": "^7.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/editor": "^13.19.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/element": "^5.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/hooks": "^3.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38883,9 +38883,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/block-library": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "8.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.17.tgz",
-                       "integrity": "sha512-K+Tnvo1kQf5pf2BbnCwlWzmLhLJbQb8aQ9WrkIXZePutvAiIYH0BcB82WaZZqcRN4nYppM64yjcNz666/y0T/w==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "8.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.19.18.tgz",
+                       "integrity": "sha512-pjopRDP1yeVVjCVJvA9CaeTQEtZx7QDf2AjkX8InrLpCPUCyrknrYFu+C3WR+H/h28Il2aUHo8S8UZ6LDhbV4A==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "requires": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39118,13 +39118,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/customize-widgets": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "4.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.17.tgz",
-                       "integrity": "sha512-hKJ6aCk7euwJjagOq+6F/fqfMiVPEGcUsSG2ib9vGNjnno1gp0xIbQl8gmqBYUjgGdGTpdKi7xQEm4hnAQpX2A==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "4.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.19.18.tgz",
+                       "integrity": "sha512-nJzr8mZ1RrNpQKPZZLGfh/evbNtDGiCktc3Ktm3skDM4rnCuiXIgLqtDdxuj7DEkMzHktVAQ701C4lQ9ax60Cw==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "requires": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^6.19.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39347,15 +39347,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/edit-post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "7.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.17.tgz",
-                       "integrity": "sha512-K0y2oHTh7mrGVQTQVVu2avnrLMho+V4/7QJ+BNvUxdaTzzmnPPf2p20xn8EessuaYhC5X/GI3MTWUK663pNJig==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "7.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.19.18.tgz",
+                       "integrity": "sha512-G1W3KN/jDKNnUz8+ynLIeE3eaPUXRFAQnP+JCcOJSZ7EIWJtip4D7UYDLDv8f99P3ylxEzWnsG48k0+m3pbj5w==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "requires": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/commands": "^0.13.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39388,15 +39388,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/edit-site": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "5.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.17.tgz",
-                       "integrity": "sha512-aA7inRMTwVn3/rac7NNw6xn4Ravezw5aNgDK8RCY09h3kr9/wXwzCOo18TAAoA7JTrWj5SlfLgiWBx5C1u9wJg==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "5.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.19.18.tgz",
+                       "integrity": "sha512-6A0Bc/dWgQtHyhy57XfCILO0S6zcugFAOlLEceH5GEZd2eTdQDMc3J6GnMNTDAnpQhjxbKijhKd4/jauBABLSQ==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "requires": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/a11y": "^3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/commands": "^0.13.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39445,14 +39445,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/edit-widgets": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        "version": "5.19.17",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.17.tgz",
-                       "integrity": "sha512-MJDDGUC1KE4wVEq+t3utoDnpIpR44XXjEpVbB9A5cmjYuE88SxVmpkveLheRa4/qEnwbvMuH7cySj6I5GThB2g==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "5.19.18",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.19.18.tgz",
+                       "integrity": "sha512-yISvwGSpkdMIjDKukQQKmmCz9v/M35eIDNIFxo/V+Z9PHf/86mPP2t+iG+ARvfnGVQGJXBQt1yR16P6NM2yLvQ==",
</ins><span class="cx" style="display: block; padding: 0 10px">                         "requires": {
</span><span class="cx" style="display: block; padding: 0 10px">                                "@babel/runtime": "^7.16.0",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^25.8.14",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^6.19.13",
</span></span></pre></div>
<a id="branches64packagejson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/6.4/package.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/6.4/package.json 2024-06-24 15:02:41 UTC (rev 58474)
+++ branches/6.4/package.json   2024-06-24 15:08:05 UTC (rev 58475)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -85,9 +85,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/api-fetch": "6.39.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/autop": "3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/blob": "3.42.13",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/block-directory": "4.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/block-directory": "4.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/block-editor": "12.10.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/block-library": "8.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/block-library": "8.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/block-serialization-default-parser": "4.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/blocks": "12.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/commands": "0.13.14",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -95,7 +95,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/compose": "6.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/core-commands": "0.11.14",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/core-data": "6.19.14",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/customize-widgets": "4.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/customize-widgets": "4.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/data": "9.12.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/data-controls": "3.11.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/date": "4.42.13",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -102,9 +102,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/deprecated": "3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/dom": "3.42.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/dom-ready": "3.42.13",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/edit-post": "7.19.17",
-               "@wordpress/edit-site": "5.19.17",
-               "@wordpress/edit-widgets": "5.19.17",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/edit-post": "7.19.18",
+               "@wordpress/edit-site": "5.19.18",
+               "@wordpress/edit-widgets": "5.19.18",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/editor": "13.19.14",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/element": "5.19.13",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/escape-html": "2.42.13",
</span></span></pre></div>
<a id="branches64srcwpincludesblocksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/6.4/src/wp-includes/blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/6.4/src/wp-includes/blocks.php   2024-06-24 15:02:41 UTC (rev 58474)
+++ branches/6.4/src/wp-includes/blocks.php     2024-06-24 15:08:05 UTC (rev 58475)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1226,7 +1226,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @return array The filtered and sanitized block object result.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function filter_block_kses( $block, $allowed_html, $allowed_protocols = array() ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $block['attrs'] = filter_block_kses_value( $block['attrs'], $allowed_html, $allowed_protocols );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $block['attrs'] = filter_block_kses_value( $block['attrs'], $allowed_html, $allowed_protocols, $block );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( is_array( $block['innerBlocks'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                foreach ( $block['innerBlocks'] as $i => $inner_block ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1242,6 +1242,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * non-allowable HTML.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 5.3.1
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @since 6.5.5 Added the `$block_context` parameter.
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param string[]|string $value             The attribute value to filter.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param array[]|string  $allowed_html      An array of allowed HTML elements and attributes,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1249,14 +1250,19 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *                                           for the list of accepted context names.
</span><span class="cx" style="display: block; padding: 0 10px">  * @param string[]        $allowed_protocols Optional. Array of allowed URL protocols.
</span><span class="cx" style="display: block; padding: 0 10px">  *                                           Defaults to the result of wp_allowed_protocols().
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param array           $block_context     Optional. The block the attribute belongs to, in parsed block array format.
</ins><span class="cx" style="display: block; padding: 0 10px">  * @return string[]|string The filtered and sanitized result.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-function filter_block_kses_value( $value, $allowed_html, $allowed_protocols = array() ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function filter_block_kses_value( $value, $allowed_html, $allowed_protocols = array(), $block_context = null ) {
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( is_array( $value ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                foreach ( $value as $key => $inner_value ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $filtered_key   = filter_block_kses_value( $key, $allowed_html, $allowed_protocols );
-                       $filtered_value = filter_block_kses_value( $inner_value, $allowed_html, $allowed_protocols );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $filtered_key   = filter_block_kses_value( $key, $allowed_html, $allowed_protocols, $block_context );
+                       $filtered_value = filter_block_kses_value( $inner_value, $allowed_html, $allowed_protocols, $block_context );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        if ( isset( $block_context['blockName'] ) && 'core/template-part' === $block_context['blockName'] ) {
+                               $filtered_value = filter_block_core_template_part_attributes( $filtered_value, $filtered_key, $allowed_html );
+                       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">                         if ( $filtered_key !== $key ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                unset( $value[ $key ] );
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1271,6 +1277,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Sanitizes the value of the Template Part block's `tagName` attribute.
+ *
+ * @since 6.5.5
+ *
+ * @param string          $attribute_value   The attribute value to filter.
+ * @param string          $attribute_name    The attribute name.
+ * @param array[]|string  $allowed_html      An array of allowed HTML elements and attributes,
+ *                                           or a context name such as 'post'. See wp_kses_allowed_html()
+ *                                           for the list of accepted context names.
+ * @return string The sanitized attribute value.
+ */
+function filter_block_core_template_part_attributes( $attribute_value, $attribute_name, $allowed_html ) {
+       if ( empty( $attribute_value ) || 'tagName' !== $attribute_name ) {
+               return $attribute_value;
+       }
+       if ( ! is_array( $allowed_html ) ) {
+               $allowed_html = wp_kses_allowed_html( $allowed_html );
+       }
+       return isset( $allowed_html[ $attribute_value ] ) ? $attribute_value : '';
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px">  * Parses blocks out of a content string, and renders those appropriate for the excerpt.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * As the excerpt should be a small string of text relevant to the full post content,
</span></span></pre></div>
<a id="branches64srcwpincludesformattingphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/6.4/src/wp-includes/formatting.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/6.4/src/wp-includes/formatting.php       2024-06-24 15:02:41 UTC (rev 58474)
+++ branches/6.4/src/wp-includes/formatting.php 2024-06-24 15:08:05 UTC (rev 58475)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4802,12 +4802,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Escapes an HTML tag name.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @since 2.5.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @since 6.5.5 Allow hyphens in tag names (i.e. custom elements).
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param string $tag_name
</span><span class="cx" style="display: block; padding: 0 10px">  * @return string
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function tag_escape( $tag_name ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $safe_tag = strtolower( preg_replace( '/[^a-zA-Z0-9_:]/', '', $tag_name ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $safe_tag = strtolower( preg_replace( '/[^a-zA-Z0-9-_:]/', '', $tag_name ) );
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Filters a string cleaned and escaped for output as an HTML tag.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span></span></pre></div>
<a id="branches64srcwpincludesfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/6.4/src/wp-includes/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/6.4/src/wp-includes/functions.php        2024-06-24 15:02:41 UTC (rev 58474)
+++ branches/6.4/src/wp-includes/functions.php  2024-06-24 15:08:05 UTC (rev 58475)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6145,6 +6145,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                return 0;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        // Normalize path for Windows servers
+       $file = wp_normalize_path( $file );
+
</ins><span class="cx" style="display: block; padding: 0 10px">         // `../` on its own is not allowed:
</span><span class="cx" style="display: block; padding: 0 10px">        if ( '../' === $file ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return 1;
</span></span></pre></div>
<a id="branches64srcwpincludeshtmlapiclasswphtmltagprocessorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/6.4/src/wp-includes/html-api/class-wp-html-tag-processor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/6.4/src/wp-includes/html-api/class-wp-html-tag-processor.php     2024-06-24 15:02:41 UTC (rev 58474)
+++ branches/6.4/src/wp-includes/html-api/class-wp-html-tag-processor.php       2024-06-24 15:08:05 UTC (rev 58475)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2071,7 +2071,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                if ( true === $value ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        $updated_attribute = $name;
</span><span class="cx" style="display: block; padding: 0 10px">                } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $escaped_new_value = esc_attr( $value );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $comparable_name = strtolower( $name );
+
+                       /*
+                        * Escape URL attributes.
+                        *
+                        * @see https://html.spec.whatwg.org/#attributes-3
+                        */
+                       $escaped_new_value = in_array( $comparable_name, wp_kses_uri_attributes() ) ? esc_url( $value ) : esc_attr( $value );
</ins><span class="cx" style="display: block; padding: 0 10px">                         $updated_attribute = "{$name}=\"{$escaped_new_value}\"";
</span><span class="cx" style="display: block; padding: 0 10px">                }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre>
</div>
</div>

</body>
</html>