Changeset 6415 for trunk/src/includes/replies/functions.php
- Timestamp:
- 05/19/2017 03:25:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r6400 r6415 1213 1213 1214 1214 // Loop detection: If the ancestor has been seen before, break. 1215 if ( empty( $ancestor->post_parent ) || ( $grampy_id === $reply_id ) || in_array( $grampy_id, $ancestors ) ) {1215 if ( empty( $ancestor->post_parent ) || ( $grampy_id === $reply_id ) || in_array( $grampy_id, $ancestors, true ) ) { 1216 1216 break; 1217 1217 } … … 1352 1352 1353 1353 // Invalid move option 1354 if ( empty( $move_option ) || ! in_array( $move_option, array( 'existing', 'topic' ) ) ) {1354 if ( empty( $move_option ) || ! in_array( $move_option, array( 'existing', 'topic' ), true ) ) { 1355 1355 bbp_add_error( 'bbp_move_reply_option', __( '<strong>ERROR</strong>: You need to choose a valid move option.', 'bbpress' ) ); 1356 1356
Note: See TracChangeset
for help on using the changeset viewer.