WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] sanity check for a minor fix I'm about to do to wpmu (roles in wpmu-blogs.php) (3 posts)

  1. jeffoire
    Member
    Posted 7 years ago #

    Hi, I'm posting here because I didn't like the notion of "high traffic" on the development/planning list, and it didn't quite seem like the right venue anyway. Maybe I'll dive in to that later, but for now I just have a question for a developer-type-person who is familiar with wpmu. If there are none of those here, would someone direct me to the right place?

    I was thinking of adding a few lines to the editblog action of wpmu-blogs.php to correct the following problem a site admin has when trying to edit a blog: the select tag for role in the "Add a new user" area of the page is populated by the roles for the blog the site admin is logged in under, as opposed to the roles for the blog actually being edited.

    It seems that I can get away with just fetching the roles from the options table and storing them into the global wp_roles variable, since it appears the only thing that will happen is rendering the Edit Blog page, but I'm paranoid and would like some assurance or an outline of the preferred solution.

    Thanks!

  2. whooami
    Member
    Posted 7 years ago #

    wrong forum - mu has their own support forum @ mu.wordpress.org

  3. jeffoire
    Member
    Posted 6 years ago #

    Just in case anyone is curious, this issue was resolved here

Topic Closed

This topic has been closed to new replies.

About this Topic