Changeset 53923
- Timestamp:
- 08/23/2022 01:30:46 PM (16 months ago)
- Location:
- branches/6.0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
-
branches/6.0/src/wp-includes/blocks.php
r53336 r53923 287 287 'category' => 'category', 288 288 'parent' => 'parent', 289 'ancestor' => 'ancestor', 289 290 'icon' => 'icon', 290 291 'description' => 'description', -
branches/6.0/tests/phpunit/data/blocks/notice/block.json
r51599 r53923 5 5 "category": "common", 6 6 "parent": [ 7 "core/group" 7 "tests/group" 8 ], 9 "ancestor": [ 10 "tests/section" 8 11 ], 9 12 "providesContext": { -
branches/6.0/tests/phpunit/tests/blocks/register.php
r53268 r53923 382 382 $this->assertSame( 'Notice', $result->title ); 383 383 $this->assertSame( 'common', $result->category ); 384 $this->assertSameSets( array( 'core/group' ), $result->parent ); 384 $this->assertSameSets( array( 'tests/group' ), $result->parent ); 385 $this->assertSameSets( array( 'tests/section' ), $result->ancestor ); 385 386 $this->assertSame( 'star', $result->icon ); 386 387 $this->assertSame( 'Shows warning, error or success notices…', $result->description );
Note: See TracChangeset
for help on using the changeset viewer.