Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2011 12:03:25 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Move more user functions out of core component and into user component. Fixes to loaders. More code clean-up.

File:
1 edited

Legend:

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

    r3761 r3778  
    129129add_action( 'update_option_blogdescription', 'bp_blogs_update_option_blogdescription', 10, 2 );
    130130
    131 function bp_blogs_record_post( $post_id, $post, $user_id = false ) {
     131function bp_blogs_record_post( $post_id, $post, $user_id = 0 ) {
    132132    global $bp, $wpdb;
    133133
     
    328328add_action( 'remove_user_from_blog', 'bp_blogs_remove_blog_for_user', 10, 2 );
    329329
    330 function bp_blogs_remove_post( $post_id, $blog_id = false, $user_id = false ) {
     330function bp_blogs_remove_post( $post_id, $blog_id = false, $user_id = 0 ) {
    331331    global $current_blog, $bp;
    332332
     
    368368}
    369369
    370 function bp_blogs_total_blogs_for_user( $user_id = false ) {
     370function bp_blogs_total_blogs_for_user( $user_id = 0 ) {
    371371    global $bp;
    372372
Note: See TracChangeset for help on using the changeset viewer.