WordPress.org

Support

Support » Plugins and Hacks » Could you test this ?

Could you test this ?

  • ..submitting the same site many times by refreshing your page.
    I mean that it still inserts in the database each time you refresh the page.
    Could you test it ? I think it’s because of ‘$sql = $wpdb->prepare(“select website_id from “.$table_name.” where website_url = %s.. ‘ in a function called ‘doWeAlreadyHaveThisSubmission’ in the file persistence/UbLinkpartnerMapper.php
    It’s due to the prepared statement which can be sometimes concerned as a cache.
    Do you see what i mean ?
    May be $wpdb->query would be better than $wpdb->prepare ?
    Best regards
    S.

    http://wordpress.org/extend/plugins/ultimate-blogroll/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Could you test this ?’ is closed to new replies.