Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/07/2008 07:16:51 AM (18 years ago)
Author:
apeatling
Message:

Bug fixes:

  • Fixed group avatar upload issues
  • Fixed validation on group name/desc/news
  • Fixed support for https://
  • Base support for upcoming home theme and widgets
  • Re-factored JS and CSS inclusion with wp_enqueue_script/styles
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-signup.php

    r363 r373  
    339339                /* Make this blog the "home base" for the new user */
    340340                update_usermeta( $user_id, 'home_base', $blog_id );
     341                update_usermeta( $user_id, 'last_activity', time() );
    341342               
    342343                /* Set the BuddyPress theme as the theme for this blog */
     
    419420}
    420421
    421 
    422 function xprofile_add_jquery() {
    423         if ( $_SERVER['SCRIPT_NAME'] == '/wp-activate.php' ) {
    424                 echo '<script type="text/javascript" src="' . get_option('home') . '/wp-includes/js/prototype.js"></script>';
    425                 echo '<script type="text/javascript" src="' . get_option('home') . '/wp-includes/js/scriptaculous/scriptaculous.js"></script>';
    426                 echo '<script type="text/javascript" src="' . get_option('home') . '/wp-includes/js/scriptaculous/dragdrop.js"></script>';
    427                 echo '<script type="text/javascript" src="' . get_option('home') . '/wp-includes/js/crop/cropper.js"></script>';
    428                 echo '<script type="text/javascript" src="' . get_option('home') . '/wp-includes/js/jquery/jquery.js"></script>';
    429         }
    430        
    431         bp_core_add_cropper_js();
    432 }
    433 add_action( 'wp_head', 'xprofile_add_jquery' );
    434422
    435423// function xprofile_replace_blog_references() {
Note: See TracChangeset for help on using the changeset viewer.