[wp-trac] [WordPress Trac] #29583: The getter in WP_Error may cause an "Undefined property" notice
WordPress Trac
noreply at wordpress.org
Thu Oct 2 22:19:53 UTC 2014
#29583: The getter in WP_Error may cause an "Undefined property" notice
---------------------------+------------------
Reporter: bjornjohansen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: General | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 bjornjohansen]:
> The same notice will show up in other places as well, due to missing
is_wp_error() checks.
That's the point. A missing `is_wp_error()` check indicates a developer
error, we should not hide these notices.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29583#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list