From abe564fa13db7f478d9a24a1a31181891ad35239 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 4 Oct 2024 11:02:27 +0000 Subject: [PATCH] Docs: Use typed array notation for the `$attrs` parameter in `links_add_base_url()`. Follow-up to [8540], [32590], [46596]. See #61608. git-svn-id: https://develop.svn.wordpress.org/trunk@59165 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index a9972807791fa..75efc33fd6020 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -5392,9 +5392,9 @@ function wp_html_excerpt( $str, $count, $more = null ) { * * @global string $_links_add_base * - * @param string $content String to search for links in. - * @param string $base The base URL to prefix to links. - * @param array $attrs The attributes which should be processed. + * @param string $content String to search for links in. + * @param string $base The base URL to prefix to links. + * @param string[] $attrs The attributes which should be processed. * @return string The processed content. */ function links_add_base_url( $content, $base, $attrs = array( 'src', 'href' ) ) {