[wp-trac] [WordPress Trac] #61154: Fix the 'attributes' dynamic property in WP_Block
WordPress Trac
noreply at wordpress.org
Thu Jun 20 20:35:10 UTC 2024
#61154: Fix the 'attributes' dynamic property in WP_Block
-------------------------------------------------+-------------------------
Reporter: antonvlasenko | Owner:
| hellofromTonya
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.7
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses: php-
testing php82 has-testing-info | compatibility
-------------------------------------------------+-------------------------
Changes (by antonvlasenko):
* keywords: has-patch has-unit-tests needs-testing php82 => has-patch has-
unit-tests needs-testing php82 has-testing-info
Comment:
Replying to [comment:7 hmbashar]:
> How can I test the issue?
That's an excellent question, @hmbashar.
It is somewhat challenging to outline precise steps for testing this, as
it primarily involves refactoring.
Ideally, PHPUnit tests that have been added in my PR should ensure that
the `WP_Block` class functions correctly.
Here's my best approach for testing this PR:
1. Review the code changes and assess whether the architecture is fine.
2. Ensure GitHub CI jobs pass.
3. Use the Site Editor. Test adding, updating and deleting blocks,
ensuring there are no `WP_Block` related errors in the error log.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61154#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list