Skip to:
Content

bbPress.org

Changeset 6673


Ignore:
Timestamp:
08/28/2017 02:14:53 AM (4 years ago)
Author:
johnjamesjacoby
Message:

Common: cast return value to array in bbp_pre_get_posts_normalize_forum_visibility().

Trunk, for 2.6. See #3031.

File:
1 edited

Legend:

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

    r6672 r6673  
    20602060
    20612061        // Get any existing meta queries
    2062         $meta_query   = $posts_query->get( 'meta_query', array() );
     2062        $meta_query   = (array) $posts_query->get( 'meta_query', array() );
    20632063
    20642064        // Add our meta query to existing
Note: See TracChangeset for help on using the changeset viewer.