WordPress.org

Make WordPress Core

Changeset 47739


Ignore:
Timestamp:
05/02/2020 04:27:34 PM (9 months ago)
Author:
ocean90
Message:

Users: Don't reset user language preference on user update.

Props johnbillion.
Fixes #38665.

File:
1 edited

Legend:

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

    r47516 r47739  
    131131        $user->admin_color          = isset( $_POST['admin_color'] ) ? sanitize_text_field( $_POST['admin_color'] ) : 'fresh';
    132132        $user->show_admin_bar_front = isset( $_POST['admin_bar_front'] ) ? 'true' : 'false';
    133         $user->locale               = '';
    134133    }
    135134
Note: See TracChangeset for help on using the changeset viewer.