[wp-trac] [WordPress Trac] #9109: get_terms should return a
reference to the error object, not the object itself
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 12 08:00:07 GMT 2009
#9109: get_terms should return a reference to the error object, not the object
itself
--------------------------+-------------------------------------------------
Reporter: nbachiyski | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Taxonomy | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
{{{&get_terms()}}} returns {{{new WP_Error()}}} on error. Given its
prototype, it should return a reference to the error object.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9109>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list