mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
a225c5cdc6
This also includes: - The removal of the Post Author block. - Renaming build_query_vars_from_query_block function. - Update the block supports. Props gziolo. See #52991. -This line, and those below, will be ignored-- M package-lock.json M package.json M src/wp-includes/assets/script-loader-packages.php M src/wp-includes/block-supports/colors.php AM src/wp-includes/block-supports/elements.php D src/wp-includes/block-supports/padding.php AM src/wp-includes/block-supports/spacing.php M src/wp-includes/block-supports/typography.php M src/wp-includes/blocks/column/block.json M src/wp-includes/blocks/index.php D src/wp-includes/blocks/post-author D src/wp-includes/blocks/post-author.php M src/wp-includes/blocks/post-content.php M src/wp-includes/blocks/post-featured-image.php M src/wp-includes/blocks/query/block.json M src/wp-includes/blocks/query-loop/block.json M src/wp-includes/blocks/query-loop.php M src/wp-includes/blocks/query-pagination/block.json M src/wp-includes/blocks/query-pagination-next.php M src/wp-includes/blocks/query-pagination-numbers.php M src/wp-includes/blocks/site-tagline/block.json M src/wp-includes/blocks/site-title/block.json M src/wp-includes/blocks.php M src/wp-settings.php M tests/phpunit/tests/blocks/block.php M tools/webpack/packages.js Built from https://develop.svn.wordpress.org/trunk@50945 git-svn-id: http://core.svn.wordpress.org/trunk@50554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
57 lines
1004 B
JSON
57 lines
1004 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/query",
|
|
"title": "Query",
|
|
"category": "design",
|
|
"description": "Displays a list of posts as a result of a query.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"queryId": {
|
|
"type": "number"
|
|
},
|
|
"query": {
|
|
"type": "object",
|
|
"default": {
|
|
"perPage": null,
|
|
"pages": 0,
|
|
"offset": 0,
|
|
"postType": "post",
|
|
"categoryIds": [],
|
|
"tagIds": [],
|
|
"order": "desc",
|
|
"orderBy": "date",
|
|
"author": "",
|
|
"search": "",
|
|
"exclude": [],
|
|
"sticky": "",
|
|
"inherit": true
|
|
}
|
|
},
|
|
"tagName": {
|
|
"type": "string",
|
|
"default": "div"
|
|
},
|
|
"displayLayout": {
|
|
"type": "object",
|
|
"default": {
|
|
"type": "list"
|
|
}
|
|
}
|
|
},
|
|
"providesContext": {
|
|
"queryId": "queryId",
|
|
"query": "query",
|
|
"displayLayout": "displayLayout"
|
|
},
|
|
"supports": {
|
|
"align": [ "wide", "full" ],
|
|
"html": false,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true
|
|
},
|
|
"__experimentalLayout": true
|
|
},
|
|
"editorStyle": "wp-block-query-editor"
|
|
}
|