Skip to content

Commit 3750091

Browse files
ellatrixpriethorntsekouras
authored
Query Loop Block: remove "Posts List" variation (#63404)
Co-authored-by: ellatrix <ellatrix@git.wordpress.org> Co-authored-by: priethor <priethor@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
1 parent bc770f4 commit 3750091

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

packages/block-library/src/query/variations.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* WordPress dependencies
33
*/
44
import { __ } from '@wordpress/i18n';
5-
import { postList } from '@wordpress/icons';
65

76
/**
87
* Internal dependencies
@@ -15,31 +14,6 @@ import {
1514
} from './icons';
1615

1716
const variations = [
18-
{
19-
name: 'posts-list',
20-
title: __( 'Posts List' ),
21-
description: __(
22-
'Display a list of your most recent posts, excluding sticky posts.'
23-
),
24-
icon: postList,
25-
attributes: {
26-
namespace: 'core/posts-list',
27-
query: {
28-
perPage: 4,
29-
pages: 1,
30-
offset: 0,
31-
postType: 'post',
32-
order: 'desc',
33-
orderBy: 'date',
34-
author: '',
35-
search: '',
36-
sticky: 'exclude',
37-
inherit: false,
38-
},
39-
},
40-
scope: [ 'inserter' ],
41-
isActive: [ 'namespace', 'query.postType' ],
42-
},
4317
{
4418
name: 'title-date',
4519
title: __( 'Title & Date' ),

0 commit comments

Comments
 (0)