Skip to content

Commit

Permalink
Query Loop Block: remove Posts List variation
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jul 11, 2024
1 parent 684b298 commit 7feeb43
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions packages/block-library/src/query/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { postList } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -31,31 +30,6 @@ const QUERY_DEFAULT_ATTRIBUTES = {
};

const variations = [
{
name: 'posts-list',
title: __( 'Posts List' ),
description: __(
'Display a list of your most recent posts, excluding sticky posts.'
),
icon: postList,
attributes: {
namespace: 'core/posts-list',
query: {
perPage: 4,
pages: 1,
offset: 0,
postType: 'post',
order: 'desc',
orderBy: 'date',
author: '',
search: '',
sticky: 'exclude',
inherit: false,
},
},
scope: [ 'inserter' ],
isActive: [ 'namespace', 'query.postType' ],
},
{
name: 'title-date',
title: __( 'Title & Date' ),
Expand Down

0 comments on commit 7feeb43

Please sign in to comment.