WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Dribbble Shots] Won't save username in 3.4 trunk

[Plugin: WP Dribbble Shots] Won't save username in 3.4 trunk

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having exactly the same problem in WP 3.4.2.
    Any solution to this yet?

    I noticed there were some errors in the plugin, and i solved the problem by changing a few lines in wp-dribbble-shots.php.

    I changed line 71 from
    $player_id = ($player_id) ? get_option('dribbble_player_id') : $player_id;
    to
    $player_id = ($player_id) ? $player_id : get_option('dribbble_player_id');

    I changed line 101 from (note the typo: “dribble”)
    echo '<input type="text" id="dribble_player_id" name="dribbble_player_id" value="'.esc_attr($player_id).'" class="regular-text"/>';
    to
    echo '<input type="text" id="dribbble_player_id" name="dribbble_player_id" value="'.esc_attr($player_id).'" class="regular-text"/>';

    I added a line at the end of the function update_dribbble_player_id after line 105
    return $data;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Dribbble Shots] Won't save username in 3.4 trunk’ is closed to new replies.