Changeset 6415 for trunk/src/includes/common/functions.php
- Timestamp:
- 05/19/2017 03:25:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r6400 r6415 138 138 139 139 // Post is not a topic or reply, return 140 if ( ! in_array( $data['post_type'], array( bbp_get_topic_post_type(), bbp_get_reply_post_type() ) ) ) {140 if ( ! in_array( $data['post_type'], array( bbp_get_topic_post_type(), bbp_get_reply_post_type() ), true ) ) { 141 141 return $data; 142 142 } … … 1408 1408 1409 1409 // Noop if WP core supports this already 1410 if ( in_array( 'post_parent__in', $wp->private_query_vars ) ) {1410 if ( in_array( 'post_parent__in', $wp->private_query_vars, true ) ) { 1411 1411 return $where; 1412 1412 }
Note: See TracChangeset
for help on using the changeset viewer.