#51606 closed defect (bug) (fixed)
Fix WP_Block_Supports class compatibility with Gutenberg-provided class
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
The WP_Block_Supports class is a new addition that will come with 5.6 and acts as a register of the kind of features a block supports. It's already on WordPress 5.6 beta1 and we need to fix how core and the plugin play together in a number of situations:
- plugin + WordPress < 5.6 (core has a WP_Block_Supports class)
- plugin + WordPress >= 5.6 (core doesn't have a WP_Block_Supports class)
Change History (10)
This ticket was mentioned in PR #640 on WordPress/wordpress-develop by nosolosw.
4 years ago
#1
- Keywords has-patch has-unit-tests added
#2
@
4 years ago
- Keywords has-patch has-unit-tests removed
There's a Pull Request to fix this at https://github.com/WordPress/wordpress-develop/pull/640
#3
@
4 years ago
The pull request has been udpated and all tests are passing. This is ready for review/commit.
youknowriad commented on PR #640:
4 years ago
#4
I won't be able to test this today but it's looking good to me if anyone wants to ship it :)
hellofromtonya commented on PR #640:
4 years ago
#9
Merged with changeset https://core.trac.wordpress.org/changeset/49310 and https://core.trac.wordpress.org/changeset/49312
Related:
The WP_Block_Supports class is a new addition that will come with 5.6 and acts as a register of the kind of features a block supports. It's already on WordPress 5.6 beta1 and we need to fix how core and the plugin play together in a number of situations: