Skip to:
Content

BuddyPress.org

Changeset 1032 for trunk/bp-blogs.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-blogs.php

    r1030 r1032  
    110110    if ( is_site_admin() ) {
    111111        /* Need to check db tables exist, activate hook no-worky in mu-plugins folder. */
    112         if ( ( false == $wpdb->get_var("SHOW TABLES LIKE '%" . $bp->blogs->table_name . "%'") ) || ( get_site_option('bp-blogs-db-version') < BP_BLOGS_DB_VERSION )  )
     112        if ( ( !$wpdb->get_var("SHOW TABLES LIKE '%" . $bp->blogs->table_name . "%'") ) || ( get_site_option('bp-blogs-db-version') < BP_BLOGS_DB_VERSION )  )
    113113            bp_blogs_install();
    114114    }
Note: See TracChangeset for help on using the changeset viewer.