Skip to:
Content

BuddyPress.org

Changeset 1762


Ignore:
Timestamp:
09/02/2009 07:57:46 PM (15 years ago)
Author:
apeatling
Message:

Fixes #811

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1759 r1762  
    966966
    967967/**
    968  * bp_core_get_user_email()
    969  *
    970  * Returns the email address for the user based on user ID
    971  *
    972  * @package BuddyPress Core
    973  * @param $uid int User ID to check.
    974  * @uses get_userdata() WordPress function to fetch the userdata for a user ID
    975  * @return false on no match
    976  * @return str The email for the matched user.
     968 * bp_core_format_time()
    977969 */
    978970function bp_core_format_time( $time, $just_date = false ) {
     971    if ( !$time )
     972        return false;
     973       
    979974    $date = date_i18n( "F j, Y ", $time );
    980975   
Note: See TracChangeset for help on using the changeset viewer.