Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/03/2020 01:20:09 PM (4 months 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-admin/export.php

    r2425 r7110  
    4646                $data .= str_repeat("\t", $tabs + 1) . "<meta key='$mk'><![CDATA[$mv]]></meta>\n";
    4747        } else {
    48             if ( '!' == $k{0} ) {
     48            if ( '!' == $k[0] ) {
    4949                $k = substr($k, 1);
    5050                $v = "<![CDATA[$v]]>";
     
    6666    $r = array();
    6767    foreach ( $translate as $prop => $export ) {
    68         if ( '?' == $export{0} ) {
     68        if ( '?' == $export[0] ) {
    6969            $export = substr($export, 1);
    7070            if ( !$data[$prop] ) {
Note: See TracChangeset for help on using the changeset viewer.