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:
parent
7bd842a4ef
commit
f9ba011f33
|
@ -1541,7 +1541,7 @@ final class WP_Privacy_Policy_Content {
|
|||
*
|
||||
* @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 ) {
|
||||
if ( ! ( $post instanceof WP_Post ) ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue