Wordpress/tests/phpunit/tests/blocks
Greg Ziółkowski 92585e8df1 Editor: Introduce WP_Block and WP_Block_List classes
Backports functionality added in Gutenberg in the following PRs:
- https://github.com/WordPress/gutenberg/pull/21467
- https://github.com/WordPress/gutenberg/pull/21925
It's a few ideas related to block rendering and the provided block value, which is particularly impactful for work around block context.

Props aduth, TimothyBJacobs, noisysocks, epiqueras, youknowriad, talldanwp, zebulan.
Fixes #49926.



git-svn-id: https://develop.svn.wordpress.org/trunk@48159 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-25 05:14:43 +00:00
..
fixtures Editor: Introduce new API method that register block from block.json metadata file 2020-06-23 15:43:19 +00:00
block-list.php Editor: Introduce WP_Block and WP_Block_List classes 2020-06-25 05:14:43 +00:00
block-parser.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
block-type-registry.php Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes. 2018-12-13 09:43:29 +00:00
block-type.php Editor: Fix code style for constructor arguments added in [47875]. 2020-06-01 16:25:18 +00:00
block.php Editor: Introduce WP_Block and WP_Block_List classes 2020-06-25 05:14:43 +00:00
register.php Editor: Introduce new API method that register block from block.json metadata file 2020-06-23 15:43:19 +00:00
render-reusable.php Blocks: Add the reusable block post type, wp_block. 2018-12-14 02:14:13 +00:00
render.php Editor: Ensure latest comments can only be viewed from public posts. 2020-06-10 19:18:50 +00:00
serialization.php Editor: Add unit tests for v5.3.1 block serialization functions 2019-12-19 18:48:49 +00:00