Ticket #19360: 19360.diff
File 19360.diff, 634 bytes (added by , 13 years ago) |
---|
-
wp-includes/user.php
1493 1493 return apply_filters( 'user_contactmethods', $user_contactmethods, $user ); 1494 1494 } 1495 1495 1496 /** 1497 * Prevents new users from seeing existing 'new feature' pointers. 1498 * 1499 * @since 3.3.0 1500 */ 1501 function _dismissed_wp_pointers_for_new_user( $user_id ) { 1502 add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp330_toolbar,wp330_media_uploader,wp330_saving_widgets' ); 1503 } 1504 add_action( 'user_register', '_dismissed_wp_pointers_for_new_user' ); 1496 1505 ?>