Opened 16 months ago
Closed 16 months ago
#48178 closed enhancement (fixed)
Unused global $wpdb in WP_Privacy_Requests_Table::prepare_items
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | minor | Version: | 5.0 |
Component: | Privacy | Keywords: | |
Focuses: | Cc: |
Description
The global $wpdb
variable in WP_Privacy_Requests_Table::prepare_items
is not being used. It has actually never been used inside the method. It should be safe to remove it.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
LGTM. The function uses a new
WP_Query
instance, not$wpdb
.