Support » Plugin: Bainternet User Ranks » This plugin is broken on 3.0.5

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s not broken it’s just a warning I have fixed it by replacing this line in the file: /wp-content/plugins/bainternet-user-ranks/baur.class.php

    Replace this line:

    $r = $wpdb->get_results( $wpdb->prepare( "SELECT user_id FROM $wpdb->usermeta WHERE meta_key = 'ba_ur'"));

    With this:

    $r = $wpdb->get_results( $wpdb->prepare( "SELECT user_id FROM $wpdb->usermeta WHERE meta_key = 'ba_ur'", $id));

    Hope this helps you.

    Thank you, that fixed it!

    Plugin Author Bainternet

    (@bainternet)

    thanks,
    Fixed in 1.5.2!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘This plugin is broken on 3.0.5’ is closed to new replies.