[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
Fri Apr 20 10:06:07 UTC 2012


#20072: get_the_tag_list should accept same arguments as get_the_category_list
----------------------------+---------------------
 Reporter:  fireproofsocks  |       Owner:  duck_
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  3.4
Component:  General         |     Version:  3.3.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [20549]:
 {{{
 #!CommitTicketReference repository="" revision="20549"
 Add $id parameter to get_the_tag_list() for consistency with
 get_the_(category|term)_list(). Props kawauso. Fixes #20072.

 Also remove 'default' value of 0 for $id parameter in generic taxonomy
 functions
 as it is a required parameter, and fix a notice when get_the_terms() is
 called
 when $id = 0 and the $post global is not an object.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20072#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list