The MU forums have moved to WordPress.org

Bug in function update_site_option() ? (1 post)

  1. macgruder
    Member
    Posted 18 years ago #

    /wp-inst/wp-includes/wpmu-functions.php

    around line 527

    Should this read:
    $wpdb->query( "UPDATE $wpdb->sitemeta SET meta_value = '".$wpdb->escape( $value )."' WHERE meta_key = '$key' AND site_id = '$wpdb->siteid'");
    rather than
    $wpdb->query( "UPDATE $wpdb->sitemeta SET meta_value = '".$wpdb->escape( $value )."' WHERE meta_key = '$key'" );

About this Topic

  • Started 18 years ago by macgruder