From 331ebada37d0a07fe399192e5be79063d4bbcc20 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 4 Oct 2024 11:04:17 +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. Built from https://develop.svn.wordpress.org/trunk@59165 git-svn-id: http://core.svn.wordpress.org/trunk@58560 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index a997280779..75efc33fd6 100644 --- a/wp-includes/formatting.php +++ b/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' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index fe9906b507..669c5ce45e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta1-59164'; +$wp_version = '6.7-beta1-59165'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.