Support » Plugin: WP Multi Network » Wrong link under Dasboard > My Networks

  • I use the WP Multi Network to separate Blogs for each language.
    Each network has its language main blog:,

    After some tests everything works fine! 🙂

    But I have a small problem with the default dashboard network overview.

    When I go to “Network > All Networks” (../wp-admin/network/admin.php?page=Networks) my two network are configured correctly (en. and

    But when I go to “Dashboard > My Networks” (../wp-admin/index.php?page=my-networks) the 2nd network points to the first blog of this network.
    Why do the settings of those views differ? Is this a configuration problem?

Viewing 1 replies (of 1 total)
  • Think I figured out the problem.

    File: includes/class-wp-ms-networks-list-table.php
    Line: 45

    $query = "SELECT {$wpdb->site}.*, meta1.meta_value as sitename, meta2.meta_value as network_admins, COUNT({$wpdb->blogs}.blog_id) as blogs, {$wpdb->site}.path as blog_path, {$wpdb->blogs}.site_id as site_id

    Change {$wpdb->blogs}.path to {$wpdb->site}.path.

    As for the why:

    From what I can tell, $wpdb->blogs contains references to all the child blogs, while $wpdb->site contains references to the network sites. The query is getting the site path from the blogs table, and since there are more than one blogs with a path per each network site, it just grabs the last blog’s path.

    I highly doubt that’s the way it’s supposed to work, so hopefully the developer fixes it.

Viewing 1 replies (of 1 total)
  • The topic ‘Wrong link under Dasboard > My Networks’ is closed to new replies.