Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/03/2020 01:20:09 PM (3 years ago)
Author:
xknown
Message:

PHP 7.4 Compat: Use square brackets and remove create_function calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-includes/class.bb-dir-map.php

    r6153 r7110  
    7474            if ( in_array($this->_current_file, array('.', '..')) )
    7575                continue;
    76             if ( !$this->dots && '.' == $this->_current_file{0} )
     76            if ( !$this->dots && '.' == $this->_current_file[0] )
    7777                continue;
    7878
Note: See TracChangeset for help on using the changeset viewer.