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
This commit is contained in:
Sergey Biryukov 2024-10-04 11:04:17 +00:00
parent 4f3db72338
commit 331ebada37
2 changed files with 4 additions and 4 deletions

View File

@ -5394,7 +5394,7 @@ function wp_html_excerpt( $str, $count, $more = null ) {
* *
* @param string $content String to search for links in. * @param string $content String to search for links in.
* @param string $base The base URL to prefix to links. * @param string $base The base URL to prefix to links.
* @param array $attrs The attributes which should be processed. * @param string[] $attrs The attributes which should be processed.
* @return string The processed content. * @return string The processed content.
*/ */
function links_add_base_url( $content, $base, $attrs = array( 'src', 'href' ) ) { function links_add_base_url( $content, $base, $attrs = array( 'src', 'href' ) ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.