Opened 4 years ago
Closed 4 years ago
#51493 closed defect (bug) (fixed)
Type error in wp_xmlrpc_server::_prepare_taxonomy()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | normal | Version: | 3.7 |
Component: | XML-RPC | Keywords: | needs-patch good-first-bug needs-unit-tests |
Focuses: | Cc: |
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.
In 49856: