Opened 3 years ago
Closed 3 years ago
#53518 closed defect (bug) (fixed)
Add missing `api_version` to WP_Block_Type arg list
Reported by: | mbabker | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | trivial | Version: | 5.6 |
Component: | Editor | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
Since WordPress 5.6, the api_version can be specified when registering a block type, but this is not included in the list specified in the WP_Block_Type constructor.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Since WordPress 5.6, the
api_version
can be specified when registering a block type, but this is not included in the list specified in theWP_Block_Type
constructor. This PR adds the argument to the list.Fixes https://core.trac.wordpress.org/ticket/53518