[wp-trac] [WordPress Trac] #34245: Make the $taxonomy parameter in get_term_field() optional

WordPress Trac noreply at wordpress.org
Sun Oct 11 03:50:55 UTC 2015


#34245: Make the $taxonomy parameter in get_term_field() optional
--------------------------------------+---------------------------
 Reporter:  DrewAPicture              |       Owner:  boonebgorges
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  4.4
Component:  Taxonomy                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------

Comment (by DrewAPicture):

 @boonebgorges: Addressed your feedback in [attachment:34245.3.diff] and
 added two tests, one each for the two `WP_Error` codes that might be
 returned via `get_term()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34245#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list