Make WordPress Core


Ignore:
Timestamp:
10/07/2011 02:34:41 AM (13 years ago)
Author:
ryan
Message:

Don't stomp meta fields in wp_update_user(). Props scribu. see #15458

File:
1 edited

Legend:

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

    r18633 r18909  
    475475     * @param string $field The field to query against: 'id', 'slug', 'email' or 'login'
    476476     * @param string|int $value The field value
     477     * @return object Raw user object
    477478     */
    478479    static function get_data_by( $field, $value ) {
     
    619620     * used.
    620621     *
     622     * @access protected
    621623     * @since 2.1.0
    622624     *
    623625     * @param string $cap_key Optional capability key
    624      * @access protected
    625626     */
    626627    function _init_caps( $cap_key = '' ) {
Note: See TracChangeset for help on using the changeset viewer.