Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#41768 closed defect (bug) (fixed)

Remove unused global imports for `$wpdb` in `get_terms()` and `wp_get_object_terms()`

Reported by: ocean90 Owned by: ocean90
Priority: normal Milestone: 4.9
Component: Taxonomy Version: 4.6
Severity: normal Keywords:
Cc: Focuses:

Description

Unused since the introduction of WP_Term_Query.

Change History (1)

#1 @ocean90
9 years ago

  • Owner set to ocean90
  • Resolutionfixed
  • Status newclosed

In 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.

Note: See TracTickets for help on using tickets.