Docs: Correct and improve various documented types for properties, functions, and hooks.

See #57840


git-svn-id: https://develop.svn.wordpress.org/trunk@55693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2023-04-27 22:27:51 +00:00
parent 350a1a871f
commit 65d27e4485
8 changed files with 69 additions and 62 deletions
+2 -2
View File
@@ -4722,7 +4722,7 @@ function get_the_privacy_policy_link( $before = '', $after = '' ) {
/**
* Returns an array of URL hosts which are considered to be internal hosts.
*
* By default the list of internal hosts is comproside of the PHP_URL_HOST of
* By default the list of internal hosts is comprised of the host name of
* the site's home_url() (as parsed by wp_parse_url()).
*
* This list is used when determining if a specificed URL is a link to a page on
@@ -4745,7 +4745,7 @@ function wp_internal_hosts() {
*
* @since 6.2.0
*
* @param array $internal_hosts An array of internal URL hostnames.
* @param string[] $internal_hosts An array of internal URL hostnames.
*/
$internal_hosts = apply_filters(
'wp_internal_hosts',