Docs: Correct parameter type for `WP_Privacy_Policy_Content::notice()`.

Props burhandodhy.
Fixes #44877.
Built from https://develop.svn.wordpress.org/trunk@43609


git-svn-id: http://core.svn.wordpress.org/trunk@43438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-09-03 14:15:25 +00:00
parent 51a9a80da2
commit c714ad082d
2 changed files with 2 additions and 2 deletions

View File

@ -1592,7 +1592,7 @@ final class WP_Privacy_Policy_Content {
* *
* @since 4.9.6 * @since 4.9.6
* *
* @param $post WP_Post The currently edited post. * @param WP_Post $post The currently edited post.
*/ */
public static function notice( $post ) { public static function notice( $post ) {
if ( ! ( $post instanceof WP_Post ) ) { if ( ! ( $post instanceof WP_Post ) ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-43608'; $wp_version = '5.0-alpha-43609';
/** /**
* 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.