Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28319, comment 24


Ignore:
Timestamp:
01/07/2015 03:20:00 AM (11 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28319, comment 24

    initial v1  
    11> 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.
    22
    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.
     3Then 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.
    44
    55I'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.