Changeset 19 for trunk/bp_xprofile/bp_xprofile.signup.php
- Timestamp:
- 04/08/2008 11:32:12 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp_xprofile/bp_xprofile.signup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp_xprofile/bp_xprofile.signup.php
r18 r19 269 269 { 270 270 copy(ABSPATH . 'wp-content/mu-plugins/bp_xprofile/images/none.gif', ABSPATH . $profile_picture_path . "/none.gif"); 271 copy(ABSPATH . 'wp-content/mu-plugins/bp_xprofile/images/none-thumbnail.gif', ABSPATH . $profile_picture_path . "/none-thumbnail.gif"); 272 271 273 272 $pic = new BP_XProfile_Picture("none.gif"); 273 $pic->create_thumb(); 274 $pic = new BP_XProfile_Picture("none.gif"); 275 update_blog_option($blog_id, "profile_picture", "none.gif"); 276 update_blog_option($blog_id, "profile_picture_thumbnail", "none-thumbnail.gif"); 274 277 275 $thumb = explode("/", $pic->thumb_filename);276 $thumb = $thumb[count($thumb)-1];277 278 update_blog_option($blog_id, "profile_picture", "none.gif");279 update_blog_option($blog_id, "profile_picture_thumbnail", $thumb);280 281 278 } 282 279
Note: See TracChangeset
for help on using the changeset viewer.