<!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>[55079] trunk: Editor: Update packages to unblock lazy-loading issues.</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/55079">55079</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/55079","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>flixos90</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2023-01-16 19:57:29 +0000 (Mon, 16 Jan 2023)</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'>Editor: Update packages to unblock lazy-loading issues.

Fixing the issue that featured images are always lazy-loaded in block themes required an upstream Gutenberg change https://github.com/WordPress/gutenberg/pull/45534. This changeset updates packages in order to unblock the remainder of the fix in `trunk`.

Props mamaduka.
See <a href="https://core.trac.wordpress.org/ticket/56930">#56930</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkpackagelockjson">trunk/package-lock.json</a></li>
<li><a href="#trunkpackagejson">trunk/package.json</a></li>
<li><a href="#trunksrcwpincludesblockspostfeaturedimagephp">trunk/src/wp-includes/blocks/post-featured-image.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkpackagelockjson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/package-lock.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/package-lock.json   2023-01-16 16:24:45 UTC (rev 55078)
+++ trunk/package-lock.json     2023-01-16 19:57:29 UTC (rev 55079)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4021,9 +4021,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": "3.15.11",
-                       "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.15.11.tgz",
-                       "integrity": "sha512-KiQrYfxkiLrrQJgRaw1C32a9vXbNEZorEd0KuEVRZs4LYtNOKj/Je1low4Tvj77lh870Q38SiOCMWgtqtRtRJA==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "3.15.12",
+                       "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.15.12.tgz",
+                       "integrity": "sha512-pcrjkDFRehae4Q9ZwYa7dXHwSaGgJl5iDHDavNIEdNeH3xFZi3KzWvumwSWtUWqM19W8EiekTR0T2qQytnKKvw==",
</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.17.1",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4034,7 +4034,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^5.15.2",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/core-data": "^5.0.4",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/data": "^7.1.3",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/edit-post": "^6.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/edit-post": "^6.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/editor": "^12.16.10",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/element": "^4.15.1",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/hooks": "^3.17.1",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4095,9 +4095,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": "7.14.11",
-                       "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-7.14.11.tgz",
-                       "integrity": "sha512-BiLDYp1snS+FCzNWJJEjMxNjKlhLTRQgKzNUwiK/UIQr/5Drif6GNPsNOiFs3ha5kKZli7l4CyFHiZE99PNiJA==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "7.14.12",
+                       "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-7.14.12.tgz",
+                       "integrity": "sha512-iw3ndfgsbMTf7RMhXumH3Fsj40va73u/EdiE9E9I+EXO72YU/deEMt0BImkfZrnp4AF21ji4zFItLUBt+b/GMQ==",
</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.17.1",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4300,13 +4300,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": "3.14.11",
-                       "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-3.14.11.tgz",
-                       "integrity": "sha512-aJ/++NFDjirmTF0zAbOzfKSeX+6sMK0vjv07Pjis4gztRJ4P+lfYaj/aUCjQz/OhJwaw1jyQNx3FxcbS3L/iLg==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "3.14.12",
+                       "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-3.14.12.tgz",
+                       "integrity": "sha512-s5zZzkg5gZnunwS1ZOHXrCnxIUl1CpYdiEX5vVYZT5UpbvLtk5HiOAsoXtAZoIJfIKKPjNPugFTHSi8VL3vWZw==",
</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": "^10.0.10",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^7.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^7.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^11.16.4",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^21.0.7",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^5.15.2",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4451,15 +4451,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": "6.14.11",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-6.14.11.tgz",
-                       "integrity": "sha512-ZqNPUlCRBRd4rUYExTVDmaIX/J0yAwaZybtcfSWPacrNnq40xrv16wrLFNZAFn5oCTrKAkuTWWjsjuQhEbw8yg==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "6.14.12",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-6.14.12.tgz",
+                       "integrity": "sha512-8m2TTf0nJTodmhX9Fv32HtP72r8vqfyoBVYVgfYIpOubquMESZpQnbrwmMksthE9wKrcKm/B3/J3SdxX03Cw6Q==",
</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.17.1",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.14.1",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^10.0.10",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^7.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^7.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^11.16.4",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^21.0.7",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^5.15.2",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4488,15 +4488,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": "4.14.13",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-4.14.13.tgz",
-                       "integrity": "sha512-A5mmwIOSVgiJ1QoCHfnO+ehECoI4gW/g0/GDCpvxbEiHLhexKh3aNDwsy2izO990IoAd1h55hYPYAUBxNX8a+w==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "4.14.14",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-4.14.14.tgz",
+                       "integrity": "sha512-gmkteOtJcxBdC6sAaRUQiJCFaLBKydsagYtSEQQ5EX6BDRnphns8Euurm8/UVqMSZetMFYxwXd1o7PdwIt3WeQ==",
</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.17.1",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/api-fetch": "^6.14.1",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^10.0.10",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^7.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^7.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^11.16.4",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^21.0.7",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^5.15.2",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4529,14 +4529,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": "4.14.11",
-                       "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-4.14.11.tgz",
-                       "integrity": "sha512-5nb583zlv/YZCbIfEkV7gTk+UddZNDGr1C4B/7EWAjNhQAg3/dv3eqD0N/WYTYLxBAUI3O2heO0i85/AiGqUKg==",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 "version": "4.14.12",
+                       "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-4.14.12.tgz",
+                       "integrity": "sha512-a0+2oyG9qgFMk9Omhz7x2A1SKmUg7yanM3MBBljtTfhl5Ipt6uqal/lGiIaiGeAamTKh45g6j7mpGmwx2mTSFQ==",
</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.14.1",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/block-editor": "^10.0.10",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                "@wordpress/block-library": "^7.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         "@wordpress/block-library": "^7.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                                 "@wordpress/blocks": "^11.16.4",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/components": "^21.0.7",
</span><span class="cx" style="display: block; padding: 0 10px">                                "@wordpress/compose": "^5.15.2",
</span></span></pre></div>
<a id="trunkpackagejson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/package.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/package.json        2023-01-16 16:24:45 UTC (rev 55078)
+++ trunk/package.json  2023-01-16 19:57:29 UTC (rev 55079)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -81,15 +81,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/api-fetch": "6.14.1",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/autop": "3.17.1",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/blob": "3.17.1",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/block-directory": "3.15.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/block-directory": "3.15.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/block-editor": "10.0.10",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/block-library": "7.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/block-library": "7.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/block-serialization-default-parser": "4.17.1",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/blocks": "11.16.4",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/components": "21.0.7",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/compose": "5.15.2",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/core-data": "5.0.4",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/customize-widgets": "3.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/customize-widgets": "3.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/data": "7.1.3",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/data-controls": "2.17.3",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/date": "4.17.1",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -96,9 +96,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/deprecated": "3.17.1",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/dom": "3.17.2",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/dom-ready": "3.17.1",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                "@wordpress/edit-post": "6.14.11",
-               "@wordpress/edit-site": "4.14.13",
-               "@wordpress/edit-widgets": "4.14.11",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         "@wordpress/edit-post": "6.14.12",
+               "@wordpress/edit-site": "4.14.14",
+               "@wordpress/edit-widgets": "4.14.12",
</ins><span class="cx" style="display: block; padding: 0 10px">                 "@wordpress/editor": "12.16.10",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/element": "4.15.1",
</span><span class="cx" style="display: block; padding: 0 10px">                "@wordpress/escape-html": "2.17.1",
</span></span></pre></div>
<a id="trunksrcwpincludesblockspostfeaturedimagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/blocks/post-featured-image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/blocks/post-featured-image.php      2023-01-16 16:24:45 UTC (rev 55078)
+++ trunk/src/wp-includes/blocks/post-featured-image.php        2023-01-16 19:57:29 UTC (rev 55079)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +19,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px">        $post_ID = $block->context['postId'];
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        // Check is needed for backward compatibility with third-party plugins
+       // that might rely on the `in_the_loop` check; calling `the_post` sets it to true.
+       if ( ! in_the_loop() && have_posts() ) {
+               the_post();
+       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">         $is_link        = isset( $attributes['isLink'] ) && $attributes['isLink'];
</span><span class="cx" style="display: block; padding: 0 10px">        $size_slug      = isset( $attributes['sizeSlug'] ) ? $attributes['sizeSlug'] : 'post-thumbnail';
</span><span class="cx" style="display: block; padding: 0 10px">        $post_title     = trim( strip_tags( get_the_title( $post_ID ) ) );
</span></span></pre>
</div>
</div>

</body>
</html>