Make WordPress Core

Ticket #19360: 19360.diff

File 19360.diff, 634 bytes (added by nacin, 13 years ago)
  • wp-includes/user.php

     
    14931493        return apply_filters( 'user_contactmethods', $user_contactmethods, $user );
    14941494}
    14951495
     1496/**
     1497 * Prevents new users from seeing existing 'new feature' pointers.
     1498 *
     1499 * @since 3.3.0
     1500 */
     1501function _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}
     1504add_action( 'user_register', '_dismissed_wp_pointers_for_new_user' );
    14961505?>