Changes between Initial Version and Version 1 of Ticket #29839, comment 41
- Timestamp:
- 11/16/2014 08:00:55 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29839, comment 41
initial v1 1 You replied before I could post the patch :) Yes, I was passing an int and yes, I'll never forget that as long as I live now! 1 You replied before I could post the patch :) 2 3 `wp_set_object_terms()` requires that a non-hierarchical taxonomy pass slugs, not IDs, and I was passing IDs. The fix is to use `get_term()` to get the object for the created term and use that from that point on. 2 4 3 5 I'll break up the two tests and post the patch shortly.