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
This commit is contained in:
parent
f1ea8f222f
commit
1f6da37438
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue