Make WordPress Core


Ignore:
Timestamp:
01/20/2010 01:14:05 AM (16 years ago)
Author:
wpmuguru
Message:

sync single and multisite cookie hash, remove extraneous code, See #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r12769 r12771  
    688688--The Team @ SITE_NAME')", $network_id ) );
    689689    $wpdb->query( $wpdb->prepare( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, %d, 'first_post', 'Welcome to <a href=\"SITE_URL\">SITE_NAME</a>. This is your first post. Edit or delete it, then start blogging!' )", $network_id ) );
    690     $weblog_title = stripslashes( $_POST[ 'weblog_title' ] );
     690    //@todo - network admins should have a method of editing the network siteurl (used for cookie hash)
     691    $wpdb->query( $wpdb->prepare( "INSERT INTO ".$wpdb->sitemeta." (meta_id, site_id, meta_key, meta_value) VALUES (NULL, %d, 'siteurl', %s)", $network_id, get_option( 'siteurl' ) ) );
    691692
    692693    $current_site->domain = $domain;
Note: See TracChangeset for help on using the changeset viewer.