<!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>[57569] trunk/src/wp-content/themes/twentytwentytwo/inc: Twenty Twenty-Two: Prefix the `pages` block pattern category name.</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/57569">57569</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/57569","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>SergeyBiryukov</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-02-08 19:30:15 +0000 (Thu, 08 Feb 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'>Twenty Twenty-Two: Prefix the `pages` block pattern category name.

If a plugin also registers the category name `pages` in an `init` hook that runs after the theme's, it can override the label and description unintentionally.

With a prefix, extenders can still override it, but it would be intentional.

Props poena, swissspidy, shailu25.
Fixes <a href="https://core.trac.wordpress.org/ticket/59839">#59839</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincblockpatternsphp">trunk/src/wp-content/themes/twentytwentytwo/inc/block-patterns.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutlargeimageandbuttonsphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-large-image-and-buttons.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutlinksdarkphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links-dark.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutlinksphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutmedialeftphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutmediarightphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutsimpledarkphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-simple-dark.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutsolidcolorphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-solid-color.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagelayoutimageandtextphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-and-text.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagelayoutimagetextandvideophp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-text-and-video.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagelayouttwocolumnsphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-two-columns.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebarblogpostsrightphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts-right.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebarblogpostsphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebargridpostsphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-grid-posts.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebarposterphp">trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-poster.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentytwentytwoincblockpatternsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/block-patterns.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/block-patterns.php        2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/block-patterns.php  2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,11 +14,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function twentytwentytwo_register_block_patterns() {
</span><span class="cx" style="display: block; padding: 0 10px">        $block_pattern_categories = array(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                'featured' => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ),
-               'footer'   => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),
-               'header'   => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),
-               'query'    => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),
-               'pages'    => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         'featured'              => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ),
+               'footer'                => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),
+               'header'                => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),
+               'query'                 => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),
+               'twentytwentytwo_pages' => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),
</ins><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></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutlargeimageandbuttonsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-large-image-and-buttons.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-large-image-and-buttons.php   2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-large-image-and-buttons.php     2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'About page with large image and buttons', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages', 'buttons' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages', 'buttons' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:image {"align":"wide","width":2100,"height":1260,"sizeSlug":"full","linkDestination":"none"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <figure class="wp-block-image alignwide size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-b.jpg" alt="" width="2100" height="1260"/></figure>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutlinksdarkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links-dark.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links-dark.php        2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links-dark.php  2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'About page links (dark)', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages', 'buttons' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages', 'buttons' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":false,"contentSize":"400px"}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:group -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutlinksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links.php     2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links.php       2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'About page links', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages', 'buttons' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages', 'buttons' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"layout":{"inherit":false,"contentSize":"400px"}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:image {"align":"center","width":100,"height":100,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-image is-style-rounded"><figure class="aligncenter size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/icon-bird.jpg" alt="' . esc_attr__( 'Logo featuring a flying bird', 'twentytwentytwo' ) . '" width="100" height="100"/></figure></div>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutmedialeftphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php        2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-left.php  2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'About page with media on the left', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:media-text {"align":"full","mediaType":"image","imageFill":true,"focalPoint":{"x":"0.63","y":"0.16"},"backgroundColor":"foreground","className":"alignfull is-image-fill has-background-color has-text-color has-background has-link-color"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-media-text alignfull is-stacked-on-mobile is-image-fill has-background-color has-text-color has-background has-link-color has-foreground-background-color has-background"><figure class="wp-block-media-text__media" style="background-image:url(' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg);background-position:63% 16%"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Image of a bird on a branch', 'twentytwentytwo' ) . '"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutmediarightphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php       2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-media-right.php 2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'About page with media on the right', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaLink":"' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-black.jpg","mediaType":"image","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile has-background-color has-foreground-background-color has-text-color has-background has-link-color"><figure class="wp-block-media-text__media"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-black.jpg" alt="' . esc_attr__( 'An image of a bird flying', 'twentytwentytwo' ) . '"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutsimpledarkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-simple-dark.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-simple-dark.php       2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-simple-dark.php 2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Simple dark about page', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:cover {"overlayColor":"foreground","minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 8vw)","right":"max(1.25rem, 8vw)","bottom":"max(1.25rem, 8vw)","left":"max(1.25rem, 8vw)"}}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-cover alignfull has-foreground-background-color has-background-dim" style="padding-top:max(1.25rem, 8vw);padding-right:max(1.25rem, 8vw);padding-bottom:max(1.25rem, 8vw);padding-left:max(1.25rem, 8vw);min-height:100vh"><div class="wp-block-cover__inner-container"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"},"overlayMenu":"always"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspageaboutsolidcolorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-solid-color.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-solid-color.php       2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-solid-color.php 2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'About page on solid color background', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1.25rem","right":"1.25rem","bottom":"1.25rem","left":"1.25rem"}}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:1.25rem;padding-right:1.25rem;padding-bottom:1.25rem;padding-left:1.25rem"><!-- wp:cover {"overlayColor":"secondary","minHeight":80,"minHeightUnit":"vh","isDark":false,"align":"full"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-cover alignfull is-light" style="min-height:80vh"><span aria-hidden="true" class="has-secondary-background-color has-background-dim-100 wp-block-cover__gradient-background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"inherit":false,"contentSize":"400px"}} -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagelayoutimageandtextphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-and-text.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-and-text.php   2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-and-text.php     2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Page layout with image and text', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"2rem"}}},"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:2rem"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 8vw, 7.5rem)","lineHeight":"1.15","fontWeight":"300"}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <h2 class="alignwide" style="font-size:clamp(4rem, 8vw, 7.5rem);font-weight:300;line-height:1.15">' . wp_kses_post( __( '<em>Watching Birds </em><br><em>in the Garden</em>', 'twentytwentytwo' ) ) . '</h2>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagelayoutimagetextandvideophp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-text-and-video.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-text-and-video.php     2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-text-and-video.php       2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Page layout with image, text and video', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"backgroundColor":"primary","textColor":"background"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:group {"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagelayouttwocolumnsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-two-columns.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-two-columns.php      2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-two-columns.php        2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Page layout with two columns', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem);"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 15vw, 12.5rem)","lineHeight":"1","fontWeight":"200"}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <h1 class="alignwide" style="font-size:clamp(4rem, 15vw, 12.5rem);font-weight:200;line-height:1">' . wp_kses_post( __( '<em>Goldfinch </em><br><em>&amp; Sparrow</em>', 'twentytwentytwo' ) ) . '</h1>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebarblogpostsrightphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts-right.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts-right.php        2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts-right.php  2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Blog posts with right sidebar', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"2rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:2rem;padding-left:0px"><!-- wp:group {"layout":{"type":"flex"}} -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebarblogpostsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts.php      2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts.php        2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Blog posts with left sidebar', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"5%"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-columns alignwide has-primary-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"33.33%"} -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebargridpostsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-grid-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-grid-posts.php      2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-grid-posts.php        2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Grid of posts with left sidebar', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-columns alignwide" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"30%"} -->
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentytwoincpatternspagesidebarposterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-poster.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-poster.php  2024-02-08 19:10:10 UTC (rev 57568)
+++ trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-poster.php    2024-02-08 19:30:15 UTC (rev 57569)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px">        'title'      => __( 'Poster with right sidebar', 'twentytwentytwo' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        'categories' => array( 'pages' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'categories' => array( 'twentytwentytwo_pages' ),
</ins><span class="cx" style="display: block; padding: 0 10px">         'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-group alignfull"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%"} -->
</span></span></pre>
</div>
</div>

</body>
</html>