From cef2139a4db939c6f26dac789dd66d9fa40d217c Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Fri, 19 Aug 2022 19:46:22 +0000 Subject: [PATCH] Docs: Remove incorrect default value for `$path` argument of `admin_url()`. Props joyously, costdev. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53910 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 038387161b..1732742654 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -3427,7 +3427,7 @@ function get_site_url( $blog_id = null, $path = '', $scheme = null ) { * * @since 2.6.0 * - * @param string $path Optional. Path relative to the admin URL. Default 'admin'. + * @param string $path Optional. Path relative to the admin URL. Default empty. * @param string $scheme The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). * 'http' or 'https' can be passed to force those schemes. * @return string Admin URL link with optional path appended.