[wp-trac] [WordPress Trac] #41768: Remove unused global imports for `$wpdb` in `get_terms()` and `wp_get_object_terms()`

WordPress Trac noreply at wordpress.org
Thu Aug 31 12:25:16 UTC 2017


#41768: Remove unused global imports for `$wpdb` in `get_terms()` and
`wp_get_object_terms()`
--------------------------+----------------------
 Reporter:  ocean90       |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Taxonomy      |     Version:  4.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"41326"]:
 {{{
 #!CommitTicketReference repository="" revision="41326"
 Taxonomy: Remove unused global imports for `$wpdb` in `get_terms()` and
 `wp_get_object_terms()`.

 Also remove incorrect `@global` tags for `$wpdb` and `$wp_filter`.

 Fixes #41768.
 }}}

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


More information about the wp-trac mailing list