CoreFiles by mySites.guru
general-featured-posts.php25 lines, 1,138 bytes, from wordpress-5.9.zip
Raw History Compare with 5.8.20
md5
c6932963358c3441f0981544c4fe9500
sha1
f402ee9c9f745f6940e0b3f391ec3e6ae69049a0
sha256
e7f351e4b2122e07533dde07401218a282de10084da5daf1a48ca970c4d2dfb4
<?php
/**
 * Featured posts block pattern
 */
return array(
	'title'      => __( 'Featured posts', 'twentytwentytwo' ),
	'categories' => array( 'featured', 'query' ),
	'content'    => '<!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
					<div class="wp-block-group alignwide"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
					<p style="text-transform:uppercase">' . esc_html__( 'Latest posts', 'twentytwentytwo' ) . '</p>
					<!-- /wp:paragraph -->

					<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
					<div class="wp-block-query"><!-- wp:post-template -->
					<!-- wp:post-featured-image {"isLink":true,"width":"","height":"310px"} /-->

					<!-- wp:post-title {"isLink":true,"fontSize":"large"} /-->

					<!-- wp:post-excerpt /-->

					<!-- wp:post-date {"fontSize":"small"} /-->
					<!-- /wp:post-template --></div>
					<!-- /wp:query --></div>
					<!-- /wp:group -->',
);

The same content is in 221 releases, WordPress 5.9-beta4 to 6.7-RC3. See them all, or every version of this file.