[buddypress-trac] [BuddyPress] #4323: php errors in php5.4
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jul 3 06:52:49 UTC 2012
#4323: php errors in php5.4
------------------------------+------------------------------
Reporter: unsalkorkmaz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 1.6-beta
Severity: major | Resolution:
Keywords: |
------------------------------+------------------------------
Comment (by unsalkorkmaz):
I must be sleeping.. I totally forgot bp-custom.php is my own function
file and blaming buddypress.. Well i checked what i have in there:
{{{
add_filter( 'bp_core_get_last_activity', function($last_active,
$last_activity_date, $string){
}}}
and that filter is in bp-core-functions.php:
{{{
function bp_core_get_last_activity( $last_activity_date, $string ) {
if ( empty( $last_activity_date ) )
$last_active = __( 'Not recently active', 'buddypress' );
else
$last_active = sprintf( $string, bp_core_time_since(
$last_activity_date ) );
return apply_filters( 'bp_core_get_last_activity', $last_active,
$last_activity_date, $string );
}
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4323#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list