Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #4787, comment 7


Ignore:
Timestamp:
01/10/2020 05:47:03 PM (4 years ago)
Author:
raruto
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4787, comment 7

    initial v1  
    99function bp_fix_custom_xprofile_slug() {
    1010  $bp = buddypress();
     11
     12  if ( ! empty( $bp->default_component ) || ! empty( $bp->current_component ) ) {
     13    return;
     14  }
    1115
    1216  $default_component = 'custom-name';