WordPress.org

Make WordPress Core

Ticket #24255: 24255.patch

File 24255.patch, 455 bytes (added by johnpbloch, 5 years ago)

Update doc block to clarify functionality of WP_User::set()

  • wp-includes/capabilities.php

     
    631631        /**
    632632         * Magic method for setting custom fields
    633633         *
     634         * This method does not update custom fields in the database. It only sets
     635         * the value for a WP_User object.
     636         *
    634637         * @since 3.3.0
    635638         */
    636639        function __set( $key, $value ) {