From 39af9db8a5edadd876e0fab85dbecb4b559a7eff Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 26 Feb 2016 08:55:50 +0000 Subject: [PATCH] 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 --- src/wp-includes/ms-deprecated.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/ms-deprecated.php b/src/wp-includes/ms-deprecated.php index 23add67cee..33b544ff7d 100644 --- a/src/wp-includes/ms-deprecated.php +++ b/src/wp-includes/ms-deprecated.php @@ -57,6 +57,8 @@ function generate_random_password( $len = 8 ) { * @since MU * @deprecated 3.0.0 Use 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 = '' ) { _deprecated_function( __FUNCTION__, '3.0', 'is_super_admin()' );