[wp-trac] [WordPress Trac] #25155: All functions returning string|WP_Error -- there is no WP_Error::__toString
WordPress Trac
noreply at wordpress.org
Sat Sep 7 15:23:38 UTC 2013
#25155: All functions returning string|WP_Error -- there is no WP_Error::__toString
--------------------------+----------------------
Reporter: tivnet | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.1
Severity: minor | Resolution: wontfix
Keywords: |
--------------------------+----------------------
Changes (by helen):
* milestone: Awaiting Review =>
Comment:
Right - in the given example, if a taxonomy term list table is trying to
show a row for something that isn't a term, we have bigger problems. There
are plenty of checks for `is_wp_error()` around core where it is needed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25155#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list