Skip to:
Content

bbPress.org

Changeset 6543


Ignore:
Timestamp:
06/14/2017 02:17:05 PM (2 years ago)
Author:
johnjamesjacoby
Message:

Statistics: Define the $statistics array.

This change prevents debug notices, particularly in higher PHP versions (+7.0)

See #2770.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/functions.php

    r6542 r6543  
    482482    ) ) );
    483483
     484    // Define return value
     485    $statistics = array();
     486
    484487    // Loop through and store the integer and i18n formatted counts.
    485488    foreach ( $counts as $key => $count ) {
Note: See TracChangeset for help on using the changeset viewer.