Skip to content

Commit

Permalink
Privacy: Remove unused $wpdb global in `WP_Privacy_Requests_Table::…
Browse files Browse the repository at this point in the history
…prepare_items()`.

Props david.binda.
Fixes #48178.

git-svn-id: https://develop.svn.wordpress.org/trunk@46374 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Oct 2, 2019
1 parent 65c94d5 commit ee03b05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wp-admin/includes/class-wp-privacy-requests-table.php
Expand Up @@ -267,8 +267,6 @@ public function process_bulk_action() {
* @since 5.1.0 Added support for column sorting. * @since 5.1.0 Added support for column sorting.
*/ */
public function prepare_items() { public function prepare_items() {
global $wpdb;

$this->items = array(); $this->items = array();
$posts_per_page = $this->get_items_per_page( $this->request_type . '_requests_per_page' ); $posts_per_page = $this->get_items_per_page( $this->request_type . '_requests_per_page' );
$args = array( $args = array(
Expand Down

0 comments on commit ee03b05

Please sign in to comment.