Skip to content
Permalink
Browse files

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

Props burhandodhy.
Merges [43609] to the 4.9 branch.
Fixes #44877.

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43615 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 3, 2018
1 parent 00ab865 commit 6a09c56c6ee281cbb8360980580327b190aad620
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-admin/includes/misc.php
@@ -1541,7 +1541,7 @@ public static function get_suggested_policy_text() {
*
* @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 ) ) {

0 comments on commit 6a09c56

Please sign in to comment.
You can’t perform that action at this time.