[wp-trac] [WordPress Trac] #56331: Confusing argument name in `wp_set_post_terms()`

WordPress Trac noreply at wordpress.org
Thu Aug 4 10:17:14 UTC 2022


#56331: Confusing argument name in `wp_set_post_terms()`
----------------------------------------------+---------------------
 Reporter:  desrosj                           |       Owner:  (none)
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  6.1
Component:  Posts, Post Types                 |     Version:  2.8
 Severity:  normal                            |  Resolution:
 Keywords:  good-first-bug changes-requested  |     Focuses:
----------------------------------------------+---------------------
Changes (by costdev):

 * keywords:  good-first-bug => good-first-bug changes-requested


Comment:

 Hi @hilayt24, thanks for the patch! You'll also need to change `$tags`
 inside the function to `$terms`.

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


More information about the wp-trac mailing list