Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/06/2023 09:26:21 AM (14 months ago)
Author:
imath
Message:

Remove global vars declarations when corresponding vars are not used

Props upadalavipul

Closes https://github.com/buddypress/buddypress/pull/96
Fixes #8882

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-optouts-list-table.php

    r13433 r13469  
    5353     */
    5454    public function prepare_items() {
    55         global $usersearch;
    56 
    5755        $search   = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '';
    5856        $per_page = $this->get_items_per_page( str_replace( '-', '_', "{$this->screen->id}_per_page" ) );
Note: See TracChangeset for help on using the changeset viewer.