Make WordPress Core


Ignore:
Timestamp:
02/22/2010 09:25:32 PM (15 years ago)
Author:
nacin
Message:

Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/textpattern.php

    r12270 r13311  
    266266                if('0'  == $transperms[$privs]) { $user->set_role('subscriber'); }
    267267
    268                 update_usermeta( $ret_id, 'wp_user_level', $transperms[$privs] );
    269                 update_usermeta( $ret_id, 'rich_editing', 'false');
     268                update_user_meta( $ret_id, 'wp_user_level', $transperms[$privs] );
     269                update_user_meta( $ret_id, 'rich_editing', 'false');
    270270            }// End foreach($users as $user)
    271271
Note: See TracChangeset for help on using the changeset viewer.