WordPress.org

Support

Support » Plugins and Hacks » Prefix Bug

Prefix Bug

  • doublesharp
    Member

    @doublesharp

    There is a bug in the user SQL query for multisite when using a non-standard database prefix – replacing wp_. In /wp-crm/core/class_functions.php on lines on 1377 and 1380…

    Broken: meta_key = 'wp_user_level'
    Fixed: meta_key = '{$wpdb->prefix}user_level'

    Broken: meta_key = 'wp_{$blog_id}_user_level'
    Fixed: meta_key = '{$wpdb->prefix}{$blog_id}_user_level'

    http://wordpress.org/extend/plugins/wp-crm/

  • The topic ‘Prefix Bug’ is closed to new replies.