mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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:
parent
a69b052f3f
commit
74ee7ba44a
@ -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 ) ) {
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user