<!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>[50948] trunk/src/wp-includes: Block Patterns: Include the Query and Social Icons block patterns from Gutenberg 10.7.0.</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/50948">50948</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/50948","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>youknowriad</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-05-21 11:12:39 +0000 (Fri, 21 May 2021)</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'>Block Patterns: Include the Query and Social Icons block patterns from Gutenberg 10.7.0.
These block patterns are considered "core" block patterns and removed
when a them opts out of the core-block-patterns theme support flag.
Props ntsekouras.
Fixes <a href="https://core.trac.wordpress.org/ticket/53248">#53248</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesblockpatternsphp">trunk/src/wp-includes/block-patterns.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesblockpatternsquerygridpostsphp">trunk/src/wp-includes/block-patterns/query-grid-posts.php</a></li>
<li><a href="#trunksrcwpincludesblockpatternsquerylargetitlepostsphp">trunk/src/wp-includes/block-patterns/query-large-title-posts.php</a></li>
<li><a href="#trunksrcwpincludesblockpatternsquerymediumpostsphp">trunk/src/wp-includes/block-patterns/query-medium-posts.php</a></li>
<li><a href="#trunksrcwpincludesblockpatternsqueryoffsetpostsphp">trunk/src/wp-includes/block-patterns/query-offset-posts.php</a></li>
<li><a href="#trunksrcwpincludesblockpatternsquerysmallpostsphp">trunk/src/wp-includes/block-patterns/query-small-posts.php</a></li>
<li><a href="#trunksrcwpincludesblockpatternsquerystandardpostsphp">trunk/src/wp-includes/block-patterns/query-standard-posts.php</a></li>
<li><a href="#trunksrcwpincludesblockpatternssociallinkssharedbackgroundcolorphp">trunk/src/wp-includes/block-patterns/social-links-shared-background-color.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpincludesblockpatternsquerygridpostsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/query-grid-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/query-grid-posts.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/query-grid-posts.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,23 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Query: Grid.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Grid', 'gutenberg' ),
+ 'blockTypes' => array( 'core/query' ),
+ 'categories' => array( 'query' ),
+ 'content' => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
+ <div class="wp-block-query">
+ <!-- wp:query-loop -->
+ <!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
+ <main class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
+ <!-- wp:post-excerpt {"wordCount":20} /-->
+ <!-- wp:post-date /--></div>
+ <!-- /wp:group -->
+ <!-- /wp:query-loop -->
+ </div>
+ <!-- /wp:query -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/query-grid-posts.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternsquerylargetitlepostsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/query-large-title-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/query-large-title-posts.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/query-large-title-posts.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,31 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Query: Large title.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Large title', 'gutenberg' ),
+ 'blockTypes' => array( 'core/query' ),
+ 'categories' => array( 'query' ),
+ 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"100px","bottom":"100px","left":"100px"}},"color":{"text":"#ffffff","background":"#000000"}}} -->
+ <div class="wp-block-group alignfull has-text-color has-background" style="background-color:#000000;color:#ffffff;padding-top:100px;padding-right:100px;padding-bottom:100px;padding-left:100px"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
+ <div class="wp-block-query"><!-- wp:query-loop -->
+ <!-- wp:separator {"customColor":"#ffffff","align":"wide","className":"is-style-wide"} -->
+ <hr class="wp-block-separator alignwide has-text-color has-background is-style-wide" style="background-color:#ffffff;color:#ffffff"/>
+ <!-- /wp:separator -->
+
+ <!-- wp:columns {"verticalAlignment":"center","align":"wide"} -->
+ <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
+ <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:post-date {"style":{"color":{"text":"#ffffff"}},"fontSize":"extra-small"} /--></div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
+ <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"72px","lineHeight":"1.1"},"color":{"text":"#ffffff","link":"#ffffff"}}} /--></div>
+ <!-- /wp:column --></div>
+ <!-- /wp:columns -->
+ <!-- /wp:query-loop --></div>
+ <!-- /wp:query --></div>
+ <!-- /wp:group -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/query-large-title-posts.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternsquerymediumpostsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/query-medium-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/query-medium-posts.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/query-medium-posts.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,27 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Query: Image at left.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Image at left', 'gutenberg' ),
+ 'blockTypes' => array( 'core/query' ),
+ 'categories' => array( 'query' ),
+ 'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:query-loop -->
+ <!-- wp:columns {"align":"wide"} -->
+ <div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
+ <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-featured-image {"isLink":true} /--></div>
+ <!-- /wp:column -->
+ <!-- wp:column {"width":"33.33%"} -->
+ <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:post-title {"isLink":true} /-->
+ <!-- wp:post-excerpt /--></div>
+ <!-- /wp:column --></div>
+ <!-- /wp:columns -->
+ <!-- /wp:query-loop -->
+ </div>
+ <!-- /wp:query -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/query-medium-posts.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternsqueryoffsetpostsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/query-offset-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/query-offset-posts.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/query-offset-posts.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,40 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Query: Offset.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Offset', 'gutenberg' ),
+ 'blockTypes' => array( 'core/query' ),
+ 'categories' => array( 'query' ),
+ 'content' => '<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
+ <main class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:columns -->
+ <div class="wp-block-columns"><!-- wp:column {"width":"50%"} -->
+ <div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
+ <div class="wp-block-query"><!-- wp:query-loop -->
+ <!-- wp:post-featured-image /-->
+ <!-- wp:post-title /-->
+ <!-- wp:post-date /-->
+ <!-- wp:spacer {"height":200} -->
+ <div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+ <!-- /wp:spacer -->
+ <!-- /wp:query-loop --></div>
+ <!-- /wp:query --></div>
+ <!-- /wp:column -->
+ <!-- wp:column {"width":"50%"} -->
+ <div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":2,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
+ <div class="wp-block-query"><!-- wp:query-loop -->
+ <!-- wp:spacer {"height":200} -->
+ <div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+ <!-- /wp:spacer -->
+ <!-- wp:post-featured-image /-->
+ <!-- wp:post-title /-->
+ <!-- wp:post-date /-->
+ <!-- /wp:query-loop --></div>
+ <!-- /wp:query --></div>
+ <!-- /wp:column --></div>
+ <!-- /wp:columns --></main>
+ <!-- /wp:group -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/query-offset-posts.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternsquerysmallpostsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/query-small-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/query-small-posts.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/query-small-posts.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,26 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Query: Small image and title.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Small image and title', 'gutenberg' ),
+ 'blockTypes' => array( 'core/query' ),
+ 'categories' => array( 'query' ),
+ 'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:query-loop -->
+ <!-- wp:columns {"verticalAlignment":"center"} -->
+ <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
+ <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:post-featured-image {"isLink":true} /--></div>
+ <!-- /wp:column -->
+ <!-- wp:column {"verticalAlignment":"center","width":"75%"} -->
+ <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:75%"><!-- wp:post-title {"isLink":true} /--></div>
+ <!-- /wp:column --></div>
+ <!-- /wp:columns -->
+ <!-- /wp:query-loop -->
+ </div>
+ <!-- /wp:query -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/query-small-posts.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternsquerystandardpostsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/query-standard-posts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/query-standard-posts.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/query-standard-posts.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,25 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Query: Standard.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Standard', 'gutenberg' ),
+ 'blockTypes' => array( 'core/query' ),
+ 'categories' => array( 'query' ),
+ 'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
+ <div class="wp-block-query">
+ <!-- wp:query-loop -->
+ <!-- wp:post-title {"isLink":true} /-->
+ <!-- wp:post-featured-image {"isLink":true,"align":"wide"} /-->
+ <!-- wp:post-excerpt /-->
+ <!-- wp:separator -->
+ <hr class="wp-block-separator"/>
+ <!-- /wp:separator -->
+ <!-- wp:post-date /-->
+ <!-- /wp:query-loop -->
+ </div>
+ <!-- /wp:query -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/query-standard-posts.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternssociallinkssharedbackgroundcolorphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-includes/block-patterns/social-links-shared-background-color.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns/social-links-shared-background-color.php (rev 0)
+++ trunk/src/wp-includes/block-patterns/social-links-shared-background-color.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Social links with a shared background color.
+ *
+ * @package WordPress
+ */
+
+return array(
+ 'title' => __( 'Social links with a shared background color', 'gutenberg' ),
+ 'categories' => array( 'buttons' ),
+ 'blockTypes' => array( 'core/social-links' ),
+ 'viewportWidth' => 500,
+ 'content' => '<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
+ <ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
+ <!-- wp:social-link {"url":"#","service":"chain"} /-->
+ <!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
+ <!-- /wp:social-links -->',
+);
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-includes/block-patterns/social-links-shared-background-color.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpincludesblockpatternsphp"></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/block-patterns.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-patterns.php 2021-05-21 10:48:53 UTC (rev 50947)
+++ trunk/src/wp-includes/block-patterns.php 2021-05-21 11:12:39 UTC (rev 50948)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,6 +34,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'text-two-columns',
</span><span class="cx" style="display: block; padding: 0 10px"> 'media-text-arquitecture',
</span><span class="cx" style="display: block; padding: 0 10px"> 'two-buttons',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'query-standard-posts',
+ 'query-medium-posts',
+ 'query-small-posts',
+ 'query-grid-posts',
+ 'query-large-title-posts',
+ 'query-offset-posts',
+ 'social-links-shared-background-color',
</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"> foreach ( $core_block_patterns as $core_block_pattern ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,4 +56,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> register_block_pattern_category( 'gallery', array( 'label' => _x( 'Gallery', 'Block pattern category' ) ) );
</span><span class="cx" style="display: block; padding: 0 10px"> register_block_pattern_category( 'header', array( 'label' => _x( 'Headers', 'Block pattern category' ) ) );
</span><span class="cx" style="display: block; padding: 0 10px"> register_block_pattern_category( 'text', array( 'label' => _x( 'Text', 'Block pattern category' ) ) );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_block_pattern_category( 'query', array( 'label' => __( 'Query', 'Block pattern category' ) ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre>
</div>
</div>
</body>
</html>