* @since MU
* @deprecated 3.0.0 Use wp_generate_password()
* @see wp_generate_password()
+ *
+ * @param int $len Optional. The length of password to generate. Default 8.
*/
function generate_random_password( $len = 8 ) {
_deprecated_function( __FUNCTION__, '3.0', 'wp_generate_password()' );
* @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()' );
* @since MU
* @deprecated 3.0.0 Use get_user_by()
* @see get_user_by()
+ *
+ * @param string $username Username.
*/
function get_user_details( $username ) {
_deprecated_function( __FUNCTION__, '3.0', 'get_user_by()' );
* @since MU
* @deprecated 3.0.0 Use clean_post_cache()
* @see clean_post_cache()
+ *
+ * @param int $post_id Post ID.
*/
function clear_global_post_cache( $post_id ) {
_deprecated_function( __FUNCTION__, '3.0', 'clean_post_cache()' );
* @since MU
* @deprecated 3.0.0 Use is_email()
* @see is_email()
+ *
+ * @param string $email Email address to verify.
+ * @param bool $check_domain Deprecated.
+ * @return string|bool Either false or the valid email address.
*/
function validate_email( $email, $check_domain = true) {
_deprecated_function( __FUNCTION__, '3.0', 'is_email()' );
* @since MU
* @deprecated 3.0.0 Use wp_get_sites()
* @see wp_get_sites()
+ *
+ * @param int $start Optional. Offset for retrieving the blog list. Default 0.
+ * @param int $num Optional. Number of blogs to list. Default 10.
+ * @param string $deprecated Unused.
*/
function get_blog_list( $start = 0, $num = 10, $deprecated = '' ) {
_deprecated_function( __FUNCTION__, '3.0', 'wp_get_sites()' );
* @since MU
* @deprecated 3.0.0
*
+ * @param int $num Optional. Number of activate blogs to retrieve. Default 10.
+ * @param bool $display Optional. Whether or not to display the most active blogs list. Default true.
* @return array List of "most active" sites.
*/
function get_most_active_blogs( $num = 10, $display = true ) {
* @deprecated 3.3.0 Use wp_redirect()
* @see wp_redirect()
*
- * @param string $url
+ * @param string $url Optional. Redirect URL. Default empty.
*/
function wpmu_admin_do_redirect( $url = '' ) {
_deprecated_function( __FUNCTION__, '3.3' );
* @deprecated 3.3.0 Use add_query_arg()
* @see add_query_arg()
*
- * @param string $url
+ * @param string $url Optional. Redirect URL. Default empty.
* @return string
*/
function wpmu_admin_redirect_add_updated_param( $url = '' ) {