Editor: Remove `gutenberg` text domain from Query and Social Links block patterns.
Follow-up to [50948]. Props ntsekouras. Fixes #53265. See #53248. Built from https://develop.svn.wordpress.org/trunk@50971 git-svn-id: http://core.svn.wordpress.org/trunk@50580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bd5322c635
commit
f092c961c0
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Grid', 'gutenberg' ),
|
'title' => _x( 'Grid', 'Block pattern title' ),
|
||||||
'blockTypes' => array( 'core/query' ),
|
'blockTypes' => array( 'core/query' ),
|
||||||
'categories' => array( 'query' ),
|
'categories' => array( 'query' ),
|
||||||
'content' => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
|
'content' => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Large title', 'gutenberg' ),
|
'title' => _x( 'Large title', 'Block pattern title' ),
|
||||||
'blockTypes' => array( 'core/query' ),
|
'blockTypes' => array( 'core/query' ),
|
||||||
'categories' => array( 'query' ),
|
'categories' => array( 'query' ),
|
||||||
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"100px","bottom":"100px","left":"100px"}},"color":{"text":"#ffffff","background":"#000000"}}} -->
|
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"100px","bottom":"100px","left":"100px"}},"color":{"text":"#ffffff","background":"#000000"}}} -->
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Image at left', 'gutenberg' ),
|
'title' => _x( 'Image at left', 'Block pattern title' ),
|
||||||
'blockTypes' => array( 'core/query' ),
|
'blockTypes' => array( 'core/query' ),
|
||||||
'categories' => array( 'query' ),
|
'categories' => array( 'query' ),
|
||||||
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Offset', 'gutenberg' ),
|
'title' => _x( 'Offset', 'Block pattern title' ),
|
||||||
'blockTypes' => array( 'core/query' ),
|
'blockTypes' => array( 'core/query' ),
|
||||||
'categories' => array( 'query' ),
|
'categories' => array( 'query' ),
|
||||||
'content' => '<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
|
'content' => '<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Small image and title', 'gutenberg' ),
|
'title' => _x( 'Small image and title', 'Block pattern title' ),
|
||||||
'blockTypes' => array( 'core/query' ),
|
'blockTypes' => array( 'core/query' ),
|
||||||
'categories' => array( 'query' ),
|
'categories' => array( 'query' ),
|
||||||
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Standard', 'gutenberg' ),
|
'title' => _x( 'Standard', 'Block pattern title' ),
|
||||||
'blockTypes' => array( 'core/query' ),
|
'blockTypes' => array( 'core/query' ),
|
||||||
'categories' => array( 'query' ),
|
'categories' => array( 'query' ),
|
||||||
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'title' => __( 'Social links with a shared background color', 'gutenberg' ),
|
'title' => _x( 'Social links with a shared background color', 'Block pattern title' ),
|
||||||
'categories' => array( 'buttons' ),
|
'categories' => array( 'buttons' ),
|
||||||
'blockTypes' => array( 'core/social-links' ),
|
'blockTypes' => array( 'core/social-links' ),
|
||||||
'viewportWidth' => 500,
|
'viewportWidth' => 500,
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.8-alpha-50970';
|
$wp_version = '5.8-alpha-50971';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue