Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/08/2016 02:43:27 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Tools: Fix undeclared variables and incorrect variable types, for improved PHP 7.1 compatibility.

This will quiet down most of our continuous integration noise.

Props hellofromTonya. Fixes #3031.

File:
1 edited

Legend:

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

    r6113 r6135  
    21952195        // Default to public status
    21962196        if ( empty( $post_stati ) ) {
    2197             $post_stati[] = bbp_get_public_status_id();
     2197            $post_stati = array( bbp_get_public_status_id() );
    21982198
    21992199        // Split the status string
Note: See TracChangeset for help on using the changeset viewer.