Skip to content

Commit

Permalink
Query Loop Block: remove "Posts List" variation (#63404)
Browse files Browse the repository at this point in the history
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: priethor <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
  • Loading branch information
4 people authored Jul 11, 2024
1 parent bc770f4 commit 3750091
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 All @@ -15,31 +14,6 @@ import {
} from './icons';

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

1 comment on commit 3750091

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 3750091.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9891800994
📝 Reported issues:

Please sign in to comment.