Changes between Initial Version and Version 1 of Ticket #28319, comment 24
- Timestamp:
- 01/07/2015 03:20:00 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28319, comment 24
initial v1 1 1 > In this specific case get_terms_to_edit() returns a WP_Error for a taxonomy that Schrödinger exists, it's then used as a string causing a fatal in the admin. 2 2 3 Then WordPress needs to add a is_wp_ check() to the result of get_terms_to_edit() and it's friends before attempting to use it as a string then. I've created #30472 for that.3 Then WordPress needs to add a is_wp_error() to the result of get_terms_to_edit() and it's friends before attempting to use it as a string then. I've created #30472 for that. 4 4 5 5 I'm not against this patch, but I do wonder if it'll actually be as useful as expected, or if it's just a hack to fix that one situation.