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

Props burhandodhy.
Merges [43609] to the 5.0 branch.
Fixes #44877.
Built from https://develop.svn.wordpress.org/branches/5.0@43709


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-10-11 04:31:23 +00:00
parent 7bd842a4ef
commit f9ba011f33
2 changed files with 2 additions and 2 deletions

View File

@ -1541,7 +1541,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-43706'; $wp_version = '5.0-alpha-43709';
/** /**
* 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.