Make WordPress Core


Ignore:
Timestamp:
10/02/2019 11:21:17 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Remove unused $wpdb global in WP_Privacy_Requests_Table::prepare_items().

Props david.binda.
Fixes #48178.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-privacy-requests-table.php

    r45932 r46374  
    268268         */
    269269        public function prepare_items() {
    270                 global $wpdb;
    271 
    272270                $this->items    = array();
    273271                $posts_per_page = $this->get_items_per_page( $this->request_type . '_requests_per_page' );
Note: See TracChangeset for help on using the changeset viewer.