mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Privacy: Don't show privacy feature pointer to new users.
Fixes #44062. Built from https://develop.svn.wordpress.org/trunk@43259 git-svn-id: http://core.svn.wordpress.org/trunk@43088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
810cbb537b
commit
d3b3cc3fa5
@ -196,6 +196,6 @@ final class WP_Internal_Pointers {
|
|||||||
* @param int $user_id User ID.
|
* @param int $user_id User ID.
|
||||||
*/
|
*/
|
||||||
public static function dismiss_pointers_for_new_users( $user_id ) {
|
public static function dismiss_pointers_for_new_users( $user_id ) {
|
||||||
add_user_meta( $user_id, 'dismissed_wp_pointers', '' );
|
add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp496_privacy' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-43258';
|
$wp_version = '5.0-alpha-43259';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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