Opened 5 years ago
Closed 5 years ago
#53518 closed defect (bug) (fixed)
Add missing `api_version` to WP_Block_Type arg list
| Reported by: | mbabker | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.8 |
| Component: | Editor | Version: | 5.6 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Since WordPress 5.6, the
api_versioncan be specified when registering a block type, but this is not included in the list specified in theWP_Block_Typeconstructor. This PR adds the argument to the list.Fixes https://core.trac.wordpress.org/ticket/53518