Opened 6 years ago
Closed 6 years ago
#51493 closed defect (bug) (fixed)
Type error in wp_xmlrpc_server::_prepare_taxonomy()
| Reported by: | johnbillion | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.7 |
| Component: | XML-RPC | Version: | 3.7 |
| Severity: | normal | Keywords: | needs-patch good-first-bug needs-unit-tests |
| Cc: | Focuses: |
Description (last modified by )
There's a type error in the wp_xmlrpc_server::_prepare_taxonomy() method.
If $fields array contains a menu element then it tries to read the show_in_menu property from $_taxonomy, but this is an array not an object.
Probably just needs $_taxonomy changed to $taxonomy but needs testing, ideally needs a unit test and steps to reproduce.
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)
In 49856: