Changeset 3935 for branches/plugin/bbp-includes/bbp-topic-template.php
- Timestamp:
- 06/01/2012 11:37:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-topic-template.php
r3931 r3935 168 168 169 169 // If any posts have been excluded specifically, Ignore those that are sticky. 170 if ( !empty( $stickies ) && !empty( $post__not_in ) ) 170 if ( !empty( $stickies ) && !empty( $post__not_in ) ) { 171 171 $stickies = array_diff( $stickies, $post__not_in ); 172 } 172 173 173 174 // Fetch sticky posts that weren't in the query results … … 178 179 'post_type' => bbp_get_topic_post_type(), 179 180 'post_parent' => 'any', 180 'post_status' => $ post_status,181 'post_status' => $default_post_status, 181 182 'include' => $stickies 182 183 );
Note: See TracChangeset
for help on using the changeset viewer.