Changes between Initial Version and Version 1 of Ticket #30415, comment 6
- Timestamp:
- 11/20/2014 10:40:01 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30415, comment 6
initial v1 4 4 > @return string|WP_Error A list of category parents on success, WP_Error on failure. 5 5 6 why then `return false;` ? :-) 6 why then `return false;` ? :-) Wheres the `new WP_Error` ? 7 7 8 8 L1421 … … 11 11 shouldn't you call `get_term_parents()` ? 12 12 13 and a note from my side: Wouldn't it better to implement a function which returns the a tree (array) with parent => child ?13 and a note from my side: Wouldn't it better to implement a function ( `get_term_parent_tree()`) which returns the a tree (array) with parent => child ? Instead we should implement a function called `get_term_parent_list_html()`.