Make WordPress Core


Ignore:
Timestamp:
12/17/2010 09:48:30 PM (14 years ago)
Author:
ryan
Message:

Admin bar visibility prefs. Props duck_. see #15829

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r16660 r17032  
    119119        $user->rich_editing = isset( $_POST['rich_editing'] ) && 'false' == $_POST['rich_editing'] ? 'false' : 'true';
    120120        $user->admin_color = isset( $_POST['admin_color'] ) ? sanitize_text_field( $_POST['admin_color'] ) : 'fresh';
     121        $user->show_admin_bar_front = isset( $_POST['admin_bar_front'] ) ? 'true' : 'false';
     122        $user->show_admin_bar_admin = isset( $_POST['admin_bar_admin'] ) ? 'true' : 'false';
    121123    }
    122124
Note: See TracChangeset for help on using the changeset viewer.