Opened 8 years ago
Closed 8 years ago
#44834 closed defect (bug) (fixed)
Unable to set term meta in create term request
| Reported by: | joehoyle | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.9 |
| Component: | REST API | Version: | 4.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
There's a typo in https://core.trac.wordpress.org/browser/trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php#L457 where the wrong ID is passed to update_value. This makes it impossible to set meta on a create request.
Attachments (1)
Change History (13)
This ticket was mentioned in Slack in #core-restapi by joehoyle. View the logs.
8 years ago
#5
@
8 years ago
- Keywords fixed-major added
- Resolution fixed
- Status closed → reopened
Reopening for 4.9.9 consideration.
#7
@
8 years ago
- Resolution fixed
- Status closed → reopened
Reopening as [43637] is causing the tests to fail on the 4.9 branch.
#9
@
8 years ago
- Resolution → fixed
- Status assigned → closed
Failures were caused by missing test_tag_single fixture, fixed in [43646].
Version 0, edited 8 years ago by
(next)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I tested the patch, and it worked as expected.