Changeset 6191 for trunk/src/includes/common/functions.php
- Timestamp:
- 12/28/2016 04:24:52 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r6141 r6191 1758 1758 $post_status = "'" . implode( "', '", $post_status ) . "'"; 1759 1759 $bbp_db = bbp_db(); 1760 $query = $bbp_db->prepare( "SELECT ID FROM {$bbp_db->posts} WHERE post_parent = %d AND post_status IN ( {$post_status} ) AND post_type = '%s' ORDER BY ID DESC;", $parent_id, $post_type );1760 $query = $bbp_db->prepare( "SELECT ID FROM {$bbp_db->posts} WHERE post_parent = %d AND post_status IN ( {$post_status} ) AND post_type = %s ORDER BY ID DESC", $parent_id, $post_type ); 1761 1761 $child_ids = (array) $bbp_db->get_col( $query ); 1762 1762
Note: See TracChangeset
for help on using the changeset viewer.