Changeset 373 for trunk/bp-xprofile/bp-xprofile-signup.php
- Timestamp:
- 10/07/2008 07:16:51 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-signup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-signup.php
r363 r373 339 339 /* Make this blog the "home base" for the new user */ 340 340 update_usermeta( $user_id, 'home_base', $blog_id ); 341 update_usermeta( $user_id, 'last_activity', time() ); 341 342 342 343 /* Set the BuddyPress theme as the theme for this blog */ … … 419 420 } 420 421 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' );434 422 435 423 // function xprofile_replace_blog_references() {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)