Skip to content

Commit 6a09c56

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
1 parent 00ab865 commit 6a09c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/misc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ public static function get_suggested_policy_text() {
15411541
*
15421542
* @since 4.9.6
15431543
*
1544-
* @param $post WP_Post The currently edited post.
1544+
* @param WP_Post $post The currently edited post.
15451545
*/
15461546
public static function notice( $post ) {
15471547
if ( ! ( $post instanceof WP_Post ) ) {

0 commit comments

Comments
 (0)