[wp-trac] [WordPress Trac] #48178: Unused global $wpdb in WP_Privacy_Requests_Table::prepare_items
WordPress Trac
noreply at wordpress.org
Mon Sep 30 08:42:02 UTC 2019
#48178: Unused global $wpdb in WP_Privacy_Requests_Table::prepare_items
-------------------------+-----------------------------
Reporter: david.binda | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: 5.0
Severity: minor | Keywords:
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48178>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list