Revision 260 is a pre-publication revision. (Viewing current revision instead.)

All about Network Admin access and site_admins

I lost access to teh network admin in a WordPress multisite install. This is the gas which got me back in control of it all! Apparent I caused problems with the Network admin permissions and access when I changed the admin username. When I reverted back to the admin username all access returned to normal. Here are all the associated fields the the site_admins and network admin access:
  1. wp_sitemeta -> admin_email = email address for the user account that you want to make the Super Admin (check wp_users table)
  2. wp_sitemeta -> admin_user_id = user ID for the user account that you want to make the Super Admin (check wp_users table)
  3. wp_sitemeta -> site_admins = a:1:{i:0;s:5:"admin";} (note that the number 5 corresponds to the number of characters in the username in quotes.)

Revisions

  • September 21, 2012 @ 14:51:20 [Current Revision] by PeterLugg
  • September 21, 2012 @ 14:47:14 by PeterLugg

Revision Differences

September 21, 2012 @ 14:47:14Current Revision
Content
 Added: I lost access to teh network admin in a WordPress multisite install. This is the gas which got me back in control of it all!
 Added: Apparent I caused problems with the Network admin permissions and access when I changed the admin username. When I reverted back to the admin username all access returned to normal.
 Added: Here are all the associated fields the the site_admins and network admin access:
Deleted: Added: <ol>
 Added: <li>wp_sitemeta -&gt; admin_email = email address for the user account that you want to make the Super Admin (check wp_users table)</li>
 Added: <li>wp_sitemeta -&gt; admin_user_id = user ID for the user account that you want to make the Super Admin (check wp_users table)</li>
 Added: <li>wp_sitemeta -&gt; site_admins = a:1:{i:0;s:5:"admin";} (note that the number 5 corresponds to the number of characters in the username in quotes.)</li>
 Added: </ol>

Note: Spaces may be added to comparison text to allow better line wrapping.

Tags: , ,

No comments yet.

Leave a Reply