Make WordPress Core


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (18 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/registration.php

    r3865 r4144  
    110110    if ( !$update ) {
    111111        $user = new WP_User($user_id);
    112         $user->set_role(get_settings('default_role'));
     112        $user->set_role(get_option('default_role'));
    113113    }
    114114
Note: See TracChangeset for help on using the changeset viewer.