[wp-trac] [WordPress Trac] #64006: Usermeta not stored for super-admin

WordPress Trac noreply at wordpress.org
Fri Sep 19 09:41:32 UTC 2025


#64006: Usermeta not stored for super-admin
--------------------------------+-----------------------------
 Reporter:  sebastienserre      |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 On a multisite context, a super-admin has access to all websites of the
 multisite but the user is not added as a user of the website.

 As a result, in a block editor context, if we update a user_meta for a
 super admin, the route http://localhost:8888/sub-site/wp-
 json/wp/v2/users/me is returning a 404 error.

 In Polylang Pro, we're updating a usermeta according to settings on a post
 edit page. This setting is not stored in the super-admin usermeta.

 The workaround we have found is to manually add the super-admin as an
 existing user on the subsite to make the route available.

 We think, a super-admin should be automatically added as Administrator on
 each website of the network.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64006>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list