Docs: Correct parameter type for WP_Privacy_Policy_Content::notice()
.
Props burhandodhy. Fixes #44877. git-svn-id: https://develop.svn.wordpress.org/trunk@43609 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0eda564507
commit
39c97a768a
@ -1592,7 +1592,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 ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user