Changes between Version 2 and Version 3 of Ticket #53152, comment 5
- Timestamp:
- 08/15/2021 09:24:46 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53152, comment 5
v2 v3 10 10 * or `wp_set_object_terms()` should be locked down a bit more - possibly with an error if `is_string( $term ) && sanitize_title( $term ) !== $term` to rule out non-slug string values - a breaking change for existing sites that pass the term name 11 11 12 If it's the latter, `wp_remove_object_terms()` may need to be updated too. I can open another ticket and look into this if this is the best direction.12 If it's the latter, `wp_remove_object_terms()` may need to be updated too. If this is the best direction, I can look into this and open another ticket if the issue exists there too. 13 13 14 14 It would be great if a dev could give some guidance on how to proceed with this.