Docs: Add a missing @param
entry for the $user_login
parameter in the DocBlock for the deprecated is_site_admin()
function.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36724 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
02c41c25e9
commit
39af9db8a5
@ -57,6 +57,8 @@ function generate_random_password( $len = 8 ) {
|
|||||||
* @since MU
|
* @since MU
|
||||||
* @deprecated 3.0.0 Use is_super_admin()
|
* @deprecated 3.0.0 Use is_super_admin()
|
||||||
* @see is_super_admin()
|
* @see is_super_admin()
|
||||||
|
*
|
||||||
|
* @param string $user_login Optional. Username for the user to check. Default empty.
|
||||||
*/
|
*/
|
||||||
function is_site_admin( $user_login = '' ) {
|
function is_site_admin( $user_login = '' ) {
|
||||||
_deprecated_function( __FUNCTION__, '3.0', 'is_super_admin()' );
|
_deprecated_function( __FUNCTION__, '3.0', 'is_super_admin()' );
|
||||||
|
Loading…
Reference in New Issue
Block a user