The MU forums have moved to WordPress.org

table wp_1_links field link_notes defined as NOT NULL but... (3 posts)

  1. max.favilli
    Member
    Posted 15 years ago #

    When the db table wp_1_links is created (and of course wp_2_links, etc...) the field link_notes is defined as NOT NULL.

    But the following inserts, at least the "install" ones, does't provide any value.

    INSERT INTO 'wp_1_links' ('link_url','link_name','link_owner','link_rss') VALUES ('http://wordpress.com/','WordPress.com','1','http://wordpress.com/feed/')

    Is that correct?

  2. max.favilli
    Member
    Posted 15 years ago #

    I think it's a bug in function install_blog_defaults in wpmu-functions.php file.

    Right?

  3. max.favilli
    Member
    Posted 15 years ago #

    Seems like the same problem occurs also for field to_ping in table wp_1_posts, in the same function install_blog_defaults, for the first post, the "Hello world" one, is not set.
    But it is defined as NOT NULL.

About this Topic

  • Started 15 years ago by max.favilli
  • Latest reply from max.favilli