From 59bb9742e62b3bcc7f320a215b2b1f3a91b27a84 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 8 Jan 2019 17:02:55 +0000 Subject: [PATCH] Docs: Fix order of parameter type and variable name. The order of the type and variable name in the `param` tags for the `wp_get_default_privacy_policy_content` filter is incorrectly reversed. This moves the two into the correct order. Props ishitaka, mukesh27. Fixes #45416. git-svn-id: https://develop.svn.wordpress.org/trunk@44475 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/misc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 2fc46f9de5..541565e156 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1989,10 +1989,10 @@ final class WP_Privacy_Policy_Content { * @since 4.9.6 * @since 5.0.0 Added the `$strings`, `$description`, and `$blocks` parameters. * - * @param $content string The default policy content. - * @param $strings array An array of privacy policy content strings. - * @param $description bool Whether policy descriptions should be included. - * @param $blocks bool Whether the content should be formatted for the block editor. + * @param string $content The default policy content. + * @param array $strings An array of privacy policy content strings. + * @param bool $description Whether policy descriptions should be included. + * @param bool $blocks Whether the content should be formatted for the block editor. */ return apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks ); }