Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter agaznox

    (@agaznox)

    Sorry about, [resolved] label. Yes it’s a clean instalation of WP, with MU, and two blogs created with administrator user and when you clic into dashboard of the subsites in each table wp_x_posts creates empty rows because you are accesing the site with the administrator user who has not the metadata created.

    At any, I think the correct lines to resolve the problem are these:

    // Don’t create an option if this is a super admin who does not belong to this site.
    if ( is_super_admin( $user_id ) && in_array( get_current_blog_id(), array_keys( get_blogs_of_user( $user_id ) ) ) )

    Because as comment says, you need to be super admin and the blog must belong to you, then the option will be created.

Viewing 1 replies (of 1 total)