This change brings the multisite specific `promote` user action up-to-speed with the single-site one, by adding: * capability checks where appropriate * a `none` check on `$role` to set it to an empty string It also updates the inline documentation of the single-site `promote` user action in `users.php`, to match the suggested additions to the multisite file. Props ignatiusjeroe, jeremyfelt, johnjamesjacoby, pratiklondhe, shanemuir, sudipatel007, techpartho. Fixes #61100. Built from https://develop.svn.wordpress.org/trunk@60976 git-svn-id: http://core.svn.wordpress.org/trunk@60312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
23 KiB
23 KiB