Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/10/2017 02:48:42 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Fix undeclared arrays for PHP 7.1 compatibility.

Props hellofromTonya. See #3031. (2.5 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/forums/functions.php

    r6417 r6647  
    17981798        // Default to public status
    17991799        if ( empty( $post_stati ) ) {
    1800             $post_stati[] = bbp_get_public_status_id();
     1800            $post_stati = array( bbp_get_public_status_id() );
    18011801
    18021802        // Split the status string
Note: See TracChangeset for help on using the changeset viewer.