Skip to content

Commit 5010d4a

Browse files
authored
Merge pull request #416 from Automattic/master
Release 3/17/20
2 parents 5881aab + 9d7d7d5 commit 5010d4a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+698
-17
lines changed

class-newspack-blocks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public static function get_patterns_for_post_type( $post_type = null ) {
422422
$categorized = [];
423423
$clean = [];
424424
foreach ( $patterns as $pattern ) {
425-
if ( ! isset( $pattern['preview_image'] ) || ! $pattern['preview_image'] ) {
425+
if ( ! isset( $pattern['image'] ) || ! $pattern['image'] ) {
426426
continue;
427427
}
428428
$category = isset( $pattern['category'] ) ? $pattern['category'] : __( 'Common', 'newspack-blocks' );

0 commit comments

Comments
 (0)