Skip to content

Commit

Permalink
Building 6.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 3, 2024
1 parent 9cf9521 commit 4368fd1
Show file tree
Hide file tree
Showing 87 changed files with 320 additions and 21 deletions.
2 changes: 1 addition & 1 deletion data/blocks/fixtures/core__quote__style-1.server.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

<blockquote class="wp-block-quote"><p>The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p><cite>Matt Mullenweg, 2017</cite></blockquote>
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p><cite>Matt Mullenweg, 2017</cite></blockquote>

2 changes: 1 addition & 1 deletion data/blocks/fixtures/core__quote__style-2.server.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

<blockquote class="wp-block-quote is-style-large"><p>There is no greater agony than bearing an untold story inside you.</p><cite>Maya Angelou</cite></blockquote>
<blockquote class="wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow"><p>There is no greater agony than bearing an untold story inside you.</p><cite>Maya Angelou</cite></blockquote>

1 change: 1 addition & 0 deletions data/blocks/hooked-block-error/block.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"name": "tests/hooked-block-error",
"description": "A block that throws an error because it tries to hook a block to itself.",
"blockHooks": {
Expand Down
1 change: 1 addition & 0 deletions data/blocks/notice/block-view.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Test front end only CSS file */
3 changes: 3 additions & 0 deletions data/blocks/notice/block.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"name": "tests/notice",
"title": "Notice",
Expand Down Expand Up @@ -67,7 +68,9 @@
"editorScript": "tests-notice-editor-script",
"script": "tests-notice-script",
"viewScript": [ "tests-notice-view-script", "tests-notice-view-script-2" ],
"viewScriptModule": [ "tests-notice-view-script-module", "tests-notice-view-script-module-2" ],
"editorStyle": "tests-notice-editor-style",
"style": [ "tests-notice-style", "tests-notice-style-2" ],
"viewStyle": [ "tests-notice-view-style" ],
"render": "file:./render.php"
}
7 changes: 7 additions & 0 deletions data/blocks/notice/shared-script.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return array(
'handle' => 'tests-my-shared-script',
'dependencies' => array(),
'version' => 'test',
);
1 change: 1 addition & 0 deletions data/blocks/notice/shared-script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* Another test JavaScript file. */
33 changes: 33 additions & 0 deletions data/filesystem/_source-license
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
The following files were sourced from https://github.com/ZJONSSON/node-unzipper a fork of https://github.com/EvanOxfeld/node-unzip

* archive-comment.zip
* archive-cp866.zip
* archive-directory-entry.zip
* archive-encrypted.zip
* archive-flags-set.zip
* archive-invalid.zip
* archive-large.zip
* archive-uncompressed.zip
* archive.crx

