Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41768 closed defect (bug) (fixed)

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

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

Description

Unused since the introduction of WP_Term_Query.

Change History (1)

#1 @ocean90
7 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

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.