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-admin/admin.php

    r4110 r4144  
    2020wp_get_current_user();
    2121
    22 $posts_per_page = get_settings('posts_per_page');
    23 $what_to_show = get_settings('what_to_show');
    24 $date_format = get_settings('date_format');
    25 $time_format = get_settings('time_format');
     22$posts_per_page = get_option('posts_per_page');
     23$what_to_show = get_option('what_to_show');
     24$date_format = get_option('date_format');
     25$time_format = get_option('time_format');
    2626
    2727wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'popuptitle', 'popupurl', 'text', 'trackback', 'pingback'));
Note: See TracChangeset for help on using the changeset viewer.