#56072 closed defect (bug) (fixed)
REST API: menu items 'type_label' schema defined twice
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.1 | Priority: | normal |
| Severity: | normal | Version: | 5.9 |
| Component: | REST API | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
The schema for the type_label property is defined twice in WP_REST_Menu_Items_Controller::get_item_schema(). The linked Pull Request removes the second definition (but keeps its more-descriptive description).
Change History (5)
This ticket was mentioned in PR #2882 on WordPress/wordpress-develop by dlh01.
4 years ago
#1
#3
@
4 years ago
- Owner set to audrasjb
- Status changed from new to accepted
Hi,
The PR looks good to me. Self-assnigning for commit.
4 years ago
#5
Committed in https://core.trac.wordpress.org/changeset/53678
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/56072