Copyright (c) 2012 - 2013 Near Infinity Corporation
Copyright (c) 2016 - 2024 Ziggy Jonsson (ziggy.jonsson.nyc@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file added data/filesystem/archive-comment.zip
Binary file not shown.
Binary file added data/filesystem/archive-cp866.zip
Binary file not shown.
Binary file added data/filesystem/archive-directory-entry.zip
Binary file not shown.
Binary file added data/filesystem/archive-encrypted.zip
Binary file not shown.
Binary file added data/filesystem/archive-flags-set.zip
Binary file not shown.
Binary file added data/filesystem/archive-gnome.zip
Binary file not shown.
7 changes: 7 additions & 0 deletions data/filesystem/archive-invalid-ext.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Shucked

Shucked is a 2022 musical with music and lyrics by Brandy Clark and Shane McAnally, and a book by Robert Horn. The Broadway production began previews at the Nederlander Theatre on March 8, 2023, before opening on April 4. The show received positive reviews and went on to receive nine nominations at the 76th Tony Awards, including Best Musical. Cast member Alex Newell became one of the first two openly non-binary performers to be nominated for and win a Tony Award, with their win for Best Featured Actor in a Musical.

A U.S. tour, West End production, and feature film adaptation are currently planned.

From Wikipedia (https://en.wikipedia.org/wiki/Shucked) under Creative Commons Attribution CC-BY-SA 3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)
Binary file added data/filesystem/archive-invalid.zip
Binary file not shown.
Binary file added data/filesystem/archive-large.zip
Binary file not shown.
Binary file added data/filesystem/archive-macos.zip
Binary file not shown.
Binary file added data/filesystem/archive-ubuntu-nautilus.zip
Binary file not shown.
Binary file added data/filesystem/archive-uncompressed.zip
Binary file not shown.
Binary file added data/filesystem/archive.crx
Binary file not shown.
Binary file added data/fonts/OpenSans-Regular.otf
Binary file not shown.
Binary file added data/fonts/OpenSans-Regular.ttf
Binary file not shown.
Binary file added data/fonts/OpenSans-Regular.woff
Binary file not shown.
Binary file added data/fonts/OpenSans-Regular.woff2
Binary file not shown.
Binary file added data/images/avif-animated.avif
Binary file not shown.
Binary file added data/images/avif-lossless.avif
Binary file not shown.
Binary file added data/images/avif-lossy.avif
Binary file not shown.
Binary file added data/images/avif-transparent.avif
Binary file not shown.
Binary file added data/images/color_grid_alpha_nogrid.avif
Binary file not shown.
Binary file added data/images/colors_hdr_p3.avif
Binary file not shown.
Binary file added data/l10n/example-simple.mo
Binary file not shown.
11 changes: 11 additions & 0 deletions data/l10n/example-simple.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
return [
'messages' =>
[
'original' => 'translation',
'contextoriginal with context' => 'translation with context',
'plural0' => 'translation0' . "\0" . 'translation1',
'contextplural0 with context' => 'translation0 with context' . "\0" . 'translation1 with context',
'Product' => 'Produkt' . "\0" . 'Produkte',
],
];
26 changes: 26 additions & 0 deletions data/l10n/example-simple.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
msgid ""
msgstr ""
"PO-Revision-Date: 2016-01-05 18:45:32+1000\n"

msgid "original"
msgstr "translation"

msgctxt "context"
msgid "original with context"
msgstr "translation with context"

msgid "plural0"
msgid_plural "plural1"
msgstr[0] "translation0"
msgstr[1] "translation1"

msgctxt "context"
msgid "plural0 with context"
msgid_plural "plural1 with context"
msgstr[0] "translation0 with context"
msgstr[1] "translation1 with context"

msgid "Product"
msgid_plural "Products"
msgstr[0] "Produkt"
msgstr[1] "Produkte"
Binary file added data/l10n/fa_IR.mo
Binary file not shown.
Binary file added data/l10n/plural-complex.mo
Binary file not shown.
2 changes: 2 additions & 0 deletions data/l10n/plural-complex.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['x-generator'=>'GlotPress/4.0.0-beta.2','translation-revision-date'=>'2024-01-18 05:40:05+0000','plural-forms'=>'nplurals=4; plural=(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3));','project-id-version'=>'WordPress - 6.4.x - Development','language'=>'sl_SI','messages'=>['%s update available'=>'%s razpoložljiva posodobitev' . "\0" . '%s razpoložljivi posodobitvi' . "\0" . '%s razpoložljive posodobitve' . "\0" . '%s razpoložljivih posodobitev']];
Binary file added data/l10n/plural.mo
Binary file not shown.
Binary file added data/l10n/simple.mo
Binary file not shown.
2 changes: 2 additions & 0 deletions data/languages/admin-en_GB.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['Thank you for updating! WordPress %s makes your site more connected and responsive.'=>'Thank you for updating! WordPress %s makes your site more connected and responsive.','New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code.'=>'New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code.','Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.'=>'Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.','Term, comment, and network objects'=>'Term, comment, and network objects','Comment query improvements'=>'Comment query improvements'],'language'=>'en_GB','x-generator'=>'Poedit 1.8.10'];
2 changes: 2 additions & 0 deletions data/languages/admin-es_ES.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['Thank you for updating! WordPress %s makes your site more connected and responsive.'=>'¡Gracias por actualizar! WordPress %s hace que tu sitio esté más conectado y sea más adaptable.','New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code.'=>'Ahora los objetos %1$s, %2$s y %3$s hacen que interactuar con términos, comentarios y redes sea más predecible y que el código sea más intuitivo.','Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.'=>'Las consultas de comentarios ahora tiene una caché que mejora el rendimiento. Nuevos argumentos en %s hacen que sea más fácil crear consultas robustas.','Term, comment, and network objects'=>'Objetos de término, comentario y red','Comment query improvements'=>'Mejoras en las consultas de comentarios'],'language'=>'es_ES','x-generator'=>'Poedit 1.8.10'];
2 changes: 2 additions & 0 deletions data/languages/admin-network-en_GB.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['A password reset link will be sent to the user via email.'=>'A password reset link will be sent to the user via email.','If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.'=>'If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.','Site users list'=>'Site users list','Site users list navigation'=>'Site users list navigation','Sites list'=>'Sites list'],'language'=>'en_GB','x-generator'=>'Poedit 1.8.10'];
2 changes: 2 additions & 0 deletions data/languages/admin-network-es_ES.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['A password reset link will be sent to the user via email.'=>'Se te enviará un enlace por email para que puedas cambiar la contraseña.','If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.'=>'Si el registro de usuarios está desactivado , establece como valor de %1$s en %2$s una URL donde redirigir a los visitantes que accedan a un sitio inexistente.','Site users list navigation'=>'Navegación por la lista de usuarios del sitio','Site users list'=>'Lista de usuarios del sitio','Sites list navigation'=>'Navegación por la lista de sitios'],'language'=>'es_ES','x-generator'=>'Poedit 1.8.10'];
2 changes: 2 additions & 0 deletions data/languages/continents-cities-es_ES.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['Vincennes'=>'Vincennes','Winamac'=>'Winamac','Inuvik'=>'Inuvik','Iqaluit'=>'Iqaluit','Jamaica'=>'Jamaica'],'language'=>'es_ES','x-generator'=>'Poedit 1.8.10'];
2 changes: 2 additions & 0 deletions data/languages/de_DE.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['html_lang_attribute'=>'de-DE','text directionltr'=>'ltr','number_format_decimal_point'=>',','number_format_thousands_sep'=>'.','Update %s now'=>'Jetzt %s aktualisieren','[%1$s] Confirm Action: %2$s'=>'[%1$s] Aktion bestätigen: %2$s','[%s] Erasure Request Fulfilled'=>'[%s] Löschauftrag ausgeführt','[%s] Personal Data Export'=>'[%s] Export personenbezogener Daten'],'language'=>'de_DE','x-generator'=>'Poedit 2.2.1'];
2 changes: 2 additions & 0 deletions data/languages/en_GB.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['text directionltr'=>'ltr','<strong>ERROR</strong>: Sorry, that username is not allowed.'=>'<strong>ERROR</strong>: Sorry, that username is not allowed.','Invalid parameter.'=>'Invalid parameter.','menu location(Current: %s)'=>'(Current: %s)','menu(Currently set to: %s)'=>'(Currently set to: %s)'],'language'=>'en_GB','x-generator'=>'Poedit 1.8.10'];
2 changes: 2 additions & 0 deletions data/languages/es_ES.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['text directionltr'=>'ltr','<strong>ERROR</strong>: Sorry, that username is not allowed.'=>'<strong>ERROR</strong>: Lo siento, ese nombre de usuario no está permitido.','Invalid parameter.'=>'Parámetro no válido. ','menu location(Current: %s)'=>'(Actual: %s)','menu(Currently set to: %s)'=>'(Actualmente fijado en: %s)','[%1$s] Confirm Action: %2$s'=>'[%1$s] Confirmar la acción: %2$s','[%s] Erasure Request Fulfilled'=>'[%s] Solicitud de borrado completada','[%s] Personal Data Export'=>'[%s] Exportación de datos personales'],'language'=>'es_ES','x-generator'=>'Poedit 2.3'];
2 changes: 2 additions & 0 deletions data/languages/ja_JP.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=n != 1;','messages'=>['html_lang_attribute'=>'ja','text directionltr'=>'ltr','number_format_decimal_point'=>'number_format_decimal_point','number_format_thousands_sep'=>'number_format_thousands_sep','Update %s now'=>'今すぐ %s を更新','Word count type. Do not translate!words'=>'characters_including_spaces','excerpt_length55'=>'110','comment_excerpt_length20'=>'40','draft_length10'=>'40'],'language'=>'ja_JP','x-generator'=>'Poedit 1.8.10'];
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=(n != 1);','messages'=>['This is a dummy plugin'=>'Das ist ein Dummy Plugin'],'language'=>'de_DE','x-generator'=>'Poedit 2.4.1'];
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return ['domain'=>NULL,'plural-forms'=>'nplurals=2; plural=(n != 1);','messages'=>['This is a dummy plugin'=>'Este es un plugin dummy'],'language'=>'de_DE','x-generator'=>'Poedit 2.4.1'];
12 changes: 12 additions & 0 deletions data/plugins/internationalized-plugin-2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
/*
Plugin Name: Dummy Plugin 2
Plugin URI: https://wordpress.org/
Description: For testing purposes only. Only has an .l10n.php translation file.
Version: 1.0.0
Text Domain: internationalized-plugin
*/

