Privacy: Remove unused $wpdb
global in WP_Privacy_Requests_Table::prepare_items()
.
Props david.binda. Fixes #48178. git-svn-id: https://develop.svn.wordpress.org/trunk@46374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
65c94d5cd8
commit
ee03b05605
@ -267,8 +267,6 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
|||||||
* @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(
|
||||||
|
Loading…
Reference in New Issue
Block a user