From 1f6da3743803e61ac8b8ad52d4a022b980354844 Mon Sep 17 00:00:00 2001 From: desrosj Date: Tue, 8 Jan 2019 17:03:48 +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. Built from https://develop.svn.wordpress.org/trunk@44475 git-svn-id: http://core.svn.wordpress.org/trunk@44306 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/misc.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 2fc46f9de5..541565e156 100644 --- a/wp-admin/includes/misc.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5ad7a83f29..b8cba828db 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44474'; +$wp_version = '5.1-alpha-44475'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.