Changeset 5311
- Timestamp:
- 03/05/2014 07:20:02 PM (11 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r5260 r5311 1762 1762 'key' => '_bbp_forum_id', 1763 1763 'value' => bbp_get_forum_id(), 1764 'type' => ' numeric',1764 'type' => 'NUMERIC', 1765 1765 'compare' => '=' 1766 1766 ) ); … … 1806 1806 1807 1807 // Exclude private/hidden forums if not looking at single 1808 if ( empty( $select_query_vars ) ) 1808 if ( empty( $select_query_vars ) ) { 1809 1809 $meta_query = array( bbp_exclude_forum_ids( 'meta_query' ) ); 1810 } 1810 1811 1811 1812 // The query -
trunk/src/includes/forums/functions.php
r5299 r5311 1750 1750 'key' => '_bbp_forum_id', 1751 1751 'value' => implode( ',', $forum_ids ), 1752 'type' => ' numeric',1752 'type' => 'NUMERIC', 1753 1753 'compare' => ( 1 < count( $forum_ids ) ) ? 'NOT IN' : '!=' 1754 1754 );
Note: See TracChangeset
for help on using the changeset viewer.