function i18n_plugin_2_test() {
return __( 'This is a dummy plugin', 'internationalized-plugin-2' );
}
1 change: 1 addition & 0 deletions data/plugins/link-manager.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"Link Manager","slug":"link-manager","version":"0.1-beta","author":"WordPress","author_profile":"https:\/\/profiles.wordpress.org\/nacin\/","contributors":{"nacin":{"profile":"https:\/\/profiles.wordpress.org\/nacin\/","avatar":"https:\/\/secure.gravatar.com\/avatar\/01cfe9feaafb068590891bbd1f6a7f5a?s=96&d=monsterid&r=g","display_name":"Andrew Nacin"}},"requires":"3.5","tested":"6.1.5","requires_php":false,"requires_plugins":[],"rating":90,"ratings":{"5":27,"4":3,"3":0,"2":0,"1":3},"num_ratings":33,"support_url":"https:\/\/wordpress.org\/support\/plugin\/link-manager\/","support_threads":1,"support_threads_resolved":1,"active_installs":30000,"last_updated":"2012-08-16 10:57pm GMT","added":"2012-08-16","homepage":"","download_link":"https:\/\/downloads.wordpress.org\/plugin\/link-manager.zip","upgrade_notice":[],"screenshots":[],"tags":{"blogroll":"blogroll","link-manager":"link manager","links":"links"},"versions":[],"business_model":false,"repository_url":"","commercial_support_url":"","donate_link":"","banners":[],"preview_link":"","language_packs":[]}
3 changes: 3 additions & 0 deletions data/pomo/simple.l10n.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
return ['project-id-version'=>'WordPress 2.6-bleeding','report-msgid-bugs-to'=>'wp-polyglots@lists.automattic.com','messages'=>['baba'=>'dyado','kuku
ruku'=>'yes']];
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 1,
"settings": {
"color": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"appearanceTools": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"appearanceTools": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"appearanceTools": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"title": "Example Theme Block",
"name": "block-theme/example-block",
Expand Down
18 changes: 18 additions & 0 deletions data/themedir1/block-theme-child/styles/variation-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"settings": {
"blocks": {
"core/paragraph": {
"color": {
"palette": [
{
"slug": "dark",
"name": "Dark",
"color": "#010101"
}
]
}
}
}
}
}
3 changes: 2 additions & 1 deletion data/themedir1/block-theme-child/theme.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"version": 1,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"color": {
"palette": [
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/block-theme-deprecated-path/theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 1,
"settings": {
"color": {
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/block-theme-non-latin/theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 1,
"settings": {
"color": {
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/block-theme-post-content-default/theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 1,
"title": "Block theme",
"settings": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"title": "Hooked Block (after)",
"name": "tests/hooked-after",
"blockHooks": {
"core/post-content": "after"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"title": "Hooked Block (before)",
"name": "tests/hooked-before",
"blockHooks": {
"core/navigation": "before"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"title": "Hooked Block (first child)",
"name": "tests/hooked-first-child",
"blockHooks": {
"core/comments": "firstChild"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"title": "Hooked Block (last child)",
"name": "tests/hooked-last-child",
"blockHooks": {
"core/comment-template": "lastChild"
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/block-theme/blocks/example-block/block.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"title": "Example Theme Block",
"name": "block-theme/example-block",
Expand Down
18 changes: 18 additions & 0 deletions data/themedir1/block-theme/styles/variation-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"settings": {
"blocks": {
"core/paragraph": {
"color": {
"palette": [
{
"slug": "light",
"name": "Light",
"color": "#f2f2f2"
}
]
}
}
}
}
}
29 changes: 22 additions & 7 deletions data/themedir1/block-theme/theme.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"version": 1,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Block theme",
"settings": {
"color": {
Expand Down Expand Up @@ -41,13 +42,27 @@
}
],
"customFontSize": false,
"customLineHeight": true
"lineHeight": true
},
"spacing": {
"units": ["rem"],
"customPadding": true,
"units": [ "rem" ],
"padding": true,
"blockGap": true
},
"shadow": {
"presets": [
{
"name": "Natural",
"slug": "natural",
"shadow": "2px 2px 3px #000"
},
{
"name": "Test",
"slug": "test",
"shadow": "2px 2px 3px #000"
}
]
},
"blocks": {
"core/paragraph": {
"color": {
Expand All @@ -62,8 +77,8 @@
}
}
},
"styles" : {
"blocks" :{
"styles": {
"blocks": {
"core/post-featured-image": {
"shadow": "10px 10px 5px 0px rgba(0,0,0,0.66)",
"filter": {
Expand Down Expand Up @@ -121,7 +136,7 @@
{
"name": "custom-single-post-template",
"title": "Custom Single Post template",
"postTypes": ["post"]
"postTypes": [ "post" ]
}
],
"templateParts": [
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/block_theme-[0.4.0]/theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 1,
"settings": {
"color": {
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/empty-fontface-theme/theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"customTemplates": [
{
Expand Down
1 change: 1 addition & 0 deletions data/themedir1/fonts-block-theme/theme.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"settings": {
"appearanceTools": true,
Expand Down
Loading

0 comments on commit 4368fd1

Please sign in to comment.