Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/04/2012 12:03:40 PM (13 years ago)
Author:
djpaul
Message:

Fix alot of WPDB->Prepare() warnings in the 1.6 branch. See #4654

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.6/bp-core/admin/bp-core-functions.php

    r6137 r6557  
    218218     */
    219219    if ( bp_is_active( 'blogs' ) ) {
    220         $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$bp->blogs->table_name}" ) );
     220        $count = $wpdb->get_var( "SELECT COUNT(*) FROM {$bp->blogs->table_name}" );
    221221
    222222        if ( empty( $count ) ) {
Note: See TracChangeset for help on using the changeset viewer.