Skip to:
Content

BuddyPress.org

Changeset 1032 for trunk/bp-core.php


Ignore:
Timestamp:
02/09/2009 06:52:51 AM (17 years ago)
Author:
apeatling
Message:

Added nonce security checks to all BuddyPress actions. Fixes #454

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1030 r1032  
    240240    if ( is_site_admin() ) {
    241241        /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
    242         if ( ( false == $wpdb->get_var( "SHOW TABLES LIKE '%{$bp->core->table_name_notifications}%'" ) ) || ( get_site_option('bp-core-db-version') < BP_CORE_DB_VERSION )  )
     242        if ( ( !$wpdb->get_var( "SHOW TABLES LIKE '%{$bp->core->table_name_notifications}%'" ) ) || ( get_site_option('bp-core-db-version') < BP_CORE_DB_VERSION )  )
    243243            bp_core_install();
    244244    }
Note: See TracChangeset for help on using the changeset viewer.