PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

User Registration add-on 1.5 beta assumes "wp_" table prefix

  1. Hi,
    There is a bug in the User Registration Add-on 1.5 beta.

    In the function get_user_meta_keys() around line 3397, it assumes that the WordPress table prefix is 'wp_'
    The line:

    $raw_keys = $wpdb->get_results("select distinct meta_key from wp_usermeta");

    should be

    $raw_keys = $wpdb->get_results("select distinct meta_key from {$wpdb->usermeta}");

    Is there any roadmap to get this out of beta? Is there more functionality to be added?

    Mike

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink
  2. David Peralty

    I'll send a message about this to our developers right now. Thanks!

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink
  3. David Peralty

    I've been told this has been fixed in an unreleased version of the Add-on. If you e-mail me at peralty@rocketgenius.com I'll send you that fixed release now. All my best!

    Posted 11 years ago on Wednesday January 9, 2013 | Permalink

This topic has been resolved and has been closed to new replies.