mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-30 05:50:26 +00:00
60f36126845b5341444ccb54ab8f6adf65e9f207
is_super_admin() when trying to set user settings.
The checks were introduced in [22256] to prevent user settings to be set for super admins that were not a member of the current site. However the latter should apply to any kind of user, so the `is_super_admin()` check is redundant. Furthermore, removing these checks is necessary for the ongoing effort to get rid of `is_super_admin()` checks in general. Props chandrapatel for initial patch. Fixes #39199. See #37616. git-svn-id: https://develop.svn.wordpress.org/trunk@39932 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%