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

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


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-09-03 21:04:26 +00:00
parent a69b052f3f
commit 74ee7ba44a
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 = '4.9.9-alpha-43614'; $wp_version = '4.9.9-alpha-43615';
/** /**
* 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.