Changeset 5038 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-moderation/inc/class-plugin.php
- Timestamp:
- 03/02/2017 12:03:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-moderation/inc/class-plugin.php
r5002 r5038 96 96 public function posts_where( $where ) { 97 97 global $wpdb; 98 if ( bbp_is_single_forum() || bbp_is_single_topic() ) {98 if ( did_action( 'wp' ) && ( bbp_is_single_forum() || bbp_is_single_topic() ) ) { 99 99 if ( 100 100 strpos( $where, $wpdb->prepare( "$wpdb->posts.post_type = %s", bbp_get_topic_post_type() ) ) !== false
Note: See TracChangeset
for help on using the changeset viewer.