Add @static* annotations where they are missing.
Initialize all static vars that are not, most to `null`. See #32444. Built from https://develop.svn.wordpress.org/trunk@32650 git-svn-id: http://core.svn.wordpress.org/trunk@32620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -219,7 +219,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
* @return boolean
|
||||
*/
|
||||
public function _search_callback( $plugin ) {
|
||||
static $term;
|
||||
static $term = null;
|
||||
if ( is_null( $term ) )
|
||||
$term = wp_unslash( $_REQUEST['s'] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user