Changeset 5618
- Timestamp:
- 07/03/2017 10:48:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r5617 r5618 227 227 $user_id = bbp_get_user_id( $user_id ); 228 228 if ( empty( $user_id ) ) { 229 return false;229 return 0; 230 230 } 231 231 232 232 if ( ! class_exists( 'WordPressdotorg\Forums\Plugin' ) ) { 233 return false;233 return 0; 234 234 } 235 235 … … 239 239 WHERE post_type = 'topic' 240 240 AND post_status IN ( 'publish', 'closed' ) 241 AND post_parent = % s241 AND post_parent = %d 242 242 AND post_author = %d", 243 243 WordPressdotorg\Forums\Plugin::REVIEWS_FORUM_ID,
Note: See TracChangeset
for help on using the changeset viewer.