Make WordPress Core

Ticket #7536: 7536-fix-phpdoc.diff

File 7536-fix-phpdoc.diff, 725 bytes (added by Speedboxer, 10 years ago)

Change phpdoc to say that the default is blank

  • wp-includes/pluggable.php

    14541454 * @param int|string|object $id_or_email A user ID,  email address, or comment object
    14551455 * @param int $size Size of the avatar image
    14561456 * @param string $default URL to a default image to use if no avatar is available
    1457  * @param string $alt Alternate text to use in image tag, the default is Avatar
     1457 * @param string $alt Alternate text to use in image tag. Defaults to blank
    14581458 * @return string <img> tag for the user's avatar
    14601460function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {