Make WordPress Core


Ignore:
Timestamp:
05/29/2015 03:42:40 PM (11 years ago)
Author:
wonderboymusic
Message:

Add @static* annotations where they are missing.
Initialize all static vars that are not, most to null.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r32644 r32650  
    163163         */
    164164        public function _search_callback( $theme ) {
    165                 static $term;
     165                static $term = null;
    166166                if ( is_null( $term ) )
    167167                        $term = wp_unslash( $_REQUEST['s'] );
Note: See TracChangeset for help on using the changeset viewer.