Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6278, comment 19


Ignore:
Timestamp:
03/10/2015 12:04:57 PM (5 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6278, comment 19

    initial v1  
    88
    99I've reverted {{{bp_core_set_avatar_globals()}}} the way it was before, so removed the unit test.
    10 I've reverted most of the `bp_core_get_upload_dir()` code except that it's now using a new function that can be used by any component: bp_upload_dir();
     10I've reverted most of the `bp_core_get_upload_dir()` code except that it's now using a new function that can be used by any component: `bp_upload_dir()`;
    1111
    12 And @johnjamesjacoby, we need the switch_blog() dance because when on a multisite, bp_core_fetch_avatar() is using `bp_core_get_upload_dir()`
     12And @johnjamesjacoby, we need the switch_blog() dance because when on a multisite, `bp_core_fetch_avatar()` is using `bp_core_get_upload_dir()`