Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/25/2011 08:58:56 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Rename new 'bp-users' component to 'bp-members' for consistency through-out project.
Core, Messages, and Friends Components now use the BP_Component class.
Split Friends and Messages components into smaller files.
Change references to 'profile' to 'xprofile' through-out project for consistency.
Introduce 'bp_actions' and 'bp_screens' standard hooks to replace the usage of 'wp' through-out project.
Move component loader sequence into bp-core-bootstrap.php,
Move old root_component action into 1.3 deprecated file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-functions.php

    r3802 r3917  
    249249    @setcookie( 'bp-message-type', false, time() - 1000, COOKIEPATH );
    250250}
    251 add_action( 'wp', 'bp_core_setup_message', 2 );
     251add_action( 'bp_actions', 'bp_core_setup_message' );
    252252
    253253/**
     
    317317    );
    318318
    319     if ( !is_numeric( $older_date ) ) {
     319    if ( !empty( $older_date ) && !is_numeric( $older_date ) ) {
    320320        $time_chunks = explode( ':', str_replace( ' ', ':', $older_date ) );
    321321        $date_chunks = explode( '-', str_replace( ' ', '-', $older_date ) );
Note: See TracChangeset for help on using the changeset viewer.