• When trying to uninstall plugin there is an exception thrown in uninstall.php file
    on 11 row

    <em>$blogids=$wpdb->get_col($wpdb->prepare("SELECT blog_id FROM $wpdb->blogs"));</em>

    the problem is that prepare function requires second parameter,
    so if it is modified to

    <em>$blogids = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM '%s'", $wpdb->blogs ) );</em>

    it works!

    Thanks

    Tigran Tovmasyan

Viewing 1 replies (of 1 total)
  • Thanks Tigran,

    This is indeed an error I’ve overlooked since WP 3.5. Thanks for bringing it to my attention, and I’ll be sure to include the fix in a future patch.

    Kevin

Viewing 1 replies (of 1 total)

The topic ‘Google Doc Embedder Uninstalling’ is closed to new replies.