Make WordPress Core


Ignore:
Timestamp:
12/20/2014 08:55:21 PM (10 years ago)
Author:
wonderboymusic
Message:

Improve some docs for @param. Remove an unneeded $wpdb global import.

See #30799.

File:
1 edited

Legend:

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

    r30681 r30979  
    551551     * @param string $field The field to query against: 'id', 'slug', 'email' or 'login'
    552552     * @param string|int $value The field value
    553      * @return object Raw user object
     553     * @return object|false Raw user object
    554554     */
    555555    public static function get_data_by( $field, $value ) {
Note: See TracChangeset for help on using the changeset viewer.