Make WordPress Core


Ignore:
Timestamp:
05/29/2015 03:42:40 PM (9 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-filesystem-ftpext.php

    r31815 r32650  
    380380     */
    381381    public function parselisting($line) {
    382         static $is_windows;
     382        static $is_windows = null;
    383383        if ( is_null($is_windows) )
    384384            $is_windows = stripos( ftp_systype($this->link), 'win') !== false;
Note: See TracChangeset for help on using the changeset viewer.