WordPress / theme-test-data

Theme Test Data
627 stars 18 forks source link

Add XML file for blocks, for WordPress 6.4 #85

Closed carolinan closed 8 months ago

carolinan commented 8 months ago

Partial for https://github.com/WordPress/theme-test-data/issues/83

I started with blocks generated on WordPress 6.4, so that they can be compared to the changes in 6.5.

The file includes a "how to" page that explains some more details:

How to use the test data

The purpose of this test data is to test block changes across WordPress versions and Gutenberg versions. It is a compliment to the other theme test data files.

A use case would be when you want to test the typography options of a block, and you don’t want to spend time adding the blocks and changing all the settings manually.

The blocks were generated using WordPress 6.4.3 with a block theme with the most permissive theme.json settings possible. All presets are the defaults: Colors, duotones, font sizes, spacing sizes, shadows, width etc.

Each block has its own post, and is listed under its category: Design, Theme, Widget etc. Inner blocks such as the column, button, and comment blocks do not have their own posts. Blocks that support borders have a tag called “Border”.

Setting up

Download the file, activate the WordPress importer plugin and import the file.

Tips for testing

When you use block themes with different settings and templates, or a classic theme, you may find that not everything works as you expected. This is not necessarily a bug with the block, the theme, or the test file. If you suspect that there are bugs, it will require further testing.

For example:

What’s not included

Experimental blocks

Template only blocks

What it is not intended for

How you can help

You can help by reporting bugs, writing documentation, requesting features and submitting updates in the GitHub repository: https://github.com/WordPress/theme-test-data

carolinan commented 8 months ago

( Oops I forgot to create a separate branch, because I mistakingly tried to create the pull requests on Garys repository first. )

carolinan commented 8 months ago

Yeah the importer plugins doesn't use the author description.