Changeset 4500 for trunk/includes/common/functions.php
- Timestamp:
- 11/24/2012 06:54:00 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/includes/common/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/functions.php
r4499 r4500 649 649 return true; 650 650 651 // Define global to use get_meta_sql() and get_var() methods 652 global $wpdb; 653 651 654 $r = bbp_parse_args( $post_data, array( 652 655 'post_author' => 0, … … 677 680 $query .= " LIMIT 1"; 678 681 $dupe = apply_filters( 'bbp_check_for_duplicate_query', $query, $r ); 679 680 global $wpdb;681 682 682 683 if ( $wpdb->get_var( $dupe ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.