Don't show new feature pointers for new installs and users. fixes #19382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19574 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
248eba8b48
commit
df57708f1a
@ -1814,8 +1814,7 @@ final class WP_Internal_Pointers {
|
||||
}
|
||||
|
||||
add_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts' ) );
|
||||
// Allow scratch beta/RC installs to experience pointers. Uncomment this before release.
|
||||
// add_action( 'user_register', array( 'WP_Internal_Pointers', 'dismiss_pointers_for_new_users' ) );
|
||||
add_action( 'user_register', array( 'WP_Internal_Pointers', 'dismiss_pointers_for_new_users' ) );
|
||||
|
||||
/**
|
||||
* Convert a screen string to a screen object
|
||||
|
Loading…
Reference in New Issue
Block a user