Don't show new feature pointers for new installs and users. fixes #19382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
60dc347247
commit
247dc83ecb
|
@ -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