[wp-trac] [WordPress Trac] #20072: get_the_tag_list should accept same arguments as get_the_category_list
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 19 18:50:45 UTC 2012
#20072: get_the_tag_list should accept same arguments as get_the_category_list
----------------------------+--------------------
Reporter: fireproofsocks | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: General | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+--------------------
Comment (by duck_):
[attachment:20072.2.diff 20072.2.diff] also removes the default value for
the $id parameter on some of the term functions. This parameter isn't
optional as it's followed by the non-optional $taxonomy. Also fixes a
notice when passing $id = 0 to get_the_terms() and global $post isn't an
object.
Also see #17558 for $id = 0 stuff.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20072#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list